Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87989 - mozilla-firefox-1.0.2 segfault near nsGlobalWindow.o
Summary: mozilla-firefox-1.0.2 segfault near nsGlobalWindow.o
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: 2005-04-04 19:50 UTC by Whit Blauvelt
Modified: 2005-04-05 08:55 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 Whit Blauvelt 2005-04-04 19:50:28 UTC
Here are two runs, the difference being that omit-frame-pointer was removed from the CFLAGS for the second run:

i686-pc-linux-gnu-g++ -o nsDOMWindowList.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -D_IMPL_NS_LAYOUT -I./../events -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/webbrwsr -I../../../dist/include/commandhandler -I../../../dist/include/js -I../../../dist/include/widget -I../../../dist/include/gfx -I../../../dist/include/layout -I../../../dist/include/content -I../../../dist/include/caps -I../../../dist/include/docshell -I../../../dist/include/xpconnect -I../../../dist/include/pref -I../../../dist/include/oji -I../../../dist/include/necko -I../../../dist/include/mimetype -I../../../dist/include/java -I../../../dist/include/locale -I../../../dist/include/uriloader -I../../../dist/include/xuldoc -I../../../dist/include/webshell -I../../../dist/include/view -I../../../dist/include/uconv -I../../../dist/include/shistory -I../../../dist/include/plugin -I../../../dist/include/windowwatcher -I../../../dist/include/chardet -I../../../dist/include/find -I../../../dist/include/appshell -I../../../dist/include/intl -I../../../dist/include/unicharutil -I../../../dist/include/rdf -I../../../dist/include/xultmpl -I../../../dist/include/dom -I../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dist/include/nspr        -fPIC   -fno-rtti -fno-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp -pipe -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2   -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsDOMWindowList.pp nsDOMWindowList.cpp
{standard input}: Assembler messages:
{standard input}:13165: Warning: end of file not at end of a line; newline inserted
{standard input}:13982: Error: junk `@' after expression
{standard input}:13982: Error: suffix or operands invalid for `lea'
i686-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[4]: *** [nsGlobalWindow.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dom/src/base'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dom/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dom'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.0.2 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! (no error message)

=== and the 2nd ===

i686-pc-linux-gnu-g++ -o nsLocation.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -D_IMPL_NS_LAYOUT -I./../events -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/webbrwsr -I../../../dist/include/commandhandler -I../../../dist/include/js -I../../../dist/include/widget -I../../../dist/include/gfx -I../../../dist/include/layout -I../../../dist/include/content -I../../../dist/include/caps -I../../../dist/include/docshell -I../../../dist/include/xpconnect -I../../../dist/include/pref -I../../../dist/include/oji -I../../../dist/include/necko -I../../../dist/include/mimetype -I../../../dist/include/java -I../../../dist/include/locale -I../../../dist/include/uriloader -I../../../dist/include/xuldoc -I../../../dist/include/webshell -I../../../dist/include/view -I../../../dist/include/uconv -I../../../dist/include/shistory -I../../../dist/include/plugin -I../../../dist/include/windowwatcher -I../../../dist/include/chardet -I../../../dist/include/find -I../../../dist/include/appshell -I../../../dist/include/intl -I../../../dist/include/unicharutil -I../../../dist/include/rdf -I../../../dist/include/xultmpl -I../../../dist/include/dom -I../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dist/include/nspr        -fPIC   -fno-rtti -fno-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp -pipe -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2   -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsLocation.pp nsLocation.cpp
{standard input}: Assembler messages:
{standard input}:9174: Warning: end of file not at end of a line; newline inserted
i686-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[4]: *** [nsGlobalWindow.o] Error 1
gmake[4]: *** Deleting file `nsGlobalWindow.o'
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dom/src/base'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dom/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dom'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.0.2 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! (no error message)

===

Haven't had any other compile problems or system problems lately, except for mozilla-firefox 1.0.1 a few weeks back, which failed in a different section, reported separately here. Going to try it without prefetch-loop-arrays and unroll-loops next.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.9-win4lin-r6n i686)
=================================================================
System uname: 2.6.9-win4lin-r6n i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4
(#1, Feb 14 2005, 15:45:56)]
dev-lang/python:     2.2.3-r5, 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, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/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/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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl emboss
encode esd fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 guile
imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mbox mikmod motif mozilla
mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Whit Blauvelt 2005-04-04 20:10:29 UTC
Without prefetch-loop-arrays and unroll-loops:

i686-pc-linux-gnu-g++ -o nsJSNPRuntime.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DHAVE_DEPENDENT_LIBS  -I../../../../dist/include/xpcom -I../../../../dist/include/xpconnect -I../../../../dist/include/string -I../../../../dist/include/java -I../../../../dist/include/pref -I../../../../dist/include/necko -I../../../../dist/include/caps -I../../../../dist/include/intl -I../../../../dist/include/uconv -I../../../../dist/include/unicharutil -I../../../../dist/include/dom -I../../../../dist/include/gfx -I../../../../dist/include/content -I../../../../dist/include/widget -I../../../../dist/include/mimetype -I../../../../dist/include/oji -I../../../../dist/include/exthandler -I../../../../dist/include/docshell -I../../../../dist/include/webshell -I../../../../dist/include/windowwatcher -I../../../../dist/include/imglib2 -I../../../../dist/include/layout -I../../../../dist/include/js -I../../../../dist/include/locale -I../../../../dist/include/gtkxtbin -I../../../../dist/include/plugin -I../../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dist/include/nspr     -I.    -fPIC   -fno-rtti -fno-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp -pipe -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsJSNPRuntime.pp nsJSNPRuntime.cpp
{standard input}: Assembler messages:
{standard input}:1455: Warning: end of file not at end of a line; newline inserted
i686-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[3]: *** [nsJSNPRuntime.o] Error 1
gmake[3]: *** Deleting file `nsJSNPRuntime.o'
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/modules/plugin/base/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/modules/plugin'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.0.2 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! (no error message)

===

Next I'll see if that replicates in same place with these settings.
Comment 2 Whit Blauvelt 2005-04-04 20:29:13 UTC
Yup, replicates at same place when flags are the same:

i686-pc-linux-gnu-g++ -o nsJSNPRuntime.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DHAVE_DEPENDENT_LIBS  -I../../../../dist/include/xpcom -I../../../../dist/include/xpconnect -I../../../../dist/include/string -I../../../../dist/include/java -I../../../../dist/include/pref -I../../../../dist/include/necko -I../../../../dist/include/caps -I../../../../dist/include/intl -I../../../../dist/include/uconv -I../../../../dist/include/unicharutil -I../../../../dist/include/dom -I../../../../dist/include/gfx -I../../../../dist/include/content -I../../../../dist/include/widget -I../../../../dist/include/mimetype -I../../../../dist/include/oji -I../../../../dist/include/exthandler -I../../../../dist/include/docshell -I../../../../dist/include/webshell -I../../../../dist/include/windowwatcher -I../../../../dist/include/imglib2 -I../../../../dist/include/layout -I../../../../dist/include/js -I../../../../dist/include/locale -I../../../../dist/include/gtkxtbin -I../../../../dist/include/plugin -I../../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/dist/include/nspr     -I.    -fPIC   -fno-rtti -fno-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp -pipe -Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsJSNPRuntime.pp nsJSNPRuntime.cpp
{standard input}: Assembler messages:
{standard input}:1455: Warning: end of file in string; inserted '"'
i686-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[3]: *** [nsJSNPRuntime.o] Error 1
gmake[3]: *** Deleting file `nsJSNPRuntime.o'
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/modules/plugin/base/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla/modules/plugin'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.2/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.0.2 failed.
!!! Function src_compile, Line 109, Exitcode 2
Comment 3 Whit Blauvelt 2005-04-05 08:55:14 UTC
Finally got a good compile. Memtest-86 didn't find anything wrong in memory. And the /var partition had plenty of space. But deleting some files from /var and then compiling from outside X resulted in a clean compile. Maybe it was hitting a bad spot in the (reiser) filesystem?