Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 136754

Summary: [3.4/ICE] www-client/mozilla-firefox-1.5.0.4 - gcc segfaults
Product: Gentoo Linux Reporter: vekku2k
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description vekku2k 2006-06-14 03:42:32 UTC
Every time I try to emerge Mozilla Firefox (1.5.0.4) it gives following error:

i386-pc-linux-gnu-g++ -o nsSchemaComponentBase.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2006061412  -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/dom -I../../../../dist/include/xpconnect -I../../../../dist/include/caps -I../../../../dist/include/widget -I../../../../dist/include/content -I../../../../dist/include/js -I../../../../dist/include/htmlparser -I../../../../dist/include/necko -I../../../../dist/include/xmlextras -I../../../../dist/include/websrvcs -I../../../../dist/include -I/usr/include/nspr       -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -mtune=i686 -pipe -Wno-deprecated -Wno-return-type -w -freorder-blocks -fno-reorder-functions -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsSchemaComponentBase.pp nsSchemaComponentBase.cpp
In file included from nsSchemaComponentBase.cpp:39:
../../../../dist/include/xpcom/nsCOMPtr.h: In instantiation of `nsCOMPtr<nsISchemaType>':
../../../../dist/include/xpcom/nsBaseHashtable.h:57:   instantiated from `nsBaseHashtableET<nsStringHashKey, nsCOMPtr<nsISchemaType> >'
../../../../dist/include/xpcom/nsTHashtable.h:139:   instantiated from `nsTHashtable<nsBaseHashtableET<nsStringHashKey, nsCOMPtr<nsISchemaType> > >'
../../../../dist/include/xpcom/nsBaseHashtable.h:84:   instantiated from `nsBaseHashtable<nsStringHashKey, nsCOMPtr<nsISchemaType>, nsISchemaType*>'
../../../../dist/include/xpcom/nsInterfaceHashtable.h:56:   instantiated from `nsInterfaceHashtable<nsStringHashKey, nsISchemaType>'
nsSchemaPrivate.h:99:   instantiated from here
../../../../dist/include/xpcom/nsCOMPtr.h:899: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
i386-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
gmake[5]: *** [nsSchemaComponentBase.o] Error 1
gmake[5]: *** Deleting file `nsSchemaComponentBase.o'
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/extensions/webservices/schema/src'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/extensions/webservices/schema'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/extensions/webservices'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/extensions'
gmake[1]: *** [tier_94] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.5.0.4 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mozilla-firefox-1.5.0.4.ebuild, line 175:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.




emerge --info gives you following details: 

Portage 2.1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fi_FI.utf8"
LC_ALL="en_US.utf8"
LINGUAS="fi en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage/"
USE="x86 3dnow X apache2 apm avi berkdb bitmap-fonts cdr cli crypt cups dri dvd eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection samba sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts vorbis xml xmms xorg xv zlib elibc_glibc kernel_linux linguas_fi linguas_en userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-14 03:45:50 UTC
Can you reproduce the problem, i.e. - does it fail again at *exactly* the same place?
Comment 2 vekku2k 2006-06-14 13:20:18 UTC
(In reply to comment #1)
> Can you reproduce the problem, i.e. - does it fail again at *exactly* the same
> place?
> 

I can reproduce (I mean it won't work if I try it n+1 times...) it but this time it got new line:"The bug is not reproducible, so it is likely a hardware or OS problem.".

This time it's like this:

i386-pc-linux-gnu-g++ -o nsSVGStylableElement.o -c -fvisibility=hidden -fvisibil
ity-inlines-hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux
\" -DBUILD_ID=2006061421 -D_IMPL_NS_LAYOUT  -I../../../../dist/include/xpcom -I.
./../../../dist/include/string -I../../../../dist/include/layout -I../../../../d
ist/include/content -I../../../../dist/include/widget -I../../../../dist/include
/gfx -I../../../../dist/include/dom -I../../../../dist/include/js -I../../../../
dist/include/locale -I../../../../dist/include/htmlparser -I../../../../dist/inc
lude/view -I../../../../dist/include/pref -I../../../../dist/include/necko -I../
../../../dist/include/xpconnect -I../../../../dist/include/webshell -I../../../.
./dist/include/unicharutil -I../../../../dist/include/imglib2 -I../../../../dist
/include/docshell -I../../../../dist/include/content -I../../../../dist/include
-I/usr/include/nspr    -I../../../../dist/sdk/include -I./../../../shared/public
 -I./../../../html/base/src -I./../../../xml/content/src -I./../../../../dom -I.
/../../../base/src -I./../../../../layout/svg/base/src -I./../../../../layout/st
yle -I./../../../events/src -I./../../../html/content/src -I../../../../content/
xbl/src     -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROW
SER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions
  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ct
or-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -mtune=i686 -pipe -Wno-depr
ecated -Wno-return-type -w -freorder-blocks -fno-reorder-functions -fshort-wchar
 -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_
DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/p
lugins\"  -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/n
sSVGStylableElement.pp nsSVGStylableElement.cpp
*** glibc detected *** free(): invalid next size (fast): 0x085ee128 ***
In file included from ../../../../dist/include/content/nsContentUtils.h:52,
                 from ./../../../base/src/nsGenericElement.h:52,
                 from nsSVGElement.h:50,
                 from nsSVGScriptElement.cpp:39:
../../../../dist/include/pref/nsIPref.h:166: internal compiler error: Aborted
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-14 13:40:28 UTC
Well, if it randomly fails at different places, it's not a mozilla problem.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-14 13:59:00 UTC
See the other bug for suggestions.

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