| Summary: | kde apps segfault after glibc upgrade, dcopidl broken too | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Binary Runner <rostislav.matl> |
| Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | chad.simmons |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I've tried to run dcopidl with gdb, I don't understand these things much, maybe it will help. (gdb) run Starting program: /usr/kde/3.5/bin/dcopidl warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' warning: Cannot initialize thread debugging library: unknown thread_db error '22' Program received signal SIGSEGV, Segmentation fault. 0x00002b1431011ea8 in ?? () from /lib64/ld-linux-x86-64.so.2 (gdb) backtrace #0 0x00002b1431011ea8 in ?? () from /lib64/ld-linux-x86-64.so.2 #1 0x00002b14332a28d2 in __pthread_initialize_minimal_internal () from /usr/lib64/libpthread.so.0 #2 0x00002b14332a2059 in _init () from /usr/lib64/libpthread.so.0 #3 0x0000000000000000 in ?? () try either rebuilding world or rebuilding all packages that have files owned from the ldd output for the program that is segfaulting.
ldd /usr/kde/3.5/bin/dcopidl
/usr/lib64/libesddsp.so.0 (0x00002ac8bfb6d000)
/usr/lib64/libesd.so.0 (0x00002ac8bfd71000)
libqt-mt.so.3 => /usr/qt/3/lib64/libqt-mt.so.3 (0x00002ac8bff7c000)
libmng.so.1 => /usr/lib64/libmng.so.1 (0x00002ac8c09d3000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002ac8c0c43000)
libXi.so.6 => /usr/lib64/libXi.so.6 (0x00002ac8c0d64000)
libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00002ac8c0f6d000)
libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00002ac8c1178000)
libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00002ac8c1380000)
libXft.so.2 => /usr/lib64/libXft.so.2 (0x00002ac8c158a000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00002ac8c179f000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00002ac8c1a2a000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00002ac8c1b5e000)
libz.so.1 => /lib/libz.so.1 (0x00002ac8c1dae000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00002ac8c1fc3000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002ac8c20d4000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00002ac8c23de000)
libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00002ac8c24e1000)
libdl.so.2 => /lib/libdl.so.2 (0x00002ac8c25e6000)
libSM.so.6 => /usr/lib64/libSM.so.6 (0x00002ac8c26eb000)
libICE.so.6 => /usr/lib64/libICE.so.6 (0x00002ac8c28f4000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002ac8c2b10000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6 (0x00002ac8c2c2b000)
libm.so.6 => /lib/libm.so.6 (0x00002ac8c2e29000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002ac8c2fa9000)
libc.so.6 => /lib/libc.so.6 (0x00002ac8c30b7000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x00002ac8c32f5000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x00002ac8c35c2000)
liblcms.so.1 => /usr/lib/liblcms.so.1 (0x00002ac8c36ed000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00002ac8c3922000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00002ac8c3a28000)
/lib64/ld-linux-x86-64.so.2 (0x00002ac8bfa51000)
*** This bug has been marked as a duplicate of bug 196085 *** I think that this happend using ccacche in core packages like gcc and libc. In forum.gentoo.org there is a thread with that. I've used paludis for installation and I think the ccache is not enabled, although I'm not sure a I do not know paludis so well. (In reply to comment #4) > I think that this happend using ccacche in core packages like gcc and libc. > In forum.gentoo.org there is a thread with that. > |
I've upgraded to glibc 2.6.1, after that both amarok and k3b segfault. It probably affects more applications but as gnome user I rarely use more than these two, I only know that krusader runs without problems. I've tried to recompile kdellibs as I do not have any better idea what to do at this time. But both the already installed and the new compiled dcopidl segfaults and without it I cannot build the libs. I'm desperate as I do not know how to solve the problem. Paludis blocks glibc downgrade and I'm not sure if it is a good idea at all although I did compiled only sveral packages after the instalaltion of the new glibc. My platform is amd64, I will provide further information ASAP, if it helps. My compilation settings: CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" CXXFLAGS="${CFLAGS}" CBUILD="x86_64-pc-linux-gnu" gcc -v : Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --enable-libmudflap --disable-libssp --enable-java-awt=gtk --enable-objc-gc --enable-languages=c,c++,java,objc,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.2 (Gentoo 4.1.2 p1.0.1) Reproducible: Always Steps to Reproduce: 1. upgrade to glibc 2.6.1 2. run /usr/kde/3.5/bin/dcopidl , segfaults 3. run /usr/kde/3.5/bin/dcopidl2cpp, segfaults 4. emerge kde-libs (paludis -i kde-base/kdelibs) 5. segfault in newly compiled dcopidl Actual Results: Making all in dcopidl make[4]: Entering directory `/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/work/kdelibs-3.5.7/dcop/dcopidl' creating dcopidl.all_cc.cc ... x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DYYDEBUG -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 -march=athlon64 -mtune=athlon64 -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o dcopidl.all_cc.o dcopidl.all_cc.cc In file included from dcopidl.all_cc.cc:3: scanner.cc:966:5: warning: "YY_STACK_USED" is not defined scanner.cc:2200:5: warning: "YY_ALWAYS_INTERACTIVE" is not defined scanner.cc:2494:5: warning: "YY_MAIN" is not defined scanner.cc:2467: warning: 'void* yy_flex_realloc(void*, yy_size_t)' defined but not used x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DYYDEBUG -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 -march=athlon64 -mtune=athlon64 -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o main.o main.cpp /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 -march=athlon64 -mtune=athlon64 -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -o dcopidl -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 dcopidl.all_cc.o main.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread make[4]: Leaving directory `/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/work/kdelibs-3.5.7/dcop/dcopidl' ... make[4]: Entering directory `/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/work/kdelibs-3.5.7/kdecore' ... x86_64-pc-linux-gnu-ranlib libkdefakes_nonpic.a /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I. -I../kio/kssl -I../kjs -I../kdefx -I../kdecore/network -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdecore/network -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -I/usr/include/libart-2.0 -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon64 -mtune=athlon64 -O2 -pipe -Wformat-security -Wmissing-format-attribute -c -o fakes.lo fakes.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I. -I../kio/kssl -I../kjs -I../kdefx -I../kdecore/network -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdecore/network -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -I/usr/include/libart-2.0 -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon64 -mtune=athlon64 -O2 -pipe -Wformat-security -Wmissing-format-attribute -c -o vsnprintf.lo vsnprintf.c /bin/sh ../libtool --silent --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon64 -mtune=athlon64 -O2 -pipe -Wformat-security -Wmissing-format-attribute -o libkdefakes.la -rpath /usr/kde/3.5/lib64 -version-info 6:0:2 fakes.lo vsnprintf.lo ../dcop/dcopidl/dcopidl ./ksycoca.h > ksycoca.kidl || ( rm -f ksycoca.kidl ; false ) /bin/sh: line 1: 32564 Segmentation fault ../dcop/dcopidl/dcopidl ./ksycoca.h > ksycoca.kidl make[4]: *** [ksycoca.kidl] Error 1 make[4]: Leaving directory `/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/work/kdelibs-3.5.7/kdecore' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/work/kdelibs-3.5.7/kdecore' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/work/kdelibs-3.5.7/kdecore' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/work/kdelibs-3.5.7' make: *** [all] Error 2 !!! ERROR in kde-base/kdelibs-3.5.7-r3: !!! In kde_src_compile at line 3898 !!! died running emake, kde_src_compile:make !!! Call stack: !!! * kde_src_compile (/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/temp/loadsaveenv:3898) !!! * kde_src_compile (/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/temp/loadsaveenv:3902) !!! * kde_src_compile (/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/temp/loadsaveenv:3781) !!! * src_compile (/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/temp/loadsaveenv:5199) !!! * ebuild_f_compile (/usr/libexec/paludis/src_compile.bash:51) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:363) !!! * main (/usr/libexec/paludis/ebuild.bash:381) die trap: exiting with error. Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-ck1 x86_64) ================================================================= System uname: 2.6.22-ck1 x86_64 AMD Athlon(tm) 64 Processor 3000+ Timestamp of tree: Thu, 18 Oct 2007 07:50:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.5-r3, 2.4.4-r5, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 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.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer nostrip paralell-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.mneisen.org/gentoo http://gentoo.mneisen.org/ http://213.186.33.37/gentoo-distfiles/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/" LC_ALL="en_GB.utf8" LINGUAS="en" 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" PORTDIR_OVERLAY="/opt/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnowext X aac accessibility acl acpi alsa amd64 avahi berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cups dbus dedicated dri dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jack jikes jpeg kerberos ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg opengl openmp oss pam pch pcre pdf perl png portaudio pppd python qt3support qt4 quicktime readline reflection rtc sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xinerama xml xorg xv zlib" ALSA_CARDS="intel8x0 virmidi" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia v4l vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS