Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517566 - www-client/firefox-30.0 - segmentation fault in PR_Wait at nspr-4.10.6/nspr/pr/src/pthreads/ptsynch.c:691
Summary: www-client/firefox-30.0 - segmentation fault in PR_Wait at nspr-4.10.6/nspr/p...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-20 14:44 UTC by Francesco Turco
Modified: 2017-08-26 17:56 UTC (History)
0 users

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


Attachments
gdb backtrace (firefox.log,94.03 KB, text/plain)
2014-07-20 14:44 UTC, Francesco Turco
Details
emerge --info (emerge.log,4.51 KB, text/plain)
2014-07-20 14:44 UTC, Francesco Turco
Details

Note You need to log in before you can comment on or make changes to this bug.
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