Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44213 - mozilla-1.6-r1 seg faults during emerge
Summary: mozilla-1.6-r1 seg faults during emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-09 20:47 UTC by Alan
Modified: 2004-03-21 14:10 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 Alan 2004-03-09 20:47:56 UTC
mozilla-1.6-r1 seg faults during emerge. Here is the tail of output before the emerge dies:

nsDocLoader.cpp: In member function `virtual nsresult
   nsDocLoaderImpl::OnStatus(nsIRequest*, nsISupports*, unsigned int, const
   PRUnichar*)':
nsDocLoader.cpp:1091: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
make[3]: *** [nsDocLoader.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla/uriloader/base'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla/uriloader'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla'
make: *** [default] Error 2
                                                                                                                                                            
!!! ERROR: net-www/mozilla-1.6-r1 failed.
!!! Function src_compile, Line 378, Exitcode 2
!!! (no error message)

A number of other users experiencing same issue, discussed here:
http://forums.gentoo.org/viewtopic.php?t=146880

Reproducible: Always
Steps to Reproduce:
1. su
2. emerge sync
3. emerge -u mozilla


Actual Results:  
Received the error described.

Expected Results:  
Emerged mozilla error free.

root@tombstone ~ $ emerge info
Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
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/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo
ftp://cudlug.cudenver.edu/pub/mirrors/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 aalib acpi acpi4linux aim alsa apm arts avi berkdb bonobo cddb cdr crypt
dv dvd dvdr esd gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libwww mmx
mozctl mozilla moznocompose moznoirc mpeg nls opengl pam perl pic png python qt
quicktime readline samba spell sse ssl svga tcpd tiff truetype type1 usb x86 xml
xml2 xmms zlib"
Comment 1 Timothy Miller 2004-03-09 21:04:51 UTC
My errors are a little different.  They are:

nsChromeProtocolHandler.cpp 
g++ -o nsChromeProtocolHandler.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/rdf -I../../../dist/include/xuldoc -I../../../dist/include/gfx -I../../../dist/include/layout -I../../../dist/include/content -I../../../dist/include/necko -I../../../dist/include/dom -I../../../dist/include/intl -I../../../dist/include/widget -I../../../dist/include/js -I../../../dist/include/appshell -I../../../dist/include/caps -I../../../dist/include/pref -I../../../dist/include/docshell -I../../../dist/include/imglib2 -I../../../dist/include/xpconnect -I../../../dist/include/jar -I../../../dist/include/chrome -I../../../dist/include -I/var/tmp/portage/mozilla-1.6-r1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -mcpu=athlon-xp -march=athlon-xp -pipe -s -fforce-addr -Wno-deprecated -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsChromeProtocolHandler.pp nsChromeProtocolHandler.cpp 
{standard input}: Assembler messages: 
{standard input}:2062: Warning: rest of line ignored; first ignored character is `,' 
{standard input}:2063: Error: unknown pseudo-op: `.p2ovign' 
{standard input}:2064: Error: unknown pseudo-op: `.gloca' 
make[4]: *** [nsChromeProtocolHandler.o] Error 1 
make[4]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla/rdf/chrome/src' 
make[3]: *** [libs] Error 2 
make[3]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla/rdf/chrome' 
make[2]: *** [libs] Error 2 
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla/rdf' 
make[1]: *** [tier_9] Error 2 
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.6-r1/work/mozilla' 
make: *** [default] Error 2 

!!! ERROR: net-www/mozilla-1.6-r1 failed. 
!!! Function src_compile, Line 378, Exitcode 2 
!!! (no error message)
Comment 2 Timothy Miller 2004-03-09 21:50:15 UTC
Oh, and this is MY 'emerge info':

Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 AMD Athlon(tm) XP 2800+
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d acpi aim apache2 apm arts avi berkdb bonobo cdr crypt cups dga directfb emacs emacs-w3 encode esd evo fbcon foomaticdb gb gd gdbm gif gnome gpm gtk gtk2 gtkhtml imagemagick imlib innodb java jpeg kde libg++ libgda libwww mad mikmod mmx motif mozilla mpeg msn mysql ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png postgres python qt quicktime readline samba sasl scanner sdl slang spell sse ssl svga tcltk tcpd theora tiff truetype unicode usb wxwindows x86 xml xml2 xmms xv zlib"

Comment 3 Timothy Miller 2004-03-10 06:55:01 UTC
I would like to suggest increasing the priority and severity of this bug, because it is completely preventing me from building a gentoo system.  The severity should be 'blocker'.
Comment 4 Nicolas Laplante 2004-03-10 21:36:54 UTC
Not sure if it helps, but I've been having similar problems emerging firefox-0.8. It always crashed randomly during the build process.

I then maxed out the rpm of my CPU fan and the build process went ok afterwards.

Maybe it's an overheating issue you guys are having?
Comment 5 Timothy Miller 2004-03-10 22:36:29 UTC
It's not going to be an over-heating problem in my case.  For one thing, it always crashed while compiling the file.  Secondly, I have a huge copper heat sync, with the fan speed maxed out.  It's in an Antec server case with two intake fans, and two exhaust fans in addition to the dual-fan power supply.  This system runs VERY COOL.

Nope... this problem is an actual bug in something.
Comment 6 Brad Laue (RETIRED) gentoo-dev 2004-03-13 11:37:54 UTC
Try without -fomit-frame-pointer, por favor
Comment 7 Timothy Miller 2004-03-18 08:22:38 UTC
It turns out that the "bug" is in Corsair's specs.  They aren't honest about the fact that a "Command Rate" of 1 is the number 1 cause of instability.  I set command rate to 2 and everything was cleared up.

Sorry for the trouble.
Comment 8 Aron Griffis (RETIRED) gentoo-dev 2004-03-21 14:10:33 UTC
Regarding the original bug report, note the following message in the output, "The bug is not reproduceable, so it is likely a hardware or OS problem".  This is indeed the case.  Alan, you have an overheating CPU or something like that.  Sorry there's nothing I can do about that.