Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71809 - mozilla/firefox segfaults at startup
Summary: mozilla/firefox segfaults at startup
Status: RESOLVED DUPLICATE of bug 75879
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Highest blocker
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-19 20:35 UTC by Pat Suwalski
Modified: 2005-07-17 13:06 UTC (History)
7 users (show)

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


Attachments
strace ./firefox-bin > ~/foo.txt 2>&1 (foo.txt,45.71 KB, text/plain)
2004-11-19 20:36 UTC, Pat Suwalski
Details
emerge history (newehist,26.81 KB, text/plain)
2004-12-11 21:49 UTC, Eric Nylander
Details
firefox crash backtrace (firefox-crash-backtrace.txt,4.15 KB, text/plain)
2004-12-22 21:22 UTC, Mark R. Pariente
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Suwalski 2004-11-19 20:35:07 UTC
After the latest updates to (notably) glibc (2.3.4.20041102) and mozilla (1.7.3-r3) and firefox (1.0-r3), neither mozilla nor firefox (including thunderbird) will start.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge --deep -up world
3. execute mozilla or firefox

Actual Results:  
pat@fx ~ $ mozilla
No running windows found
/usr/bin/mozilla: line 88: 11359 Segmentation fault      $mozbin "$@"
pat@fx ~ $ firefox
No running windows found
/usr/bin/firefox: line 88: 11370 Segmentation fault      $mozbin "$@"


Expected Results:  
A web browser window.

