Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514356 - media-plugins/gst-plugins-vaapi-0.5.8 segfaults with www-client/firefox-30.0
Summary: media-plugins/gst-plugins-vaapi-0.5.8 segfaults with www-client/firefox-30.0
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-22 01:30 UTC by Jan Vesely
Modified: 2017-08-26 17:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_514356.txt,6.91 KB, text/plain)
2014-06-22 01:30 UTC, Jan Vesely
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Vesely 2014-06-22 01:30:28 UTC
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
Comment 1 Jan Vesely 2014-06-22 01:30:55 UTC
Created attachment 379392 [details]
emerge --info
Comment 2 Alex Xu (Hello71) 2014-06-22 02:24:48 UTC
yeah, I'm getting this too. no idea where fault lies though.
Comment 3 Jory A. Pratt gentoo-dev 2014-06-23 23:30:59 UTC
(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.
Comment 4 Alex Xu (Hello71) 2014-06-24 00:54:34 UTC
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)
Comment 5 Jan Vesely 2014-07-29 21:48:48 UTC
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
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2014-07-30 14:25:01 UTC
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*
Comment 7 Nicholas O'Connor 2015-06-02 03:03:28 UTC
Bug has *not* been fixed. gst-plugins-vaapi-0.5.10 and firefox-38.0.1. Only fix was unmerging gst-plugins-vaapi.
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2015-06-02 14:01:39 UTC
(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.
Comment 9 Pacho Ramos gentoo-dev 2016-07-31 08:43:03 UTC
You should retry with latest gst-plugins-vaapi and gst-plugins-libav
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2016-08-02 02:17:12 UTC
This issue is quickly becoming moot since firefox-46 and newer dropped support for gstreamer anyways.
Comment 11 Jory A. Pratt gentoo-dev 2017-08-26 17:55:57 UTC
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