Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59056 - firefox-0.9.1 crashes sometimes and won't get up :)
Summary: firefox-0.9.1 crashes sometimes and won't get up :)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-01 01:25 UTC by Selecter
Modified: 2004-11-13 18:22 UTC (History)
0 users

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 Selecter 2004-08-01 01:25:36 UTC
Everytime I get different gdb output when firefox crashes. Before crash PC was busy with doing 'emerge sync'. In other cases when firefox had crashed (and won't run again) PC was doing hard work like compiling. I suspect that the problem is in march=pentium4 (glibc, firefox, thunderbird are build with this flag). Please help me to get the source of trouble. Thunderbird crashes too sometimes.

Starting program: /usr/lib/MozillaFirefox/firefox-bin
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIG32, Real-time event 32.
0x4a2bd4b0 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb) where
#0  0x4a2bd4b0 in pthread_getconcurrency () from /lib/libpthread.so.0
#1  0x4a2bd310 in pthread_getconcurrency () from /lib/libpthread.so.0
#2  0x00000020 in ?? ()
#3  0xb3ab6ff0 in ?? ()
#4  0x4a12d3ed in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2

Reproducible: Sometimes
Steps to Reproduce:





Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.4.26-gentoo-r6) 
================================================================= 
System uname: 2.4.26-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe" 
CHOST="i686-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/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg" 
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ 
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo 
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo 
http://ftp.du.se/pub/os/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 acpi alsa arts avi cdr crypt cups encode esd gdbm gif gpm gtk gtk2 
imlib jpeg kde libg++ libwww linguas_ru mad mikmod mmx motif mpeg ncurses nls 
oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline sdl 
slang spell sse ssl svga tcpd truetype x86 xml xml2 xmms xv zlib"
Comment 1 Selecter 2004-08-01 01:29:15 UTC
firefox've just got runned for no reason. amazing...
Comment 2 Selecter 2004-08-01 02:01:16 UTC
Starting program: /usr/lib/MozillaThunderbird/thunderbird-bin
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIG32, Real-time event 32.
0x426d54b0 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb) where
#0  0x426d54b0 in pthread_getconcurrency () from /lib/libpthread.so.0
#1  0x426d5310 in pthread_getconcurrency () from /lib/libpthread.so.0
#2  0x00000020 in ?? ()
#3  0xb02db3d0 in ?? ()
#4  0x420fe3ed in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
Comment 3 Selecter 2004-08-01 04:09:48 UTC
Here is another one that appeared on start.

Starting program: /usr/lib/MozillaFirefox/firefox-bin
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x50d08ef9 in ?? ()
(gdb) where
#0  0x50d08ef9 in ?? ()
#1  0x50d06c51 in ?? ()
#2  0x080aec50 in ?? ()
#3  0x4f851340 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#4  0x50d0727d in ?? ()
#5  0x080aec28 in ?? ()
#6  0x080ae300 in ?? ()
#7  0x08058614 in nsIXULChromeRegistry::GetIID()::iid ()
#8  0x0809cee0 in ?? ()
#9  0x50d0b798 in ?? ()
#10 0xbee955e0 in ?? ()
#11 0xbee95548 in ?? ()
#12 0x50d09eb1 in ?? ()
#13 0x0809c020 in ?? ()
#14 0x50c97794 in ?? ()
#15 0xbee95540 in ?? ()
#16 0x4f99f308 in ?? () from /usr/lib/MozillaFirefox/libxpcom.so
#17 0xbee955e0 in ?? ()
#18 0x80040154 in ?? ()
#19 0xbee95568 in ?? ()
#20 0x4f98e14a in non-virtual thunk to nsGenericFactory::QueryInterface(nsID const&, void**) () from /usr/lib/MozillaFirefox/libxpcom.so
Comment 4 Selecter 2004-08-01 12:30:34 UTC
I recompiled glibc (FEATURES=nostrip), firefox, thunderbird with march=i686.
Now I get this:

Starting program: /usr/lib/MozillaThunderbird/thunderbird-bin
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 18569)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 18569)]
0x4d41580b in match_symbol () from /lib/ld-linux.so.2
(gdb) where
#0  0x4d41580b in match_symbol () from /lib/ld-linux.so.2
#1  0x4d415c8c in _dl_check_map_versions () from /lib/ld-linux.so.2
#2  0x4dcf8f8a in dl_open_worker () from /lib/libc.so.6
#3  0x4d4149d6 in _dl_catch_error () from /lib/ld-linux.so.2
#4  0x4dcf9277 in _dl_open () from /lib/libc.so.6
#5  0x4d878f9b in dlopen_doit () from /lib/libdl.so.2
#6  0x4d4149d6 in _dl_catch_error () from /lib/ld-linux.so.2
#7  0x4d8794b1 in _dlerror_run () from /lib/libdl.so.2
#8  0x4d878fe4 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
#9  0x4d9d1f62 in PR_LoadLibrary () from /usr/lib/MozillaFirefox/libnspr4.so
#10 0x4d9d1e27 in PR_LoadLibraryWithFlags ()
   from /usr/lib/MozillaFirefox/libnspr4.so