fx ~ # emerge --info
Portage 2.0.51-r3 (default-amd64-2004.2, gcc-3.3.5, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 FX-51 Processor
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer -funroll-loops -msse2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -funroll-loops -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp-mirror.internap.com/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/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 amd64 avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77
foomaticdb fortran gdbm gif gnome gpm gstreamer gtk2 hal imlib ipv6 java jpeg
libg++ libwww lzw-tiff mad mikmod motif mozilla moznoirc mpeg ncurses nls nogcj
oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl slang
spell ssl svg tcpd tiff truetype xine xml2 xmms xv zlib"
Comment 1 Pat Suwalski 2004-11-19 20:36:09 UTC
Created attachment 44329 [details]
strace ./firefox-bin > ~/foo.txt 2>&1

strace output of firefox-bin.
Comment 2 augury@vampares.org 2004-11-19 21:39:43 UTC
i was getting the same error message with a bad libpthread.so in /usr/lib
(/usr/lib/libthread* not pointing to /lib/libpthread*)
after fixing this problem mozilla and firefox give errors like:
/usr/lib/mozilla/mozilla-xremote-client: Error: Failed to send command: No error string reported..
Browser doesn't understand command

older builds still work which makes me think theres something wrong in the includes.
i moved all mozilla base packages and uninstalled nss and nspr and remove all ns* headers except nss.h, so im not sure what to do now.
Comment 3 Pat Suwalski 2004-11-26 08:15:36 UTC
I'm raising the priority, since no one seems to have noticed this issue yet. I'm sure you'll agree that a computer without a working web browser is not terribly useful.
Comment 4 Joerg Plate 2004-12-08 04:11:08 UTC
mozilla 1.7.3-r3 segfaults.
firefox 1.0-r3 works for me.
Comment 5 Robert Ulmer 2004-12-08 05:08:26 UTC
I've got this message: Is this the same problem?

No running windows found
/usr/bin/firefox: line 88:  7072 Segmentation fault      $mozbin "$@"
Comment 6 Pat Suwalski 2004-12-08 07:57:26 UTC
That appears to be the same problem, yes.
Comment 7 Trey Blancher 2004-12-08 14:08:26 UTC
The following forum thread suggests upgrading to gcc 3.4 to fix this problem:

http://forums.gentoo.org/viewtopic.php?t=254882

I haven't tried it yet, and I'm a bit wary about doing so...
Comment 8 Pat Suwalski 2004-12-08 17:14:43 UTC
Yeah, I tried upgrading to 3.4, but as the Changelog for gcc says, it dies while trying to build xgcc. I don't know how to get around that. Downgrade to 3.2 first? It seems kind of silly.

I just wish this thing would resolve itself.
Comment 9 Andrej Kacian (RETIRED) gentoo-dev 2004-12-09 07:28:36 UTC
I did compile firefox with 3.4 and yet, this has happened to me.

Firefox worked okay, until I tried to open some russian mailinglist archive site found via google earlier today. FF segfaulted and since then I get the same error message, both for firefox and mozilla.
Comment 10 Pat Suwalski 2004-12-09 07:39:53 UTC
That sounds more like a bug in firefox than a result of bad compilation as it appears everyone else here has.
Comment 11 Andrej Kacian (RETIRED) gentoo-dev 2004-12-10 05:16:59 UTC
Surprisingly enough, it started to work again afrer a reboot. Is my system becoming a Windows, or what? :/
Comment 12 Eric Nylander 2004-12-11 21:47:02 UTC
This happens to me as well.

mozilla doesn't work.
epiphany doesn't work.
however firefox-1.0-r3 does work for me.

I tried downgrading mozilla all the way back to 1.7.3 which was what I had upgraded from, but that no longer worked for me anymore either.

So it seems to be some other package that was upgraded since when I had 1.7.3 working.

I suspect that If i rebuilt firefox, that it wouldn't work anymore either, and I am hesitant to loose my last working browser, so may not try this.

I will attach my emerge history with a few embeded coments of when things were working and not working in case it helps.  My current guess is that one of the packages installed between 
Sun Nov 21 21:47:14 2004 >>> net-www/mozilla-firefox-1.0-r3
          and 
Sat Dec  4 20:51:06 2004 >>> net-www/mozilla-1.7.3-r3
breaks something in the mozilla rendering engine.
Comment 13 Eric Nylander 2004-12-11 21:49:15 UTC
Created attachment 45802 [details]
emerge history

I think one of these packages breaks the mozilla rendering engine.
Comment 14 Shawn Stricker 2004-12-14 07:46:06 UTC
i just performed a fresh install (stage1) and for some reason mozilla loads correctly (browser used to make this post) however both firefox and thunderbird fail to load 

shawn@kieran ~ $ firefox
No running windows found
/usr/bin/firefox: line 88: 20328 Segmentation fault      $mozbin "$@"
shawn@kieran ~ $ thunderbird
No running windows found
Registering Enigmail account manager extension.
Enigmail account manager extension registered.
/usr/bin/thunderbird: line 88: 20729 Segmentation fault      $mozbin "$@"
shawn@kieran ~ $ mozilla
shawn@kieran ~ $ 


Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.80GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 12 2004, 20:26:58)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bluetooth bonobo bzlib cdr crypt cups dba dga directfb divx4linux dvd dvdread eds encode evo exif f77 fam fbcon fftw flac flash font-server foomaticdb fortran ftp gd gdbm gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal ieee1394 imap imlib java jpeg kde kdexdeltas lcms ldap libdga libg++ libwww mad maildir mikmod mime ming mmx mono motif mozilla mpeg mysql ncurses nptl nptlonly nvidia oggvorbis opengl oss pam pcmcia pdflib perl php png pnp python qt quicktime readline real samba sdl session slp soap sockets spell sse ssl svg svga tcltk tcpd tiff truetype truetype-fonts trusted usb wifi wmf x86 xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid zlib video_cards_nvidia"
Comment 15 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-12-21 02:25:00 UTC
I had this identical problem, but after deleting the .mozilla dir in the homedir of the user trying to start it the problem went away.
Comment 16 Pat Suwalski 2004-12-21 13:46:42 UTC
Ben, deleting .mozilla was the first thing I tried. It obviously did not good.

