Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73052 - Firefox crashes on first invocation after boot, works second and subsequent times
Summary: Firefox crashes on first invocation after boot, works second and subsequent t...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
Depends on:
Reported: 2004-12-01 10:47 UTC by Ray McCord
Modified: 2005-06-16 12:05 UTC (History)
0 users

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

bad me :) (,32 bytes, text/plain)
2004-12-01 10:49 UTC, Ray McCord
strace (foo.txt,18.37 KB, text/plain)
2004-12-01 11:09 UTC, Ray McCord

Note You need to log in before you can comment on or make changes to this bug.
Description Ray McCord 2004-12-01 10:47:03 UTC
I have the same situation as described in Bug #64596 <>

This is, however, with net-www/mozilla-firefox-1.0 and, so, I haven't the luxury of upgrading to a new version that mysteriously fixes the issue ;)

When I first login to an X session and open firefox, it takes a little longer to start than normal, lanches a window and immediately exits. Subsequent attempts to start firefox will succeed as expected.

(A thought: perhaps the first launch *fixes* a circumstance such as a library initialization, or a missing/defunct lock-file/symlink?)

Reproducible: Always
Steps to Reproduce:
1. Login to an X session
2. Type: /usr/bin/firefox &
3. Type: /usr/bin/firefox &
Actual Results:  
# Result of Step 2: (Output:)

No running windows found
/usr/bin/firefox: line 392:  <pid> Killed                  $mozbin "$@"

# Result of Step 3: Everything runs fine... 

Expected Results:  
# Results of Step 2 should have been: Everything runs fine... 

# Result of "emerge info": (Output:)

Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.3.4, glibc-,
2.6.9-gentoo-r4 i686)
System uname: 2.6.9-gentoo-r4 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
USE="X aalib aim alsa apache2 apm arts audiofile bash-completion bitmap-fonts
bzlib cdr crypt cups encode esd f77 fam fbcon foomaticdb fortran ftp gd gif gpm
gtk gtk2 imagemagick imlib jpeg kde lcms lesstif libg++ libwww mad mime motif
mozilla mpeg mysql mysqli nas ncurses nls oggvorbis openal opengl oscar pam pcre
pdflib perl php png pnp postgres python qt quicktime readline scanner sdl slang
sockets spell ssl svg svga tcpd tidy tiff truetype usb vhosts x86 xml2 xmms xpm
xsl xv zlib"
Comment 1 Ray McCord 2004-12-01 10:49:45 UTC
Created attachment 45062 [details]
bad me :)

cd /usr/bin/ ; strace ./firefox > ~/foo.txt 2>&1
Comment 2 Ray McCord 2004-12-01 10:58:38 UTC
Comment on attachment 45062 [details]
bad me :)

strace was on success, brb, will redo on failed launch
Comment 3 Ray McCord 2004-12-01 11:09:53 UTC
Created attachment 45065 [details]

BTW: hate that you can't remove your own screwed up commits in bugzilla ;p

This was done on the invocation in which firefox did crash...
Comment 4 Ray McCord 2004-12-18 23:13:59 UTC
Just wondering if this bug is being looked into ;)

Is there any more info I could provide to help determine the cause?

FYI: I have scoured the bugzilla for product firefox and have yet
to find a bug describing this issue (open or closed), so I am thinking it may not be a bug *in* mozilla itself.
Comment 5 Jon Hurst 2005-06-16 11:34:36 UTC
I had the same symptoms. Unmerged firefox, which broke thunderbird. Remerged
thunderbird (now working), installed binary firefox from mozilla(now working).
Conflict between firefox and thunderbird ebuilds? 
Comment 6 Ray McCord 2005-06-16 12:05:30 UTC
I did not have Thunderbird instaled when I reported the issue. I have since
updated to Firefox 1.0.4 via ebuild and the issue no longer affects this system,
but another system I have that is still running the Firefox 1.0 ebuild does show
this behavior consistently. I have not found any related issues running the
official Firefox 1.0 binaries or source compiled versions for other
distros. I think it was a bug in either the Firefox 1.0 ebuild or another ebuild
which Firefox interacts with/depends on. In any event, updgrading to a newer
version ebuild fixed the problem.