Mozilla Firefox infrequently hangs when opening a page. I can't figure out exactly what triggers it. Reproducible: Sometimes Steps to Reproduce: $ emerge info Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -mcpu=athlon -O3 -pipe -g" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -mcpu=athlon -O3 -pipe -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache nostrip sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/packages/nessie" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb cdr crypt cups doc dvd encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppd python qt quicktime readline ruby sdl slang spell ssl svga tcpd tetex tiff truetype x86 xml2 xmms xv zlib"
Created attachment 34127 [details] Selected gdb messages and backtrace Is there a secondary bug: nostrip and -g should cause all of firefox to have symbols?
It happens most frequenly when I'm previewing a comment from livejournal, that includes a title, a custom picture and has the spell check preview option selected.
Just to make sure, try testing your memory with memtest86 or some similar tool
memtest86+ passed ok
Created attachment 34798 [details] Backtrace from all threads during hang. I wonder what is going on with the stack corruption error. It could be genuine corruption; or it could be a problem with unwinding the stack in the debugger.
This may have been raised against 0.9, it happens with 0.9.1 too. I get the stack corruption in gdb when the application is running normally, so I'm more inclined to think that gdb is having problems unwinding the stack frames.
I can confirm this. It sometimes hangs when deleting a character from the Google search bar in the Navigation toolbar. I can get it to occur reliably by typing a character, deleting it, and repeating. It usually doesn't take long before it hangs (a couple dozen characters at most). Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib alsa amd64 apm arts avi berkdb cdr crypt cscope doc dvd dvdr emacs encode esd foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde leim libg++ libwww lzw-tiff mad mikmod motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang spell ssl tcpd tetex theora threads tiff truetype unicode vim-with-x xml xml2 xmms xv xvid zlib"
I noticed that linux-gate.so.1 is linked at 0xffffe000, this is some kind of magic kernel entry point (see http://ds9a.nl/klogbot/?year=2004&month=5&day=28&hour=8 for example). This would explain most of the missing symbols, as I guess gdb hasn't had a chance (or cannot) catch up with this yet. Still not sure about the stack corruption.
Goto http://sources.redhat.com/cgi-bin/gnatsweb.pl and look at bug 1505. I guess gdb is more likely the problem than a genuine stack corruption.
I think the gdb part of the problem is a dupe of bug 45756
Hmm, in the hope of fixing my stack traces and the like I unmasked and emerged glibc-2.3.4.20040619. Now I can't reproduce the original problem. This suggests it may have been a glibc threading bug that is now fixed. I couldn't originally reproduce the problem on demand, so I'll run with it for a week or so. If I don't get by it then I'll mark the bug closed. If anyone else want to unmask it, add the following line to your /etc/portage/packages.unmask file (only tested on x86) ~sys-libs/glibc-2.3.4.20040619
oops, you'll need to add sys-kernel/linux-headers -* to /etc/portage/package.keywords and emerge linux-headers before glibc will work.
It is still broken. The stacktraces are still as confusing as ever. I think I'm out of ideas.
I don't know if this is the same bug. I was having a problem that for certain locations the system completely hangs, with all graphical browsers I tried, including mozilla, konqueror and dillo. Text browsers like lynx and w3m do not show this problem (but display garbage). An example of such a location is http://www.huji.ac.il/ I don't know how could I support any extra info, since the only thing I can do when it happens is press the reboot button. Anyway, I discovered that it has something to do with the locale settings. When I set LC_ALL='POSIX', this no longer happens. Except for web browsing, I don't usually see such problems with my locale settings (which are mostly he_IL.utf8). Hope this sheds some light. Here is my emerge info: Gentoo Base System version 1.5.2 Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 AMD Duron(tm) Processor Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/genkernel/x86 /usr/share/zsh /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/serverconfig /etc/X11/starthere /etc/X11/sysconfig /etc/games /etc/gconf /etc/gnome-vfs-2.0 /etc/hotplug /etc/sound /etc/ssl /etc/svgalib /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest emergemail fixpackages sandbox" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://gentoo.inode.at/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib aavm acl acpi alsa amd apache2 apm arts artswrappersuid avi berkdb bidi bonobo cdr crypt cups dga dillo directfb divx4linux doc dv dvb dvd dvdr editor encode erandom esd faac faad fbcon foomaticdb freetype gd gdbm ggi gif gnome gpm gtk gtk2 gtkhtml imap imlib imlib2 ipv6 java javascript jbig jikes jpeg kde ldap libg++ libwww linguas_he mad mailwrapper mbox mikmod mmx motif mozilla mpeg mpi multilib ncurses nls nocd nptl offensive oggvorbis opengl oss pam pcre pdflib perl plotutils png python qt quicktime readline ruby sdl server speex spell sse ssl svga t1lib tcltk tcpd tetex theora threads tiff tools truetype type1 unicode usb v4l2 vim-with-x wmf wxwin wxwindows x86 xatrix xface xml xml2 xmms xv xvid zlib"
After using ACCEPT_KEYWORDS="~x86" and an emerge -uD, it appears like it's resolved.
I'm guessing (and hoping) that this bug is resolved in current versions (presently 1.0-r1). Please re-open if it is still a problem for you.