#11 0x00000001 in ?? ()
#12 0xb04f0558 in ?? ()
#13 0x4d968447 in nsLocalFile::nsLocalFile(nsLocalFile const&) ()
   from /usr/lib/MozillaFirefox/libxpcom.so
#14 0x4d9f0c3c in ?? () from /usr/lib/MozillaFirefox/libnspr4.so
#15 0xb04f0578 in ?? ()
#16 0x4d9d1e8e in PR_LoadLibrary () from /usr/lib/MozillaFirefox/libnspr4.so
Previous frame inner to this frame (corrupt stack?)
Comment 5 Selecter 2004-08-02 00:10:56 UTC
pci=noacpi seems to be worked (they suggested me to do that if something went wrong), please wait until I see that bug again - don't waste your time :)
Comment 6 Selecter 2004-08-02 04:45:36 UTC
dang... issue is back... but I got new info :)

I got some messages like that in /var/log/messages:

Aug  2 14:39:44 tux grsec: signal 11 sent to /usr/lib/MozillaFirefox/firefox-bin[firefox-bin:4085] uid/euid:1001/1001 gid/egid:0/0, parent /usr/bin/enlightenment[enlightenment:25797] uid/euid:1001/1001 gid/egid:0/0

grsec may be grsecurity... I got it compiled with medium level support :doh: Will try to recompile kernel and see what is goin to happen.
Comment 7 Selecter 2004-08-02 05:52:16 UTC
It's not use. PLz help! I am confused :S
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2004-08-06 05:25:31 UTC
Have you tried with grsec disabled completely?
Comment 9 Selecter 2004-08-06 08:01:24 UTC
Yes I had. Is it possible that this issue can be caused by starting firefox and thunderbird directly as binary without /usr/bin/firefox and /usr/bin/thunderbird script? I still got issue on new compiled system on enlightenment-0.16.7, it starts firefox and thunderbird directly from /usr/lib/<...>. With windowmaker - OK.
Comment 10 Selecter 2004-08-07 00:35:50 UTC
I get this when I want to run thunderbird (0.7.3) (in wmaker):

Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 639: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!

I hope it makes sense for you.
Comment 11 Selecter 2004-08-07 00:36:45 UTC
And the same story :(

Program received signal SIG32, Real-time event 32.
0x405e3508 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb)
(gdb) where
#0  0x405e3508 in pthread_getconcurrency () from /lib/libpthread.so.0
#1  0x405e3366 in pthread_getconcurrency () from /lib/libpthread.so.0
#2  0x00000020 in ?? ()
#3  0xbfffe050 in ?? ()
#4  0x4058f07f in non-virtual thunk to nsGenericFactory::Release() ()
   from /usr/lib/MozillaFirefox/libxpcom.so
Comment 12 Selecter 2004-08-07 04:47:49 UTC
I can't say anything except the source of bug is self-compiled mozilla apps. I dunno what excaly is wrong with my CFLAGS or binutils+glibc+gcc...

I need info what versions of gcc, glibc, binutils, CFLAGS, USE flags were used on mozilla-firefox-bin and mozilla-thunderbird-bin packages.

Mine are:
gcc-3.3.3, glibc-2.3.2-r9, binutils-2.14.90.0.8-r1, -O2 -march=pentium4 -fomit-frame-pointer -pipe, X acpi alsa arts avi cdr crypt cups curl encode esd gdbm gif gpm gtk gtk2 imlib jabber java jpeg kde libg++ libwww linguas_ru mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype x86 xml xml2 xv zlib
Comment 13 Aron Griffis (RETIRED) gentoo-dev 2004-08-07 17:59:29 UTC
Regarding your question in comment 11, it is important to use the /usr/bin scripts to start the programs, otherwise you can be linked to the wrong libraries (for example you can get thunderbird libraries when you needed firefox libraries)
Comment 14 Aron Griffis (RETIRED) gentoo-dev 2004-11-13 18:22:59 UTC
Assuming fixed.  Please re-open if this problem still occurs with the latest mozilla-firefox in portage (1.0-r1 at the moment) and when using /usr/bin/firefox to launch.