I'm hoping that gcc 3.4.3 and the latest mozilla will fix this. But at the moment, I can't compile gcc 3.4.3. See 75116.
Comment 17 George Kraev 2004-12-21 17:50:42 UTC
I have been having the exact same problem and the person that started the bug for about 3-4 days now. No one on the #gentoo channel seems to know what the problem is and I can't seem to figure out what is breaking mozilla but the bug seems to be quite serious. The segmentation fault is not random at all and is not due to some configuration problem. As far as I can tell it has to do with some package that mozilla uses to render pages and the problem does not happen every time. If you try to load a site like google or msn it works but more complex stuff like gentoo.org makes every browser that is based on mozilla to fail. I have mozilla 1.7.5 with glibc 2.6.0 gtk 2.6.0 but I have tried just about any other combination of glibc and gtk. If I had to guess right now I would say that pango 1.8.0 is causing the problem. However, I still have to test this out and verify it. 
Also the severity should be adjusted to major and not blocker. There is no problem compiling the software ...
Comment 18 George Kraev 2004-12-21 18:04:02 UTC
Pango is not the problem. There is something else. Oh yeha and this problem exists also on x86. (which is what I have).
Comment 19 Pat Suwalski 2004-12-21 20:59:24 UTC
With no disrespect, I do not think this is the same problem. Your web browser actually starts. Mine does not. This means my problem is more severe than a regular bug. I am actually typing this comment in through lynx. This is definitely a blocker.
Comment 20 George Kraev 2004-12-21 21:56:31 UTC
The reason why I said that it's not a blocker is because I thought that blocker status means that the bug preven't you from being able to compile the package. I reread the descriptions of the different severity levels and you are right. :)
Comment 21 George Kraev 2004-12-22 12:14:49 UTC
Would you mind posting the output of 

emerge --ask --oneshot --verbose mozilla-firefox 

or 

emerge --ask --oneshot --verbose mozilla

(whichever one you use). 

Thanks.
Comment 22 Pat Suwalski 2004-12-22 14:02:47 UTC
I managed to fix this bug by compiling mozilla and firefox with gcc 3.4.3. Please see bug 75116. If that solves it, I'll close this bug.
Comment 23 George Kraev 2004-12-22 16:50:50 UTC
This doesn't solve my problem because I was compiling with gcc 3.4.3 the whole time. However, I already know what the problem is and there is another bug open that is a lot closer to the one that I have than this one.
Comment 24 Mark R. Pariente 2004-12-22 18:46:42 UTC
I have started getting this bug after an update from Freetype 2.1.5 to Freetype 2.1.9. Can it be related? (always using gcc 3.4.3).
Comment 25 Mark R. Pariente 2004-12-22 21:22:24 UTC
Created attachment 46690 [details]
firefox crash backtrace

Attached a backtrace of the crash, always reproducible over here by visiting
www.vmware.com
Comment 26 Olliver Schinagl 2004-12-27 17:12:30 UTC
Confirm this bug. Various html content segfault gecko based browsers.

I always use mozilla. Haven't had a this issue with 1.7.3. When 1.7.5 came out I updated to it. Since then I've had the segfaulting on two completly different x86 systems.

I then emerged firefox to see if that would work, firefox also segfaults on same sites.

So something in the content of those sites makes it crash (www.namesys.com for example is a nother).
I emerged ff-bin to see if that would help, but it's not so it isn't compiletime related, but runtime library related. The freetype hinted before might be well causing this.

This also means that a lot more gentoo users will start getting this problem. I currently am using ACCEPT="~x86" so i do have bleeding edge on everything.
Comment 27 George Kraev 2004-12-27 22:51:39 UTC
The problem comes from freetype and not mozilla. Make sure that you are not running freetype 2.1.9 or 2.1.9-r1 and your browser will start working again. 

Too bad gimp-2.2 won't work with freetype 2.1.5 ...
Comment 28 Mark R. Pariente 2004-12-27 23:00:28 UTC
Indeed it is a freetype problem, but mozilla should be fixed since we will eventually move forward from Freetype 2.1.5 (2.1.9 is already in ~x86, that is why I have it installed).

