Date: Mon, 4 Apr 2005 21:34:19 +0300 (EEST) From: Heikki Suonsivu <hsu@bbnetworks.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/79535: mozilla and firefox hang repeatedly Message-ID: <200504041834.j34IYJuJ018823@lelu.olari.bbnetworks.net> Resent-Message-ID: <200504041840.j34Ie5FI010291@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79535 >Category: ports >Synopsis: mozilla and firefox hang repeatedly >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 04 18:40:04 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Heikki Suonsivu >Release: FreeBSD 4.10-STABLE i386 >Organization: bbnetworks.net >Environment: System: FreeBSD lelu.olari.bbnetworks.net 4.10-STABLE FreeBSD 4.10-STABLE #35: Tue Nov 9 22:36:17 EET 2004 hsu@lelu.olari.bbnetworks.net:/usr/obj/usr/src/sys/CAT i386 This seems to be a sticky problem, it has been going on quite long, through various firefox and mozilla versions. >Description: firefox and mozilla both tend to hang after being around for some time. The problem seems random and does not happen on specific pages and is not triggered every time on a specific page. Seems a bit like a thread problem. The process does not die, it just locks up, no X activity, kill window terminates the process. The browser is always dead within an hour if I leave it on a page updating itself regularly. I have heard that this was bugging some NetBSD people as well some time ago. I tried gdb but it does not seem to like threaded software: gdb /usr/X11R6/lib/firefo x/lib/firefox-0.9.3/firefox-bin GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called a t /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2 627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../cont rib/gdb/gdb/dbxread.c line 933 in fill_symbuf (gdb) attach 18098 Attaching to program: /usr/X11R6/lib/firefox/lib/firefox-0.9.3/firefox-bin, proc ess 18098 Reading symbols from /usr/local/lib/libgthread-2.0.so.400...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/libmozjs.so... done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/libxpcom.so... done. Reading symbols from /usr/local/lib/libiconv.so.3...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/libplds4.so... done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/libplc4.so... done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/libnspr4.so... done. Reading symbols from /usr/X11R6/lib/libgtk-x11-2.0.so.400...done. Reading symbols from /usr/X11R6/lib/libgdk-x11-2.0.so.400...done. Reading symbols from /usr/X11R6/lib/libXrandr.so.2...done. Reading symbols from /usr/X11R6/lib/libXi.so.6...done. Reading symbols from /usr/X11R6/lib/libXinerama.so.1...done. Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done. Reading symbols from /usr/local/lib/libatk-1.0.so.600...done. Reading symbols from /usr/X11R6/lib/libgdk_pixbuf-2.0.so.400...done. Reading symbols from /usr/X11R6/lib/libpangoxft-1.0.so.399...done. Reading symbols from /usr/X11R6/lib/libXft.so.2...done. Reading symbols from /usr/local/lib/libfreetype.so.9...done. Reading symbols from /usr/lib/libz.so.2...done. Reading symbols from /usr/X11R6/lib/libXrender.so.1...done. Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Reading symbols from /usr/X11R6/lib/libfontconfig.so.1...done. Reading symbols from /usr/X11R6/lib/libpangox-1.0.so.399...done. Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Reading symbols from /usr/X11R6/lib/libpango-1.0.so.399...done. Reading symbols from /usr/local/lib/libgobject-2.0.so.400...done. Reading symbols from /usr/local/lib/libgmodule-2.0.so.400...done. Reading symbols from /usr/local/lib/libglib-2.0.so.400...done. Reading symbols from /usr/lib/libm.so.2...done. Reading symbols from /usr/lib/libstdc++.so.3...done. Reading symbols from /usr/lib/libc_r.so.4...done. Reading symbols from /usr/local/lib/libintl.so.6...done. Reading symbols from /usr/X11R6/lib/libpangoft2-1.0.so.399...done. Reading symbols from /usr/local/lib/libexpat.so.5...done. Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...done. Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libxpco nnect.so...done. ---Type <return> to continue, or q <return> to quit--- Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libnsap pshell.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/libgkgfx.so... done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/libgtkxtbin.so... done. Reading symbols from /usr/X11R6/lib/libXt.so.6...done. Reading symbols from /usr/X11R6/lib/libSM.so.6...done. Reading symbols from /usr/X11R6/lib/libICE.so.6...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libwidg et_gtk2.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libembe dcomponents.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libtype aheadfind.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libpref .so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libneck o.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libgkla yout.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libcaps.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libi18n.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libimglib2.so...done. Reading symbols from /usr/local/lib/libjpeg.so.9...done. Reading symbols from /usr/local/lib/libpng.so.5...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/librdf.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libsystem-pref.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libgfx_gtk.so...done. Reading symbols from /usr/X11R6/lib/libXp.so.6...done. Reading symbols from /usr/X11R6/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so...done. Reading symbols from /usr/X11R6/lib/libgconf-2.so...done. Reading symbols from /usr/local/lib/libORBit-2.so.0...done. Reading symbols from /usr/local/lib/libpopt.so.0...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libdocshell.so...done. ---Type <return> to continue, or q <return> to quit--- Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libpipboot.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/libjsj.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/liboji.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libgkplugin.so...done. Reading symbols from /local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libchrome.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libhtmlpars.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libuconv.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libjar50.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libcookie.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libwebbrwsr.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libappcomps.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libxremoteservice.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/libxpcom_compat.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libprofile.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libxpcom_compat_c.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libbrowsercomps.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libtxmgr.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libeditor.so...done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libtoolkitcomps.so...done. Reading symbols from /usr/X11R6/lib/pango/1.4.0/modules/pango-basic-fc.so... done. Reading symbols from /usr/X11R6/lib/firefox/lib/firefox-0.9.3/components/libmork.so...done. ---Type <return> to continue, or q <return> to quit--- Reading symbols from /usr/X11R6/lib/browser_plugins/npflash.so...done. Reading symbols from /usr/local/lib/libflash.so.0...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. 0x289f0704 in __sys_poll () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x289f0704 in __sys_poll () from /usr/lib/libc_r.so.4 #1 0x289efc50 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 #2 0x289ef615 in _thread_kern_scheduler () from /usr/lib/libc_r.so.4 #3 0x0 in ?? () (gdb) s Single stepping until exit from function __sys_poll, which has no line number information. 0x289efc50 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) s Single stepping until exit from function _thread_kern_sched_state_unlock, which has no line number information. 0x289ae92c in _init () from /usr/lib/libc_r.so.4 (gdb) s Single stepping until exit from function _init, which has no line number information. Error accessing memory address 0x10: Bad address. (gdb) s Single stepping until exit from function _thread_kern_sched_state_unlock, which has no line number information. Program received signal SIGSEGV, Segmentation fault. 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 #1 0x289ef615 in _thread_kern_scheduler () from /usr/lib/libc_r.so.4 #2 0x0 in ?? () (gdb) s Single stepping until exit from function _thread_kern_sched_state_unlock, which has no line number information. Program received signal SIGSEGV, Segmentation fault. 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /usr/X11R6/lib/firefox/lib/firefox-0.9.3/firefox-bin, process 18098, thread 1 ptrace: No such process. (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) yes Detaching from program: /usr/X11R6/lib/firefox/lib/firefox-0.9.3/firefox-bin, process 18098, thread 1 ptrace: No such process. (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) n Not confirmed. (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /usr/X11R6/lib/firefox/lib/firefox-0.9.3/firefox-bin, process 18098, thread 1 ptrace: No such process. (gdb) Quit (gdb) The program is running. Quit anyway (and detach it)? (y or n) Please answer y or n. The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /usr/X11R6/lib/firefox/lib/firefox-0.9.3/firefox-bin, process 18098, thread 1 ptrace: No such process. (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x289f026a in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4 (gdb) q The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /usr/X11R6/lib/firefox/lib/firefox-0.9.3/firefox-bin, process 18098, thread 1 ptrace: No such process. (gdb) >How-To-Repeat: Has been going on for long time, on -STABLE. Both Mozilla and firefox do this. Konqueror does not. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504041834.j34IYJuJ018823>