Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190818 (kwin_segfault) - kde-base/kwin-3.5.7 fails to compile with segfault
Summary: kde-base/kwin-3.5.7 fails to compile with segfault
Status: RESOLVED FIXED
Alias: kwin_segfault
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-30 21:22 UTC by Neil Stone
Modified: 2007-09-06 22:35 UTC (History)
0 users

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


Attachments
build.log (build.log,64.18 KB, text/plain)
2007-08-31 20:55 UTC, Neil Stone
Details
strace from "emerge kwin" (kwin-strace.log.bz2,199.96 KB, text/plain)
2007-09-01 08:17 UTC, Neil Stone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Stone 2007-08-30 21:22:50 UTC
when using "emerge kde-meta" i get as far as compiling kwin an get a segfault every time in the same place

Reproducible: Always

Steps to Reproduce:
1. emerge kde-meta
Actual Results:  
/bin/sh: line 1: 17641 Segmentation fault      ./embedtool $pics

Expected Results:  
Succesful compile

 *
 * ERROR: kde-base/kwin-3.5.7 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   kwin-3.5.7.ebuild, line 21:   Called kde-meta_src_compile
 *   kde-meta.eclass, line 380:   Called kde_src_compile
 *   kde.eclass, line 170:   Called kde_src_compile 'all'
 *   kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
 *   kde.eclass, line 336:   Called die
 *
 * died running emake, kde_src_compile:make
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/kwin-3.5.7/temp/build.log'.
 *

 * Messages for package kde-base/kwin-3.5.7:

 *
 * ERROR: kde-base/kwin-3.5.7 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   kwin-3.5.7.ebuild, line 21:   Called kde-meta_src_compile
 *   kde-meta.eclass, line 380:   Called kde_src_compile
 *   kde.eclass, line 170:   Called kde_src_compile 'all'
 *   kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
 *   kde.eclass, line 336:   Called die
 *
 * died running emake, kde_src_compile:make
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/kwin-3.5.7/temp/build.log'.
*************
************* Emerge info follows
*************
Portage 2.1.3.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 29 Aug 2007 22:50:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.18
sys-devel/gcc-config: 1.4.0-r1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -mtune=athlon64 -pipe"
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/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -mtune=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com           ftp://mirrors.blueyonder.co.uk/mirrors/gentoo           http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/              ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LINGUAS="en en_GB"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi aim alsa amd64 apm ares arts audiofile avahi avi bash-completion berkdb
bidi bitmap-fonts blender-game bluetooth bzip2 bzlib calendar cdda cddb cdparanoia cdr cgi cli corba cpudetection cracklib crypt css cups curl daap dbus dga divx4linux dri dts dv dvb dvd dvdr dvdread emerald encode esd ethereal exif expat fam fbcon ffmpeg
firefox flac flash font-server foomaticdb fortran ftp gcj gdbm ggi gif gimpprint glitz gnome gnutls gpm gps gstreamer gtk gtk2 hal httpd iconv icq iee1394 ieee1394 imagemagick ipv6 isdnlog jabber java javascript joystick jpeg kde kdeenablefinal kdehiddenvisibility libcaca live lm_sensors logitech-mouse matroska mcve mdnsresponder-compat mgetty midi mikmod mime mmx mng mod mozilla mozsvg mp3 mpeg mplayer msn mudflap musepack musicbrainz mysql nas ncurses network nls nodrm nptl nptlonly nsplugin nvidia odk offensive ogg oggvorbis opengl openmp optimisememory osc oscar oss pam pcre pda pdf pdflib perl png ppds pppd python qt3 qt4 quicktime rar rdesktop readline recode reflection rtsp sasl scanner sdl sensord session shout skins slang sndfile sound sox speex spell spl sse sse2 ssl stream subtitles svg symlink tcltk tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb utf8 v4l v4l2 vcd videos vlm vorbis wmf wxwindows xcomposite xine xinerama xorg xosd xpm xprint xscreensaver xv xvid yahoo
yv12 zeroconf 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia v4l nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ingmar Vanhassel (RETIRED) gentoo-dev 2007-08-30 22:00:08 UTC
(In reply to comment #0)
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located at
> '/var/tmp/portage/kde-base/kwin-3.5.7/temp/build.log'.

Can you please attach the full build.log ? You didn't post anything leading up to the error.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-31 08:18:52 UTC
(In reply to comment #1)
> Can you please attach the full build.log ? You didn't post anything leading up
> to the error.

Indeed. 

Comment 3 Neil Stone 2007-08-31 20:53:15 UTC
/bin/sh ../../../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-alig
n -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Os -mtune=athlon64 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-d
tor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COM
PAT -DQT_NO_TRANSLATION    -o kwin_default_config.la -rpath /usr/kde/3.5/lib64/kde3 -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -avoid-version -mod
ule -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64  -module config.
lo -lkdeui
make[5]: Leaving directory `/var/tmp/portage/kde-base/kwin-3.5.7/work/kwin-3.5.7/kwin/clients/default/config'
make[4]: Leaving directory `/var/tmp/portage/kde-base/kwin-3.5.7/work/kwin-3.5.7/kwin/clients/default'
Making all in keramik
make[4]: Entering directory `/var/tmp/portage/kde-base/kwin-3.5.7/work/kwin-3.5.7/kwin/clients/keramik'
Making all in .
make[5]: Entering directory `/var/tmp/portage/kde-base/kwin-3.5.7/work/kwin-3.5.7/kwin/clients/keramik'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../../lib -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -
Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Os -mtune=athlo
n64 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlin
es-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o embedtool.o embedtool.cpp
/usr/qt/3/bin/moc ./keramik.h -o keramik.moc
/bin/sh ../../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -
Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Os -mtune=athlon64 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
 -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
 -DQT_NO_TRANSLATION    -o embedtool -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R
/usr/lib64 embedtool.o -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread
pics=`ls ./pics/*.png 2>/dev/null` ;\
        ./embedtool $pics
./pics/border-left.png
./pics/border-right.png
./pics/bottom-center.png
./pics/bottom-left.png
./pics/bottom-right.png
./pics/caption-large-center.png
./pics/caption-large-left.png
./pics/caption-large-right.png
./pics/caption-small-center.png
./pics/caption-small-left.png
./pics/caption-small-right.png
./pics/grabbar-center.png
./pics/grabbar-left.png
./pics/grabbar-right.png
./pics/titlebar-center.png
./pics/titlebar-left.png
./pics/titlebar-right.png
./pics/titlebutton-round-huge.png
/bin/sh: line 1: 13040 Segmentation fault      ./embedtool $pics
Comment 4 Neil Stone 2007-08-31 20:55:23 UTC
Created attachment 129715 [details]
build.log
Comment 5 Neil Stone 2007-08-31 20:56:02 UTC
Sorry, I hope these extras help...
Comment 6 Neil Stone 2007-09-01 08:17:43 UTC
Created attachment 129752 [details]
strace from "emerge kwin"

bzip2'd as it was too large to go alone..