Another point here, I am using X.org 6.7 (since ATI drivers die on openGL stuff in 6.8, and they will release new drivers no earlier than mid-Jan). I have read somewhere in the X mailing lists that this new Freetype issue is fixed in the new Xft, which made its way to X.org 6.8. Can anyone confirm that they run X.org 6.8 and still have mozilla crashing on www.namesys.com? Or are we all disgruntled ATI customers on X.org 6.7 experiencing this crash :)
Comment 29 Olliver Schinagl 2004-12-28 04:10:37 UTC
I am also using 6.7 (due to ATi driver BS) with freetype 2.1.9.
Might give 6.8 a try without ati drivers. Don't do any 3D much at the moment anyhow. It still stinks though.
Comment 30 Knowles 2004-12-28 05:07:51 UTC
Same problem, firefox - mozilla crashs on select websites with Segmentation fault. Running 6.7 due to ATI hardware. Downgrading freetype worked. 

Do the new ATI drivers not come out till Jan? I thought they where *supposed* to come out in Dec?
Comment 31 Olliver Schinagl 2004-12-28 06:48:13 UTC
Due some last minute changes they wheren't done till the 23rd of dec.
They are waiting for the webguys to put the release online.

I just upgraded to Xorg 6.8 and segfaults have dissapeared aswell. (on namesys.com and vmware.com so far) I think there should be a guard in the ebuild that won't let you emerge the mozilla, freetype 2.1.9, xorg 6.7 combo. It seems as it's a freetype 2.1.9 xorg 6.7 problem So i'd recommend not to allow more than freetype 2.1.5 in combination with 6.7.
Comment 32 Stefan de Konink 2004-12-28 09:24:22 UTC
The ati-driver package should block the upgrade of X.org 6.7 in the first place, which doesn't happen in at this moment (it is still the other way around, you can't install ati-drivers with 6.8). I just emerged freetype and the problems began. I was under the impression the block was for Freetype-old and Firefox-new, not for Freetype and X.org.
Comment 33 Thomas Andersen 2005-01-01 02:25:59 UTC
Downgrading freetype-2.1.9 to freetype-2.1.5 seems to fix the freezes in firefox.  I'm running Xorg-x11-6.7 and ati-drivers-3.14.6.
Comment 34 Eric Nylander 2005-01-02 19:28:46 UTC
Mozilla finally works for me again.
I ended up doing an emerge -e world.
I currently have:

xorg-x11-6.8.0-r4
freetype-2.1.9-r1
mozilla-1.7.5

Comment 35 John Richard Moser 2005-01-06 12:57:06 UTC
Uh


This is an old bug.  I searched for eternity and found an obscure bug about thunderbird doing this because of compatibility.ini

try rm ~/.mozilla/firefox/default*/compatibility.ini

or whatever for thunderbird, etc

it should start.  ONE TIME.  You need to do this each time you start firefox if you suffer from this.
Comment 36 marco 2005-01-07 05:25:42 UTC
Dosen't chance anything.
marco@uma ~ $ rm ~/.mozilla/firefox/default*/compatibility.ini
marco@uma ~ $ firefox
No running windows found
*** loading the extensions datasource
/usr/bin/firefox: line 88: 32316 Speicherzugriffsfehler  $mozbin "$@"

I'm using freetype-2.1.5-r1


emerge info

Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-ck1 i686)
=================================================================
System uname: 2.6.10-ck1 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Aug 21 2004, 11:06:03)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.9.3, 1.5, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/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="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi acpi4linux aim alsa antlr apm arts audiofile avi berkdb bitmap-fonts bluetooth cddb cdr chroot crypt cups doc dvd encode esd ethereal fam flac foomaticdb fortran gda gdbm gif gimp gimpprint glade gphoto2 gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib ipv6 irda irmc jack java jpeg junit kandy kde ldap libwww mad mbox mikmod mime mmx motif mpeg mpeg4 msn mysql ncurses nls odbc oggvorbis opengl oss pam pcmcia pda pdflib perl php png postgres ppds python qt quicktime readline samba scanner sdl slang sox speex spell sse ssl svga tcltk tcpd tetex tiff truetype usb xinerama xml2 xmms xv zlib"
Comment 37 Jacek Sieka 2005-01-07 12:51:30 UTC
I have this bug as well, running firefox/mozilla as root makes it go away.
KEYWORDS="amd64" / xorg-x11-6.8.0-r3 / freetype-2.1.5-r1 / mozilla-1.7.5 / mozilla-firefox-1.0 / gcc-3.4.3 

