Version: 4.6 (using KDE 4.6.2) OS: Linux After a fresh installation of gentoo + kde 4.6.2 (kdebase set), kded crashes after login. I can not start it manually either. I did not configure anything, just installed that stuff. Reproducible: Always Steps to Reproduce: kded crashes all the time when kde or i try to run it. Actual Results: kded crashes, kcrash handler gives the following information: Application: KDE Daemon (kdeinit4), signal: Bus error [KCrash Handler] #6 0x00007f471b628e49 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #7 0x00007f471b61eeaf in QPluginLoader::load() () from /usr/lib64/qt4/libQtCore.so.4 #8 0x00007f471bbbbe60 in KPluginLoader::load (this=0x7fff59551a50) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kdecore/util/kpluginloader.cpp:224 #9 0x00007f471bbbc1dc in KPluginLoader::factory (this=0x1aa6998) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kdecore/util/kpluginloader.cpp:189 #10 0x00007f4708412d16 in Kded::loadModule (this=0x19eee10, s=..., onDemand=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kded/kded.cpp:388 #11 0x00007f4708414615 in Kded::initModules (this=0x19eee10) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kded/kded.cpp:269 #12 0x00007f470841673e in KDEDApplication::newInstance (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kded/kded.cpp:847 #13 0x00007f471c41be42 in KUniqueApplicationAdaptor::newInstance (this=0x1a7fc40, asn_id=<value optimized out>, args=...) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kdeui/kernel/kuniqueapplication.cpp:436 #14 0x00007f471c41c4a6 in KUniqueApplicationAdaptor::qt_metacall (this=0x1a7fc40, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff595520f0) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2_build/kdeui/kuniqueapplication_p.moc:81 #15 0x00007f47184478d9 in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #16 0x00007f47184493c6 in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #17 0x00007f4718449e95 in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #18 0x00007f471844a128 in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #19 0x00007f471b64babe in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #20 0x00007f471a7c4166 in QApplication::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #21 0x00007f471a7c17dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #22 0x00007f471a7c6c7d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #23 0x00007f471c4145c6 in KApplication::notify (this=0x7fff595530f0, receiver=0x7fff595530f0, event=0x19f2de0) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311 #24 0x00007f471b639d2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #25 0x00007f471b63ccb1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4 #26 0x00007f471b6662d3 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #27 0x00007f471706efa1 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #28 0x00007f4717073638 in ?? () from /usr/lib64/libglib-2.0.so.0 #29 0x00007f47170737ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #30 0x00007f471b665e13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #31 0x00007f471a87392e in ?? () from /usr/lib64/qt4/libQtGui.so.4 #32 0x00007f471b638a82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #33 0x00007f471b638e64 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #34 0x00007f471b63cedb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #35 0x00007f470841522a in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kded/kded.cpp:925 #36 0x0000000000407f33 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b26b "0") at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kinit/kinit.cpp:734 #37 0x0000000000409d1c in main (argc=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kinit/kinit.cpp:1849 When i run kded from konsole using gdb i get the following information: GNU gdb (Gentoo 7.2 p1) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/kded4...Reading symbols from /usr/lib64/debug/usr/bin/kded4.debug...done. done. (gdb) run Starting program: /usr/bin/kded4 [Thread debugging using libthread_db enabled] kded(3227): KUniqueApplication: Cannot find the D-Bus session server: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." kded(3224): KUniqueApplication: Pipe closed unexpectedly. Program exited with code 0377. Expected Results: kded should run fine here is my emerge --info: $ emerge --info Portage 2.2.0_alpha37 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.37-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.2 Timestamp of tree: Fri, 03 Jun 2011 16:45:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo Installed sets: @kdebase ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA skype-eula AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" 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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ rsync://de-mirror.org/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://mirror.opteamax.de/gentoo/ rsync://mirror.opteamax.de/gentoo/ http://mirror.opteamax.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp.join.uni-muenster.de/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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.de.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus declarative djvu dri dts dvd dvdr emboss encode exif extras fam firefox flac fortran gadu gdbm gdu gif gnutls gpm groupwise gtk handbook iconv ipv6 java jingle jpeg kde laptop latex lcms ldap libnotify mad meanwhile mmx mng modules mp3 mp4 mpeg msn mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin ogg opengl openmp oscar otr pam pango pcre pdf perl png policykit ppds pppd python qq qt3support qt4 readline sdl secure-delete semantic-desktop session skype sms spell sse sse2 ssl startup-notification svg sysfs system-sqlite tcpd testbed threads tiff truetype udev unicode usb v4l2 vorbis webpresence winpopup x264 xcb xine xml xorg xulrunner xv xvid yahoo 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> Cannot find the D-Bus session server Is the "dbus-daemon" process running for your user?
(In reply to comment #1) dbus is running fine: $ rc-status Runlevel: default dbus [ started ] syslog-ng [ started ] consolekit [ started ] net.eth0 [ started ] netmount [ started ] xdm [ started ] alsasound [ started ] udev-postmount [ started ] vixie-cron [ started ] local [ started ] Dynamic Runlevel: hotplugged net.wlan0 [ started ] net.eth0 [ started ] Dynamic Runlevel: needed udev-mount [ started ] xdm-setup [ started ] Dynamic Runlevel: manual mysql [ started ]
It crashes in the Qt4 plugin loader, so there is most certainly a problem with your Qt installation. Please make sure you only install a single Qt library version. If the bug is reproducible, please install debug symbols for the Qt library (or compile Qt in debug mode).
Ok i recompiled qt with debug symbols. I now get this from kcrashhandler: Application: KDE Daemon (kdeinit4), signal: Bus error [KCrash Handler] #6 0x00007fabc6a46e49 in qt_find_pattern (this=0x16a5fa0, settings=<value optimized out>) at plugin/qlibrary.cpp:327 #7 qt_unix_query (this=0x16a5fa0, settings=<value optimized out>) at plugin/qlibrary.cpp:371 #8 QLibraryPrivate::isPlugin (this=0x16a5fa0, settings=<value optimized out>) at plugin/qlibrary.cpp:645 #9 0x00007fabc6a3ceaf in QPluginLoader::load (this=0x7fff2232fa30) at plugin/qpluginloader.cpp:224 #10 0x00007fabc6fd9e60 in KPluginLoader::load (this=0x7fff2232fa30) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kdecore/util/kpluginloader.cpp:224 #11 0x00007fabc6fda1dc in KPluginLoader::factory (this=0x16a57e8) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kdecore/util/kpluginloader.cpp:189 #12 0x00007fabb37c7d16 in Kded::loadModule (this=0x15dae20, s=..., onDemand=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kded/kded.cpp:388 #13 0x00007fabb37c9615 in Kded::initModules (this=0x15dae20) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kded/kded.cpp:269 #14 0x00007fabb37cb73e in KDEDApplication::newInstance (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kded/kded.cpp:847 #15 0x00007fabc7839e42 in KUniqueApplicationAdaptor::newInstance (this=0x166bc50, asn_id=<value optimized out>, args=...) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kdeui/kernel/kuniqueapplication.cpp:436 #16 0x00007fabc783a4a6 in KUniqueApplicationAdaptor::qt_metacall (this=0x166bc50, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff223300d0) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2_build/kdeui/kuniqueapplication_p.moc:81 #17 0x00007fabc38658d9 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:941 #18 0x00007fabc38673c6 in QDBusConnectionPrivate::activateCall (this=<value optimized out>, object=0x166bc50, flags=337, msg=...) at qdbusintegrator.cpp:844 #19 0x00007fabc3867e95 in QDBusConnectionPrivate::activateObject (this=<value optimized out>, node=<value optimized out>, msg=..., pathStartPos=<value optimized out>) at qdbusintegrator.cpp:1409 #20 0x00007fabc3868128 in QDBusActivateObjectEvent::placeMetaCall (this=0x15dedf0) at qdbusintegrator.cpp:1523 #21 0x00007fabc6a69abe in QObject::event (this=0x7fff223310d0, e=0x16a57e8) at kernel/qobject.cpp:1217 #22 0x00007fabc5be2166 in QApplication::event (this=0x7fff223310d0, e=0x15dedf0) at kernel/qapplication.cpp:2503 #23 0x00007fabc5bdf7dc in QApplicationPrivate::notify_helper (this=0x15e00e0, receiver=0x7fff223310d0, e=0x15dedf0) at kernel/qapplication.cpp:4462 #24 0x00007fabc5be4c7d in QApplication::notify (this=0x7fff223310d0, receiver=0x7fff223310d0, e=0x15dedf0) at kernel/qapplication.cpp:4341 #25 0x00007fabc78325c6 in KApplication::notify (this=0x7fff223310d0, receiver=0x7fff223310d0, event=0x15dedf0) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311 #26 0x00007fabc6a57d2b in QCoreApplication::notifyInternal (this=0x7fff223310d0, receiver=0x7fff223310d0, event=0x15dedf0) at kernel/qcoreapplication.cpp:731 #27 0x00007fabc6a5acb1 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x153ea40) at kernel/qcoreapplication.h:215 #28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x153ea40) at kernel/qcoreapplication.cpp:1372 #29 0x00007fabc6a842d3 in sendPostedEvents (s=0x15e2d20) at kernel/qcoreapplication.h:220 #30 postEventSourceDispatch (s=0x15e2d20) at kernel/qeventdispatcher_glib.cpp:277 #31 0x00007fabc248cfa1 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #32 0x00007fabc2491638 in ?? () from /usr/lib64/libglib-2.0.so.0 #33 0x00007fabc24917ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #34 0x00007fabc6a83e13 in QEventDispatcherGlib::processEvents (this=0x15e0070, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #35 0x00007fabc5c9194e in QGuiEventDispatcherGlib::processEvents (this=0x16a57e8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #36 0x00007fabc6a56a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #37 0x00007fabc6a56e64 in QEventLoop::exec (this=0x7fff22331020, flags=) at kernel/qeventloop.cpp:201 #38 0x00007fabc6a5aedb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #39 0x00007fabb37ca22a in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kded/kded.cpp:925 #40 0x0000000000407f33 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b26b "0") at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kinit/kinit.cpp:734 #41 0x0000000000409d1c in main (argc=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r3/work/kdelibs-4.6.2/kinit/kinit.cpp:1849 Maybe I should recompile glib with debug symbols, too, because there are still some question marks? In the gdb output it says the application cannot find the D-Bus session-server and one possible cause could be "the message bus security policy blocked the reply". I didn't configure polkit and i don't have polkit-kde installed, could this be any problem?
This is indeed a problem in Qt. If you are using Qt from 4.8 branch (or 4.8 technology preview), please update to latest checkout, there was a recent regression that got fixed. If the problem persists with a newer checkout, please report this problem to Nokia via http://bugreports.qt.nokia.com/secure/Dashboard.jspa