I upgraded to ksmserver-4.3.1 and later to 4.3.2. Both of them crash on logout. Reproducible: Always Steps to Reproduce: (1. Create a new user) 2. startx (kde-3.5) 3. "Log Out" ksmserver.kcrash: (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0x7fab956ff750 (LWP 18513)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #5 0x0000000000000001 in ?? () #6 0x00007fab92217105 in jpeg_CreateDecompress () from /usr/lib64/libjpeg.so.62 #7 0x00007fab92c58a78 in ?? () from /usr/qt/3/lib64/libqt-mt.so.3 #8 0x00007fab929d0b79 in QImageIO::read () from /usr/qt/3/lib64/libqt-mt.so.3 #9 0x00007fab929d0f06 in QImage::load () from /usr/qt/3/lib64/libqt-mt.so.3 #10 0x00007fab93f408d7 in KIconLoader::loadIcon () from /usr/kde/3.5/lib64/libkdecore.so.4 #11 0x00007fab93f40f0c in UserIcon () from /usr/kde/3.5/lib64/libkdecore.so.4 #12 0x00007fab8dad5c73 in KSMShutdownDlg::KSMShutdownDlg () from /usr/kde/3.5/lib64/libkdeinit_ksmserver.so #13 0x00007fab8dad6689 in KSMShutdownDlg::confirmShutdown () from /usr/kde/3.5/lib64/libkdeinit_ksmserver.so #14 0x00007fab8dae1465 in KSMServer::shutdown () from /usr/kde/3.5/lib64/libkdeinit_ksmserver.so #15 0x00007fab90a9f9ea in _SmsProcessMessage () from /usr/lib64/libSM.so.6 #16 0x00007fab9068a5b1 in IceProcessMessages () from /usr/lib64/libICE.so.6 #17 0x00007fab8dace4c0 in KSMServer::processData () from /usr/kde/3.5/lib64/libkdeinit_ksmserver.so #18 0x00007fab8dacf3bd in KSMServer::qt_invoke () from /usr/kde/3.5/lib64/libkdeinit_ksmserver.so #19 0x00007fab929fa9fe in QObject::activate_signal () from /usr/qt/3/lib64/libqt-mt.so.3 #20 0x00007fab929fcb63 in QObject::activate_signal () from /usr/qt/3/lib64/libqt-mt.so.3 #21 0x00007fab92a1611b in QSocketNotifier::event () from /usr/qt/3/lib64/libqt-mt.so.3 #22 0x00007fab9299dab5 in QApplication::internalNotify () from /usr/qt/3/lib64/libqt-mt.so.3 #23 0x00007fab9299ebea in QApplication::notify () from /usr/qt/3/lib64/libqt-mt.so.3 #24 0x00007fab93ed7412 in KApplication::notify () from /usr/kde/3.5/lib64/libkdecore.so.4 #25 0x00007fab92993670 in QEventLoop::activateSocketNotifiers () from /usr/qt/3/lib64/libqt-mt.so.3 #26 0x00007fab929500d5 in QEventLoop::processEvents () from /usr/qt/3/lib64/libqt-mt.so.3 #27 0x00007fab929b3fd9 in QEventLoop::enterLoop () from /usr/qt/3/lib64/libqt-mt.so.3 #28 0x00007fab929b3e62 in QEventLoop::exec () from /usr/qt/3/lib64/libqt-mt.so.3 #29 0x00007fab8dacde43 in kdemain () from /usr/kde/3.5/lib64/libkdeinit_ksmserver.so #30 0x0000000000408736 in ?? () #31 0x0000000000408edd in ?? () #32 0x0000000000409644 in ?? () #33 0x0000000000409e15 in ?? () #34 0x00007fab8e806a26 in __libc_start_main () from /lib/libc.so.6 #35 0x0000000000405319 in ?? () #36 0x00007fffaa53dc38 in ?? () #37 0x000000000000001c in ?? () #38 0x0000000000000005 in ?? () #39 0x00007fffaa53e69d in ?? () #40 0x0000000000000000 in ?? () emerge --info: Portage 2.1.7.1 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-1.12.11.1 Timestamp of tree: Sun, 18 Oct 2009 12:45:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 1.3.7-r1, 2.1.9-r1 dev-lang/python: 2.5.4-r2, 2.6.2-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -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/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY=" " SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 arts berkdb blas bluetooth bzip2 cairo caps cdinstall cdr clamav cli consolekit cracklib crypt cups cupsddk dbus dri dvd dvdr dvdread embedded encode fbcon firefox fortran gcj gdbm gif gnuplot gpm gstreamer iconv imap ipv6 isdnlog java jpeg jpeg2k kde kpathsea lapack latex libedit lm_sensors mmx mng modules moznopango mp3 mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin oav opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 readline reflection samba scanner sdl session spl sql sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis webkit wmf xorg xulrunner xv xvid 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 mmap_emul 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I just noticed that I have both ksmserver-4.3.2 and ksmserver-3.5.10. The latter should be the problem for XSESSION="kde-3.5". KDE 4.3 seems to work fine. But I definitely don't want to use it.
The problem disappeared with the upgrade from kdelibs-3.5.9-r4 to kdelibs-3.5.10-r6.
You have been linking against the wrong media-libs/jpeg version. If you re-emerge it, then you should see the following post-install message: * Old versions of installed libraries were detected on your system. * In order to avoid breaking packages that depend on these old libs, * the libraries are not being removed. You need to run revdep-rebuild * in order to remove these old dependencies. If you do not have this * helper program, simply emerge the 'gentoolkit' package. * * # revdep-rebuild --library libjpeg.so.62 * * Once you've finished running revdep-rebuild, it should be safe to * delete the old libraries. Here is a copy & paste for the lazy: * # rm '/usr/lib/libjpeg.so.62'