I can provide more info if needed
Comment 38 Jacek Sieka 2005-01-08 05:08:16 UTC
So, here's for those of you where the bug goes away by running as root:
I found some fonts that were readable by root only, chmod'ding those to their correct permissions solved the crashes...
(if this happens at startup for you, disable the startup page and see if a blank windows shows, if it does, it's possible that you have the same problem as I)
Comment 39 Benjamin Schindler (RETIRED) gentoo-dev 2005-01-10 08:13:38 UTC
mozilla-1.7.5 segfaults here even when beeing root
Comment 40 felco 2005-01-24 09:08:48 UTC
Jacek Sieka,

Please tell what you do
Comment 41 Jonas Ådahl 2005-02-27 17:41:40 UTC
I have the same problem (I'm using an amd64 system). Mozilla-firefox-bin(32bit for flash) works. Epiphany (compiled 64bit) crashes when entering advanced web pages such as slashdot. Mozilla segfaults directly:
> mozilla
No running windows found
/usr/bin/mozilla: line 415: 25822 Segmentation fault      $mozbin "$@"

Epiphany and mozilla is using the same libraries.
Firefox-bin is using it's own 32bit libraries.

Versions:
net-www/mozilla-1.7.5
gtk+-2.4.13-r1 (have tried with newer)
pango-1.6.0 (have tried with newer)
freetype-2.1.5-r1 (have tried with newer)
sys-devel/gcc-3.4.3-r1 (everything on my system is compiled with this compiler)
Comment 42 Jonas Ådahl 2005-03-01 09:41:00 UTC
I tested recompile with USE="debug mozdevelop". One of these two flags solved everything. Epiphany works, and mozilla too.
Comment 43 Octavio Ruiz (Ta^3) 2005-03-02 19:22:33 UTC
Firefox compiled with mozdevelop (as always) and debug:

[ebuild   R   ] net-www/mozilla-firefox-1.0.1  +debug -gnome +java -ldap +mozdevelop -moznoxft +mozsvg -mozxmlterm -xinerama +xprint 

% firefox
No running windows found
Type Manifest File: /home/tacvbo/.mozilla/firefox/r5y5i7f6.default/xpti.dat
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsINIParser.cpp, line 51
GFX: dpi=112 t2p=0.0769231 p2t=13 depth=24
++WEBSHELL == 1
WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file nsPermissionManager.cpp, line 623
++DOMWINDOW == 1
++WEBSHELL == 2
++DOMWINDOW == 2
Note: styleverifytree is disabled
Note: frameverifytree is disabled
Note: verifyreflow is disabled
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file nsUNIXCharset.cpp, line 189
WARNING: GetDefaultCharsetForLocale: need to add multi locale support, file nsUNIXCharset.cpp, line 189
++WEBSHELL == 3
++DOMWINDOW == 3
/usr/bin/firefox: line 88: 30090 Segmentation fault      $mozbin "$@"
firefox-bin exited with non-zero status (0)


Doesn't seems to solve the problem.
Comment 44 Jonas Ådahl 2005-03-03 05:23:58 UTC
I noticed that I had done a recompilation of glibc the night before, and it was this that solved the problem. This is strange because there was no upgrade, and no change in CFLAG settings (not even newer -rX) (I had a 3 days old installation).

Recompilation of glibc without recompilation of mozilla/thunderbird didn't do any difference, but when compiling them after the recompilation they both worked.
Comment 45 Octavio Ruiz (Ta^3) 2005-03-04 08:47:30 UTC
Jonas 
Comment 46 Octavio Ruiz (Ta^3) 2005-03-04 08:47:30 UTC
Jonas Ådahl:

Which version of libc are you using? sys-libs/glibc-2.3.4.20041102? sys-libs/glibc-2.3.4.20050125?
Can you paste here the output of an emerge info?

BTW, I thought you solved the problem switching USE flags (debug mozdevelop)...

Recompilation of glibc and gcc on ~amd64 (20050125) do not work here.
Comment 47 Jonas Ådahl 2005-03-04 12:00:12 UTC
The mozdevelop thing was the first thought that came to me, but then I remembered that I had recompiled glibc some hours before.

The glibc version i have now is 2.3.4.20041102 with multilib, nls, ntpl and userlocales enabled.

I don't normaly use ~amd64, only amd64.

Here is my emerge info:
r0, 2.6.11-gentoo x86_64)
=================================================================
System uname: 2.6.11-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 24 2005, 17:39:23)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fstack-protector -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /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 -march=k8 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fstack-protector -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://gentoo.mirror.sdv.fr http://mirror.pudas.net/gentoo http://ftp.easynet.nl/mirror/gentoo/ http://mirror.uni-c.dk/gentoo/"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts berkdb bitmap-fonts cdr cjk crypt cscope cups curl divx4linux dvd f77 fam flac font-server fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib jack java jp2 jpeg kde libwww lzw lzw-tiff mad mikmod motif mozilla mpeg multilib mysql nas ncurses nls nptl nvidia odbc oggvorbis opengl pam perl png python qt readline samba scanner sdl slang speex ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales xml xml2 xmms xpm xrandr xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS

