Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511086 - www-client/firefox occasionally freezes
Summary: www-client/firefox occasionally freezes
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-05-23 08:54 UTC by Vit Pelcak
Modified: 2017-08-26 17:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vit Pelcak 2014-05-23 08:54:21 UTC
I experience occasional freeze of Firefox. It happens randomly while while browsing pages. I tried latest ESR and latest testing. Both do that.
After freeze, Firefox cannot be killed even by SIGKILL.

Maybe problem is caused by Nvidia driver.

Reproducible: Always

Steps to Reproduce:
1.Browse webpages in FF
2.Firefox sometimes freezes.
3.Happens allways but on random pages.



I managed to get backtrace:

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7fffe41ff700 (LWP 5780)]
0x00007ffff7bce157 in __libc_send (fd=105, buf=buf@entry=0x7fffb3b3d000, n=n@entry=27, flags=-1, flags@entry=0)
    at ../sysdeps/unix/sysv/linux/x86_64/send.c:32
32      ../sysdeps/unix/sysv/linux/x86_64/send.c: Adresář nebo soubor neexistuje.
#0  0x00007ffff7bce157 in __libc_send (fd=105, buf=buf@entry=0x7fffb3b3d000, n=n@entry=27, flags=-1, flags@entry=0)
    at ../sysdeps/unix/sysv/linux/x86_64/send.c:32
#1  0x00007ffff01c18db in pt_Send (fd=0x7fffdc05b040, buf=0x7fffb3b3d000, amount=27, flags=0, timeout=0)
    at ../../../../nspr/pr/src/pthreads/ptio.c:1914
#2  0x00007ffff20edc8c in ssl_DefSend (ss=ss@entry=0x7fffaddca000, buf=0x7fffb3b3d000 "\025\003\003", len=27, flags=flags@entry=0)
    at ssldef.c:94
#3  0x00007ffff20df2b8 in ssl3_SendRecord (ss=ss@entry=0x7fffaddca000, epoch=epoch@entry=0, type=type@entry=content_alert,
    pIn=0x7fffe41febf2 "\037\344\377\177", pIn@entry=0x7fffe41febf0 "\001", nIn=0, nIn@entry=2, flags=flags@entry=0)
    at ssl3con.c:2908
#4  0x00007ffff20df826 in SSL3_SendAlert (ss=ss@entry=0x7fffaddca000, level=level@entry=alert_warning,
    desc=desc@entry=close_notify) at ssl3con.c:3199
#5  0x00007ffff20f3666 in ssl_SecureClose (ss=0x7fffaddca000) at sslsecur.c:1140
#6  0x00007ffff3f2227f in nsNSSSocketInfo::CloseSocketAndDestroy (this=0x7fffde9181a0)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/security/manager/ssl/src/nsNSSIOLayer.cpp:850
#7  0x00007ffff3f222d4 in nsSSLIOLayerClose (fd=0x7fffa9f815e0)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/security/manager/ssl/src/nsNSSIOLayer.cpp:827
#8  0x00007ffff2ebb727 in ReleaseFD_Locked (this=0x7fffbd864920, fd=<optimized out>)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/netwerk/base/src/nsSocketTransport2.cpp:1604
#9  nsSocketTransport::ReleaseFD_Locked (this=0x7fffbd864920, fd=<optimized out>)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/netwerk/base/src/nsSocketTransport2.cpp:1594
#10 0x00007ffff2ebda7d in nsSocketTransport::OnSocketDetached (this=0x7fffbd864920, fd=<optimized out>)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/netwerk/base/src/nsSocketTransport2.cpp:1867
#11 0x00007ffff2ebe40a in nsSocketTransportService::DetachSocket (this=this@entry=0x7ffff6c47740, listHead=0x7fffb43c9000,
    sock=0x7fffb43c9210)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/netwerk/base/src/nsSocketTransportService2.cpp:181
