Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528062 - www-client/firefox-33.0 - firefox while initialising webrtc video: segmentation fault in vpx_codec_destroy () from /usr/lib64/libvpx.so.1
Summary: www-client/firefox-33.0 - firefox while initialising webrtc video: segmentati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 00:42 UTC by Andreas Steinmetz
Modified: 2014-11-05 23:19 UTC (History)
0 users

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


Attachments
emerge --info output (emerge-info.txt,8.32 KB, text/plain)
2014-11-03 14:20 UTC, Andreas Steinmetz
Details
gdb backtrace (firefox-gdb.txt,2.74 KB, text/plain)
2014-11-03 14:20 UTC, Andreas Steinmetz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Steinmetz 2014-11-03 00:42:26 UTC
Firefox-33.0 segfaults on establishing video of a WebRTC based video call.
Local reinstall of previous Firefox-32.0 does not crash.


Reproducible: Always

Steps to Reproduce:
1. Use SipML5 to make a video call

Actual Results:  
Segfault

Expected Results:  
Video

Though this should be probably reported upstream I cannot and, even if I could, would not do so due to attitude at mozilla.org.
I'm just giving a heads up here.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-03 11:00:53 UTC
1) Please post your `emerge --info www-client/firefox' output in a comment.
2) Please generate a gdb backtrace of the crash.
Comment 2 Andreas Steinmetz 2014-11-03 14:20:05 UTC
Created attachment 388418 [details]
emerge --info output

The USE flag "debug" was added to the regular build.
Comment 3 Andreas Steinmetz 2014-11-03 14:20:46 UTC
Created attachment 388420 [details]
gdb backtrace
Comment 4 Andreas Steinmetz 2014-11-03 14:23:13 UTC
To reproduce:

sipML5 <-> webrtc2sip <-> asterisk (echo application)

Note webrtc2sip converts between vp8 (browser) and h.264 (asterisk)
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-05 14:05:10 UTC
(In reply to Andreas Steinmetz from comment #3)
> Created attachment 388420 [details]
> gdb backtrace

`thread apply all backtrace full' would have been nice.
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2014-11-05 18:01:52 UTC
I can crash firefox-34 using the mozilla webrtc test site, with the exact same error.

I have a feeling this might relate to our defaulting to the system libvpx, given that firefox-bin doesn't seem to have this issue.  Testing to confirm.
Comment 7 Ian Stakenvicius (RETIRED) gentoo-dev 2014-11-05 18:05:13 UTC
...  i'm getting a segfault during the firefox-bin shutdown process, too; unfortunately backtracing that one is more difficult, so it's hard to say if it's related or not.
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2014-11-05 21:16:17 UTC
Seems internal libvpx is built with postproc on x86 and x86_64 , it doesn't crash for me when that's the case.  I'll adjust the deps to ensure system libvpx has postproc enabled, and i'll also set system-libvpx as not-on-by-default.
Comment 9 Ian Stakenvicius (RETIRED) gentoo-dev 2014-11-05 23:19:14 UTC
Fixed in firefox-33.0-r1 and above.