Though in all my dizzyness I didn't have -fstack-protector -fomit-frame-pointer in CFLAGS. Haven't tried to compile glibc and mozilla with that aftewords, but I haven't heard of any strange things about those two flags.
Comment 48 Octavio Ruiz (Ta^3) 2005-03-05 01:58:05 UTC
% genlop -l (not relevant entries are not showed)

     Fri Mar  4 00:46:47 2005 >>> sys-libs/glibc-2.3.4.20050125
     Fri Mar  4 01:54:34 2005 >>> net-www/mozilla-firefox-1.0.1
     Fri Mar  4 14:44:24 2005 >>> sys-libs/glibc-2.3.4.20041102
     Fri Mar  4 15:35:22 2005 >>> net-www/mozilla-firefox-1.0.1
     Fri Mar  4 18:08:04 2005 >>> sys-libs/glibc-2.3.4.20050125
     Fri Mar  4 22:06:22 2005 >>> net-www/mozilla-firefox-1.0.1

And nop, still having the segfault.
Comment 49 Octavio Ruiz (Ta^3) 2005-03-16 21:16:55 UTC
Wiiiiii!!! Working again :-D

What was? GRrrr, I still don't know.

I (re)installed

     Tue Mar 15 19:44:08 2005 >>> sys-kernel/linux-headers-2.6.11 (need to unmask it)
     Tue Mar 15 22:59:11 2005 >>> sys-libs/glibc-2.3.4.20050125 (to use the new headers)
     Wed Mar 16 06:57:38 2005 >>> net-www/mozilla-firefox-1.0.1 (re-install. I used CFLAGS="-O0 -march=athlon64 -pipe" [note: makefiles (?) dont cares about cflags on some parts of the code which is compiled with -O2])

And now works w/o segfaults :-)
Comment 50 Carlos Silva (RETIRED) gentoo-dev 2005-03-20 14:47:41 UTC
anyone took a look at bug 83511?
If not, the ones who have problems can see if that's the problem?
Comment 51 Aron Griffis (RETIRED) gentoo-dev 2005-03-23 18:39:12 UTC

*** This bug has been marked as a duplicate of 75879 ***