Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229863 - x11-wm/metacity-2.22.0 / gcc 4.3.1 - core/window.c:3114: internal compiler error: Segmentation fault
Summary: x11-wm/metacity-2.22.0 / gcc 4.3.1 - core/window.c:3114: internal compiler er...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-28 05:14 UTC by Craig Goodrich
Modified: 2008-06-29 11:07 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge--info,9.59 KB, text/plain)
2008-06-28 12:14 UTC, BedOS_Gui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Goodrich 2008-06-28 05:14:22 UTC
emerge -u1 gnome was rebuilding metacity (make -j3) on 2008b2 with updated glibc and gcc.  GCC segfaulted.

Reproducible: Always

Steps to Reproduce:
1. emerge metacity
2.
3.

Actual Results:  
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0   -I ./include -DMETACITY_LIBEXECDIR=\"/usr/libexec\" -DHOST_ALIAS=\"x86_64-pc-linux-gnu\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\" -DMETACITY_PKGDATADIR=\"/usr/share/metacity\" -DMETACITY_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1    -O3 -pipe -march=athlon64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o `test -f 'core/window.c' || echo './'`core/window.c
mv -f .deps/util.Tpo .deps/util.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0   -I ./include -DMETACITY_LIBEXECDIR=\"/usr/libexec\" -DHOST_ALIAS=\"x86_64-pc-linux-gnu\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\" -DMETACITY_PKGDATADIR=\"/usr/share/metacity\" -DMETACITY_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1    -O3 -pipe -march=athlon64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT workspace.o -MD -MP -MF .deps/workspace.Tpo -c -o workspace.o `test -f 'core/workspace.c' || echo './'`core/workspace.c
mv -f .deps/workspace.Tpo .deps/workspace.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0   -I ./include -DMETACITY_LIBEXECDIR=\"/usr/libexec\" -DHOST_ALIAS=\"x86_64-pc-linux-gnu\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\" -DMETACITY_PKGDATADIR=\"/usr/share/metacity\" -DMETACITY_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1    -O3 -pipe -march=athlon64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT xprops.o -MD -MP -MF .deps/xprops.Tpo -c -o xprops.o `test -f 'core/xprops.c' || echo './'`core/xprops.c
mv -f .deps/window-props.Tpo .deps/window-props.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0   -I ./include -DMETACITY_LIBEXECDIR=\"/usr/libexec\" -DHOST_ALIAS=\"x86_64-pc-linux-gnu\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\" -DMETACITY_PKGDATADIR=\"/usr/share/metacity\" -DMETACITY_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1    -O3 -pipe -march=athlon64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT fixedtip.o -MD -MP -MF .deps/fixedtip.Tpo -c -o fixedtip.o `test -f 'ui/fixedtip.c' || echo './'`ui/fixedtip.c
core/xprops.c: In function 'wm_hints_from_results':
core/xprops.c:729: warning: signed and unsigned type in conditional expression
core/xprops.c:732: warning: signed and unsigned type in conditional expression
core/xprops.c:733: warning: signed and unsigned type in conditional expression
core/xprops.c: In function 'size_hints_from_results':
core/xprops.c:853: warning: signed and unsigned type in conditional expression
core/xprops.c:854: warning: signed and unsigned type in conditional expression
core/xprops.c:855: warning: signed and unsigned type in conditional expression
core/xprops.c:856: warning: signed and unsigned type in conditional expression
core/xprops.c:857: warning: signed and unsigned type in conditional expression
core/xprops.c:858: warning: signed and unsigned type in conditional expression
core/xprops.c:859: warning: signed and unsigned type in conditional expression
core/xprops.c:860: warning: signed and unsigned type in conditional expression
core/xprops.c:861: warning: signed and unsigned type in conditional expression
core/xprops.c:862: warning: signed and unsigned type in conditional expression
core/xprops.c:863: warning: signed and unsigned type in conditional expression
core/xprops.c:864: warning: signed and unsigned type in conditional expression
core/xprops.c:865: warning: signed and unsigned type in conditional expression
core/xprops.c:866: warning: signed and unsigned type in conditional expression
core/xprops.c:871: warning: signed and unsigned type in conditional expression
core/xprops.c:872: warning: signed and unsigned type in conditional expression
core/xprops.c:873: warning: signed and unsigned type in conditional expression
core/window.c: In function 'meta_window_begin_wireframe':
core/window.c:3888: warning: 'display_height' may be used uninitialized in this function
core/window.c:3888: warning: 'display_width' may be used uninitialized in this function
core/window.c: In function 'meta_window_update_wireframe':
core/window.c:3914: warning: 'display_height' may be used uninitialized in this function
core/window.c:3914: warning: 'display_width' may be used uninitialized in this function
mv -f .deps/xprops.Tpo .deps/xprops.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0   -I ./include -DMETACITY_LIBEXECDIR=\"/usr/libexec\" -DHOST_ALIAS=\"x86_64-pc-linux-gnu\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\" -DMETACITY_PKGDATADIR=\"/usr/share/metacity\" -DMETACITY_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1    -O3 -pipe -march=athlon64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT frames.o -MD -MP -MF .deps/frames.Tpo -c -o frames.o `test -f 'ui/frames.c' || echo './'`ui/frames.c
mv -f .deps/fixedtip.Tpo .deps/fixedtip.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/startup-notification-1.0   -I ./include -DMETACITY_LIBEXECDIR=\"/usr/libexec\" -DHOST_ALIAS=\"x86_64-pc-linux-gnu\" -DMETACITY_LOCALEDIR=\"/usr/share/locale\" -DMETACITY_PKGDATADIR=\"/usr/share/metacity\" -DMETACITY_DATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1    -O3 -pipe -march=athlon64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o `test -f 'ui/menu.c' || echo './'`ui/menu.c
core/window.c: In function 'meta_window_move_resize_internal':
core/window.c:3114: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[4]: *** [window.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/menu.Tpo .deps/menu.Po
mv -f .deps/frames.Tpo .deps/frames.Po
make[4]: Leaving directory `/var/tmp/portage/x11-wm/metacity-2.22.0/work/metacity-2.22.0/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-wm/metacity-2.22.0/work/metacity-2.22.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-wm/metacity-2.22.0/work/metacity-2.22.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/metacity-2.22.0/work/metacity-2.22.0'
make: *** [all] Error 2
 *
 * ERROR: x11-wm/metacity-2.22.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  709:  Called gnome2_src_compile
 *             environment, line  630:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure



Running in a konsole on KDE.  Hardware is a HP laptop, AMD64X2.

emerge --info
Portage 2.2_rc1 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.7 x86_64)
=================================================================
System uname: Linux-2.6.25.7-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-60-with-glibc2.2.5
Timestamp of tree: Fri, 27 Jun 2008 21:06:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode vorbis xcomposite xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia% vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 BedOS_Gui 2008-06-28 12:14:16 UTC
no segfault on my athlon64X2 with

[ebuild   R   ] x11-wm/metacity-2.22.0  USE="debug xinerama" 0 kB 

and emerge --info in attchment
Comment 2 BedOS_Gui 2008-06-28 12:14:37 UTC
Created attachment 158739 [details]
emerge --info
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-28 13:19:08 UTC
When you build it again, does GCC fail exactly in the same line?
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-06-29 09:57:20 UTC
hi highly doudbt this is metacity's code being borked. Please note that -O3 optimization level isn't supported by gnome herd nor by gnome upstream.

Adding toolchain to CC.
Comment 5 SpanKY gentoo-dev 2008-06-29 11:07:26 UTC
builds fine for me

verify it crashes at the same place every time and if so, post the preprocessed output as an attachment