Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 517566

Summary: www-client/firefox-30.0 - segmentation fault in PR_Wait at nspr-4.10.6/nspr/pr/src/pthreads/ptsynch.c:691
Product: Gentoo Linux Reporter: Francesco Turco <fturco>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gdb backtrace
emerge --info

Description Francesco Turco 2014-07-20 14:44:34 UTC
Created attachment 381136 [details]
gdb backtrace

I can make Firefox crash by visiting the following website: https://earnabit.com/. It's a segmentation fault. Firefox crashes even if I start with a clean profile (rm ~/.mozilla -r). I also have Firefox 30.0 on a Ubuntu system, but it doesn't crash. This is why I'm filing this bug here instead of on Mozilla bugzilla.

I'm attaching a backtrace that I obtained with the following procedure:

$ gdb firefox
run
set logging file firefox.log
set logging on
thread apply all bt
set logging off
quit.

I don't know if this is correct way to obtain a backtrace for Firefox.

I emerged www-client/firefox, dev-libs/glib, dev-libs/libevent, dev-libs/nspr and sys-libs/glibc with the "debug" USE flag, the "nostrip" FEATURES option and the "-ggdb" C(XX)FLAGS option.
Comment 1 Francesco Turco 2014-07-20 14:44:54 UTC
Created attachment 381138 [details]
emerge --info
Comment 2 Francesco Turco 2014-07-20 14:45:33 UTC
$ emerge -pv firefox

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] www-client/firefox-30.0  USE="alsa bindist dbus debug jit minimal -custom-cflags -custom-optimization -gstreamer -hardened -libnotify (-pgo) -pulseaudio (-selinux) -startup-notification -system-cairo -system-icu -system-jpeg -system-sqlite {-test} -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -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 -ku -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW -zu" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-20 15:06:01 UTC
It crashed the first time I tried to load that URL. The second time around, it didn't. Cache related?
Comment 4 Francesco Turco 2014-07-20 15:51:54 UTC
In my case Firefox crashed every time it tried to load that URL, even without clearing the cache.
Comment 5 Francesco Turco 2014-08-02 13:38:52 UTC
Upgraded to www-client/firefox-31.0 and it doesn't crash anymore. Can anyone confirm this?

-------

$ emerge -pv firefox

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] www-client/firefox-31.0  USE="bindist dbus jit minimal -custom-cflags -custom-optimization -debug -gstreamer -hardened (-pgo) -pulseaudio (-selinux) -startup-notification -system-cairo -system-icu -system-jpeg -system-sqlite {-test} -wifi" LINGUAS="-af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -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 -ku -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW -zu" 5 kB

Total: 1 package (1 reinstall), Size of downloads: 5 kB
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2014-10-18 17:23:50 UTC
Since it's apparently "fixed" in 31.x and the URL doesn't resolve for me anymore, can we close this?
Comment 7 Jory A. Pratt gentoo-dev 2017-08-26 17:56:37 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