#12 0x00007ffff2ebee86 in nsSocketTransportService::DoPollIteration (this=this@entry=0x7ffff6c47740, wait=<optimized out>)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/netwerk/base/src/nsSocketTransportService2.cpp:867
#13 0x00007ffff2ebf005 in nsSocketTransportService::Run (this=0x7ffff6c47740)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/netwerk/base/src/nsSocketTransportService2.cpp:689
#14 0x00007ffff2e8e257 in ProcessNextEvent (result=0x7fffe41fee0f, mayWait=false, this=0x7fffe6146b30)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/xpcom/threads/nsThread.cpp:643
#15 nsThread::ProcessNextEvent (this=0x7fffe6146b30, mayWait=false, result=0x7fffe41fee0f)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/xpcom/threads/nsThread.cpp:567
#16 0x00007ffff2e4f867 in NS_ProcessNextEvent (thread=<optimized out>, mayWait=mayWait@entry=false)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/xpcom/glue/nsThreadUtils.cpp:263
#17 0x00007ffff302731a in mozilla::ipc::MessagePumpForNonMainThreads::Run (this=0x7fffe61fec80, aDelegate=0x7ffff6c5c6a0)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/ipc/glue/MessagePump.cpp:303
#18 0x00007ffff300f38b in RunHandler (this=0x7ffff6c5c6a0)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/ipc/chromium/src/base/message_loop.cc:219
#19 MessageLoop::Run (this=this@entry=0x7ffff6c5c6a0)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/ipc/chromium/src/base/message_loop.cc:193
#20 0x00007ffff2e8ebce in nsThread::ThreadFunc (arg=0x7fffe6146b30)
    at /var/tmp/portage/www-client/firefox-29.0.1/work/mozilla-release/xpcom/threads/nsThread.cpp:258
#21 0x00007ffff01c4931 in _pt_root (arg=0x7ffff6c786e0) at ../../../../nspr/pr/src/pthreads/ptthread.c:212
#22 0x00007ffff7bc6f3a in start_thread (arg=0x7fffe41ff700) at pthread_create.c:308
#23 0x00007ffff70ff9ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-23 13:38:45 UTC
Please post your `emerge --info www-client/firefox' output in a comment.
Comment 2 Vit Pelcak 2014-05-23 14:28:16 UTC
# emerge --info www-client/firefox
Portage 2.2.10 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_0_@_3.60GHz-with-gentoo-2.2
KiB Mem:    16430556 total,  14124940 free
KiB Swap:   12585980 total,  12585980 free
Timestamp of tree: Fri, 23 May 2014 07:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo btbn suse-internal
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -g -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -g -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/man/cs/"
LC_ALL="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/btsync /usr/local/portage/gentoo-overlay"
USE="X a52 aac acl acpi alsa amd64 attica avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gnutls gpm groupwise gstreamer iconv icu inotify ipv6 jabber jpeg kde kipi lcms libnotify lzma mad mmx mng modules mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline sdl semantic-desktop session spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg symlink syslog tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="cs en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC

=================================================================
                        Package Settings
=================================================================

www-client/firefox-29.0.1 was built with the following:
USE="alsa dbus gstreamer jit libnotify minimal pulseaudio startup-notification -bindist -custom-cflags -custom-optimization -debug -hardened (-pgo) (-selinux) -system-cairo -system-icu -system-jpeg -system-sqlite -test -wifi" LINGUAS="cs -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -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"
CFLAGS="-march=native -g -pipe -mno-avx"
CXXFLAGS="-march=native -g -pipe -mno-avx"
Comment 3 Jory A. Pratt gentoo-dev 2014-05-23 22:39:23 UTC
Do you have any plugins enabled? If so please test in safe-mode, with the info you provided here I see no way to duplicate your setup to test.
Comment 4 Vit Pelcak 2014-05-27 09:14:18 UTC
I have tried to run FF in safe mode. I have encountered freeze there as well.

Does BT help in any way?
Comment 5 Vit Pelcak 2014-05-27 09:16:03 UTC
Now I have:

$ ps aux | grep firefox
vpelcak  29101  0.0  0.1 305280 21432 pts/8    D    11:12   0:00 /usr/bin/firefox

killall -9 firefox is not able to kill him.
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2014-05-27 12:42:54 UTC
(In reply to Vit Pelcak from comment #5)
> Now I have:
> 
> $ ps aux | grep firefox
> vpelcak  29101  0.0  0.1 305280 21432 pts/8    D    11:12   0:00
> /usr/bin/firefox
> 

D state is IO wait. congrats, your disk drive is slow.
Comment 7 Jory A. Pratt gentoo-dev 2017-08-26 17:55:55 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