occasionally when visting web pages with embedded video firefox crashes. I suspect it's realted to gstreamer/vaapi plugin, because when launched from terminal it displays these errors: libva info: VA-API version 0.35.1 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so libva info: Found init function __vaDriverInit_0_35 libva info: va_openDriver() returns 0 ** (firefox:9233): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed ** (firefox:9233): CRITICAL **: gst_video_meta_unmap_vaapi_memory: assertion 'mem->surface' failed ** (firefox:9233): CRITICAL **: gst_vaapi_image_get_plane: assertion 'image != NULL' failed ** (firefox:9233): CRITICAL **: gst_vaapi_image_get_pitch: assertion 'image != NULL' failed ** (firefox:9233): CRITICAL **: gst_vaapi_image_get_plane: assertion 'image != NULL' failed ** (firefox:9233): CRITICAL **: gst_vaapi_image_get_pitch: assertion 'image != NULL' failed [11533] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522 [11533] ###!!! ABORT: Aborting on channel error.: file /var/tmp/portage/www-client/firefox-30.0/work/mozilla-release/ipc/glue/MessageChannel.cpp, line 1522 Segmentation fault Reproducible: Always Steps to Reproduce: 1. start firefox 2. got to a web page with video 3. enjoy crash
Created attachment 379392 [details] emerge --info
yeah, I'm getting this too. no idea where fault lies though.
(In reply to Alex Xu (Hello71) from comment #2) > yeah, I'm getting this too. no idea where fault lies though. Are you all in the video group? If so there is a bug in libva I had to patch locally to get it to somewhat work on my intel.
after some system updates the issue appears to have been resolved. I started using media-plugins/gst-plugins-vaapi-9999 (local overlay, based on 0.5.8-r0), likely that is the cause. $ id uid=1000(alex) gid=1000(alex) groups=1000(alex),7(lp),10(wheel),27(video),35(games),106(lpadmin),250(portage),982(nix-users),990(systemd-journal),996(wireshark),999(wpa)
This issue is with gst-plugins-vaapi and should be fixed with gst-plugins-vaapi-0.5.9 [0] [0] http://lists.freedesktop.org/archives/gstreamer-devel/2014-July/049028.html
Is this a hit-or-miss issue? gst-plugins-vaapi-0.5.8-r1 is working just fine for me with firefox-31 .. Maybe the crash is also partially dependent on the version of libav too.. *shrug*
Bug has *not* been fixed. gst-plugins-vaapi-0.5.10 and firefox-38.0.1. Only fix was unmerging gst-plugins-vaapi.
(In reply to Nicholas O'Connor from comment #7) > Bug has *not* been fixed. gst-plugins-vaapi-0.5.10 and firefox-38.0.1. Only > fix was unmerging gst-plugins-vaapi. I had that issue originally as well, but: #1 - the issue was resolved when I swapped media-video/ffmpeg to media-video/libav #2 - after doing a full system update, including @preserved-libs rebuild (which included an update to gst-plugins-vpx due to libvpx's upgrade), after re-emerging gst-plugins-vaapi, and even switching back to media-video/ffmpeg, I can no longer reproduce any crashes. If you haven't already, please try upgrading libva to 1.5.1 as well, that's another thing that happened during my system update which might've made a difference.
You should retry with latest gst-plugins-vaapi and gst-plugins-libav
This issue is quickly becoming moot since firefox-46 and newer dropped support for gstreamer anyways.
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