| Summary: | =www-client/firefox-38.6.1 random crashes | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Eduardo Coutinho Scalabrin <cafaia> |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | franz.trischberger, netbox253 |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=558150 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info firefox | ||
|
Description
Eduardo Coutinho Scalabrin
2016-02-29 13:20:46 UTC
I'm getting the same segfault with firefox-38.6.1 when viewing html5 videos. I think this start to happen since about one week, after all gnome and gstreamer related packages were updated in bug #566378. OK so per the original bug filer, if the system is locking up completely then the issue likely relates more to the nvidia driver than not. If you haven't already, please check to make sure hardware acceleration is turned off in about:config : layers.acceleration.force-enabled should be false webgl.force-enabled should be false Also in about:preferences#advanced , please un-check "Use Hardware Acceleration when possible" ..see if that prevents the crashes/lockups. The segfault in the second comment on this bug would seem more like the referring bug. More info is required, could you please post your emerge --info and the USE flags you have set on www-client/firefox? Created attachment 427014 [details] emerge --info firefox (In reply to Ian Stakenvicius from comment #2) > The segfault in the second comment on this bug would seem more like the > referring bug. More info is required, could you please post your emerge > --info and the USE flags you have set on www-client/firefox? See attached file. Stable system, nothing special. To reproduce the segfault : - launch firefox - open two tabs - on the first tab, go to http://www.dailymotion.com - click on a random video, play it a few seconds, then close that tab - firefox will crash a few seconds later like this : > $ firefox --safe-mode > > (process:14135): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed > console.error: > [CustomizableUI] > Custom widget with id loop-button does not return a valid node > console.error: > [CustomizableUI] > Custom widget with id loop-button does not return a valid node > libva info: VA-API version 0.38.1 > libva info: va_getDriverName() returns 0 > libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so > libva info: Found init function __vaDriverInit_0_35 > libva info: va_openDriver() returns 0 > Segmentation fault (In reply to Ian Stakenvicius from comment #2) > OK so per the original bug filer, if the system is locking up completely > then the issue likely relates more to the nvidia driver than not. If you > haven't already, please check to make sure hardware acceleration is turned > off in about:config : > > layers.acceleration.force-enabled should be false > > webgl.force-enabled should be false > > Also in about:preferences#advanced , please un-check "Use Hardware > Acceleration when possible" > > ..see if that prevents the crashes/lockups. > > > The segfault in the second comment on this bug would seem more like the > referring bug. More info is required, could you please post your emerge > --info and the USE flags you have set on www-client/firefox? I made the changes, but the browser is still crash, but not yet lockup. www-client/firefox-38.6.1::gentoo was built with the following: USE="dbus gmp-autoupdate gstreamer jemalloc3 jit minimal startup-notification -bindist -custom-cflags -custom-optimization -debug -egl -gstreamer-0 -hardened (-neon) (-pgo) -pulseaudio (-selinux) -system-cairo -system-icu -system-jpeg -system-libvpx -system-sqlite -test -wifi" ABI_X86="64" LINGUAS="pt_BR -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW" CFLAGS="-march=core-avx2 -pipe" CXXFLAGS="-march=core-avx2 -pipe" For me one way to avoid this crash is to disable gstreamer support by setting media.gstreamer.enabled = false into about:config. In this way html5 videos are disabled by default. Another way is to rebuild media-plugins/gst-plugins-meta-1.6.3 without vaapi useflag and depclean media-plugins/gst-plugins-vaapi. This seems to have the same effect. (In reply to Fab from comment #5) > For me one way to avoid this crash is to disable gstreamer support by > setting media.gstreamer.enabled = false into about:config. > In this way html5 videos are disabled by default. > > Another way is to rebuild media-plugins/gst-plugins-meta-1.6.3 without vaapi > useflag and depclean media-plugins/gst-plugins-vaapi. This seems to have the > same effect. That would confirm that the issue is in fact media-plugins/gst-plugins-vaapi , possibly in combination with your nvidia (vdpau-only) video driver. Please reassign the bug if you can confirm that gstreamer causes failures outside of firefox too when rendering video via gst-plugins-vaapi. It seems that's not a new bug. See [1] [2] [3]. It seems also that official builds of firefox were never compiled against gstreamer:1.0. See [4]. With gstreamer:0.10; there's no vaapi support, so no crash. Finally, it seems that gstreamer support will purely be removed in future versions of firefox. See [5]. So as a temporary workaround I think I will remove vaapi useflag from gstreamer until newer version of firefox hit the tree and is stabilized. [1] https://bugzilla.gnome.org/show_bug.cgi?id=732368 [2] https://bugs.launchpad.net/ubuntu/+source/gstreamer-vaapi/+bug/1395070 [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1024125 [4] https://bugzilla.mozilla.org/show_bug.cgi?id=947287 [5] https://bugzilla.mozilla.org/show_bug.cgi?id=1234092 I also got those lockups (with firefox-44.0.2), I also fixed it by removing gstreamer-libav. But I have an intel-GPU, so it's not an issue with nvidia-drivers but with gstreamers vaapi-support. I have fixed this issue by forcing www-client/firefox-38.7.0 to use media-libs/gstreamer:0.10 thanks to USE flag "gstreamer-0". If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system. Thank You for your support and understanding The Mozilla Team |