Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26524 - g++ segfault building mozilla
Summary: g++ segfault building mozilla
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-13 00:45 UTC by Andreas Boeyer
Modified: 2004-03-20 14:29 UTC (History)
1 user (show)

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 Andreas Boeyer 2003-08-13 00:45:28 UTC
I try to emerge mozilla and I get a segmentation fault 

Reproducible: Always
Steps to Reproduce:
1.emerge mozilla 
2. 
3. 
Actual Results:  
segmentation fault 

Expected Results:  
mozilla installed 

here are the last lines 
 
g++ -o nsEditorCommands.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"  
-I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/dom 
-I../../../dist/include/locale -I../../../dist/include/layout -I../../../dist/include/content 
-I../../../dist/include/txmgr -I../../../dist/include/txtsvc -I../../../dist/include/htmlparser 
-I../../../dist/include/necko -I../../../dist/include/pref -I../../../dist/include/view 
-I../../../dist/include/gfx -I../../../dist/include/widget -I../../../dist/include/xuldoc 
-I../../../dist/include/unicharutil -I../../../dist/include/commandhandler 
-I../../../dist/include/docshell -I../../../dist/include/editor -I../../../dist/include 
-I/var/tmp/portage/mozilla-1.4-r3/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=i686 -pipe -Wno-deprecated 
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h 
-Wp,-MD,.deps/nsEditorCommands.pp nsEditorCommands.cpp 
../../../dist/include/string/nsBufferHandle.h: In destructor `virtual 
   nsCopyCommand::~nsCopyCommand()': 
../../../dist/include/string/nsBufferHandle.h:381: internal error: Segmentation 
   fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://bugs.gentoo.org/> for instructions. 
make[4]: *** [nsEditorCommands.o] Error 1 
make[4]: *** Waiting for unfinished jobs.... 
make[4]: Leaving directory 
`/var/tmp/portage/mozilla-1.4-r3/work/mozilla/editor/libeditor/base' 
make[3]: *** [libs] Error 2 
make[3]: Leaving directory 
`/var/tmp/portage/mozilla-1.4-r3/work/mozilla/editor/libeditor' 
make[2]: *** [libs] Error 2 
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.4-r3/work/mozilla/editor' 
make[1]: *** [tier_9] Error 2 
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.4-r3/work/mozilla' 
make: *** [default] Error 2 
 
!!! ERROR: net-www/mozilla-1.4-r3 failed. 
!!! Function src_compile, Line 351, Exitcode 2 
!!! (no error message)
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-08-13 01:00:58 UTC
Add the output of emerge info please.
Comment 2 Andreas Boeyer 2003-08-13 01:28:58 UTC
How do I get the emerge info? 
Comment 3 Andreas Boeyer 2003-08-13 01:36:52 UTC
Here is the emerge.log 
 
1060700518: Started emerge on: Aug 12, 2003 17:01:58 
1060700518:  *** emerge  mozilla 
1060700518:  >>> emerge (1 of 6) app-arch/zip-2.3-r2 to / 
1060700518:  === (1 of 6) Cleaning (/usr/portage/app-arch/zip/zip-2.3-r2.ebuild) 
1060700519:  === (1 of 6) Compiling/Merging 
(/usr/portage/app-arch/zip/zip-2.3-r2.ebuild) 
1060700552:  === (1 of 6) Post-Build Cleaning 
(/usr/portage/app-arch/zip/zip-2.3-r2.ebuild) 
1060700553:  >>> AUTOCLEAN: app-arch/zip 
1060700553:  --- AUTOCLEAN: Nothing unmerged. 
1060700553:  ::: completed emerge (1 of 6) app-arch/zip-2.3-r2 to / 
1060700553:  >>> emerge (2 of 6) dev-db/unixODBC-2.2.2 to / 
1060700553:  === (2 of 6) Cleaning 
(/usr/portage/dev-db/unixODBC/unixODBC-2.2.2.ebuild) 
1060700553:  === (2 of 6) Compiling/Merging 
(/usr/portage/dev-db/unixODBC/unixODBC-2.2.2.ebuild) 
1060702300:  === (2 of 6) Post-Build Cleaning 
(/usr/portage/dev-db/unixODBC/unixODBC-2.2.2.ebuild) 
1060702302:  >>> AUTOCLEAN: dev-db/unixODBC 
1060702302:  --- AUTOCLEAN: Nothing unmerged. 
1060702302:  ::: completed emerge (2 of 6) dev-db/unixODBC-2.2.2 to / 
1060702302:  >>> emerge (3 of 6) net-nds/openldap-2.0.27-r4 to / 
1060702302:  === (3 of 6) Cleaning 
(/usr/portage/net-nds/openldap/openldap-2.0.27-r4.ebuild) 
1060702302:  === (3 of 6) Compiling/Merging 
(/usr/portage/net-nds/openldap/openldap-2.0.27-r4.ebuild) 
1060702885:  === (3 of 6) Post-Build Cleaning 
(/usr/portage/net-nds/openldap/openldap-2.0.27-r4.ebuild) 
1060702886:  >>> AUTOCLEAN: net-nds/openldap 
1060702886:  --- AUTOCLEAN: Nothing unmerged. 
1060702886:  ::: completed emerge (3 of 6) net-nds/openldap-2.0.27-r4 to / 
1060702886:  >>> emerge (4 of 6) x11-misc/xloadimage-4.1-r1 to / 
1060702886:  === (4 of 6) Cleaning 
(/usr/portage/x11-misc/xloadimage/xloadimage-4.1-r1.ebuild) 
1060702886:  === (4 of 6) Compiling/Merging 
(/usr/portage/x11-misc/xloadimage/xloadimage-4.1-r1.ebuild) 
1060702933:  === (4 of 6) Post-Build Cleaning 
(/usr/portage/x11-misc/xloadimage/xloadimage-4.1-r1.ebuild) 
1060702934:  >>> AUTOCLEAN: x11-misc/xloadimage 
1060702934:  --- AUTOCLEAN: Nothing unmerged. 
1060702934:  ::: completed emerge (4 of 6) x11-misc/xloadimage-4.1-r1 to / 
1060702934:  >>> emerge (5 of 6) app-crypt/gnupg-1.2.2-r1 to / 
1060702934:  === (5 of 6) Cleaning 
(/usr/portage/app-crypt/gnupg/gnupg-1.2.2-r1.ebuild) 
1060702934:  === (5 of 6) Compiling/Merging 
(/usr/portage/app-crypt/gnupg/gnupg-1.2.2-r1.ebuild) 
1060703126:  === (5 of 6) Post-Build Cleaning 
(/usr/portage/app-crypt/gnupg/gnupg-1.2.2-r1.ebuild) 
1060703127:  >>> AUTOCLEAN: app-crypt/gnupg 
1060703127:  --- AUTOCLEAN: Nothing unmerged. 
1060703127:  ::: completed emerge (5 of 6) app-crypt/gnupg-1.2.2-r1 to / 
1060703127:  >>> emerge (6 of 6) net-www/mozilla-1.4-r3 to / 
1060703127:  === (6 of 6) Cleaning 
(/usr/portage/net-www/mozilla/mozilla-1.4-r3.ebuild) 
1060703127:  === (6 of 6) Compiling/Merging 
(/usr/portage/net-www/mozilla/mozilla-1.4-r3.ebuild) 
1060708122:  *** terminating. 
1060761057:  *** terminating. 
1060761098:  *** terminating. 
 
Comment 4 Shahar Goldin 2003-08-13 03:05:48 UTC
to get the output of emerge info,
type
emerge info

copy and paste the results into the "additional comments" box of your bug

:-)
Comment 5 Andreas Boeyer 2003-08-13 03:31:22 UTC
Here is the emerge info 
Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine) 
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss 3dnow apm foomaticdb gpm gnome libwww mad mikmod ncurses zlib 
gdbm berkdb readline svga sdl esd imlib gtk motif mmx matrox cups slp X dga opengl 
xv fbcon directfb kde qt qtmt arts gif jpeg png tiff avi mpeg quicktime alsa dvd xmms 
oggvorbis flash encode pam ssl crypt socks5 imap ldap tcpd xface mozilla 
mozaccess-builtin mozclt mozirc mozxmlterm spell truetype xml xml2 pdflib tetex java 
perl python slang libg++ mysql postgres odbc samba nls doc" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-O2 -mcpu=i686 -pipe" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
 
 
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-08-13 08:50:25 UTC
Are you able to reproduce the problem? Does it always crash with the same error in the same source file? If not, it's most likely a hardware problem.
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2004-03-20 14:29:32 UTC
No repeats of this bug, sounds like a hardware problem, closing the bug.