Bug 121462 - kded often hangs after login, eats 100% cpu and prevents apps/services from being started
Summary: kded often hangs after login, eats 100% cpu and prevents apps/services from b...
Status: RESOLVED DUPLICATE of bug 108210
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kded (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 12:19 UTC by Marc Schiffbauer
Modified: 2007-02-04 21:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer 2006-02-06 12:19:50 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Ubuntu Packages
OS:                Linux

several apps wont start then and the workaround is to start a console, "killall -9 kded" and then start kded manually again.

How can I provide further information?

Cheers
-Marc
Comment 1 Stephan Binner 2006-02-06 17:24:32 UTC
"dcop kded" to get a list of running kded services
Comment 2 Marc Schiffbauer 2006-02-08 19:38:45 UTC
OK, now it happened again. But I guess the following information is not that helpful. Do you expect more useful informatin if I installed dbg packages like kdelibs4-dbg or something?

mschiff@homer:~$ dcop kded

[hangs here]

--> ctrl-c

kded:
 5465 ?        R     11:00 kded [kdeinit]

strace:
mschiff@homer:~$ strace -fFp 5465
Process 5465 attached - interrupt to quit

gdb:
mschiff@homer:~$ gdb -p 5465
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Attaching to process 5465
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

warning: could not load vsyscall page because no executable was specified

warning: try using the "file" command first
Reading symbols from /usr/bin/kdeinit...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libkparts.so.2...Reading symbols from /usr/lib/debug/usr/lib/libkparts.so.2.1.0...done.
done.
Loaded symbols for /usr/lib/libkparts.so.2
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libkio.so.4...Reading symbols from /usr/lib/debug/usr/lib/libkio.so.4.2.0...done.
done.
Loaded symbols for /usr/lib/libkio.so.4
Reading symbols from /usr/lib/libkdecore.so.4...Reading symbols from /usr/lib/debug/usr/lib/libkdecore.so.4.2.0...done.
done.
Loaded symbols for /usr/lib/libkdecore.so.4
Reading symbols from /usr/lib/libqt-mt.so.3...done.
Loaded symbols for /usr/lib/libqt-mt.so.3
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libXft.so.2...done.
Loaded symbols for /usr/lib/libXft.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libkdeui.so.4...Reading symbols from /usr/lib/debug/usr/lib/libkdeui.so.4.2.0...done.
done.
Loaded symbols for /usr/lib/libkdeui.so.4
Reading symbols from /usr/lib/libkdesu.so.4...Reading symbols from /usr/lib/debug/usr/lib/libkdesu.so.4.2.0...done.
done.
Loaded symbols for /usr/lib/libkdesu.so.4
Reading symbols from /usr/lib/libkwalletclient.so.1...Reading symbols from /usr/lib/debug/usr/lib/libkwalletclient.so.1.0.1...done.
done.
Loaded symbols for /usr/lib/libkwalletclient.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libfam.so.0...done.
Loaded symbols for /usr/lib/libfam.so.0
Reading symbols from /lib/libacl.so.1...done.
Loaded symbols for /lib/libacl.so.1
Reading symbols from /lib/libattr.so.1...done.
Loaded symbols for /lib/libattr.so.1
Reading symbols from /usr/lib/libDCOP.so.4...Reading symbols from /usr/lib/debug/usr/lib/libDCOP.so.4.2.0...done.
done.
Loaded symbols for /usr/lib/libDCOP.so.4
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2
Reading symbols from /lib/tls/i686/cmov/libutil.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libutil.so.1
Reading symbols from /usr/lib/libart_lgpl_2.so.2...done.
Loaded symbols for /usr/lib/libart_lgpl_2.so.2
Reading symbols from /usr/lib/libidn.so.11...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /usr/lib/libkdefx.so.4...Reading symbols from /usr/lib/debug/usr/lib/libkdefx.so.4.2.0...done.
done.
Loaded symbols for /usr/lib/libkdefx.so.4
Reading symbols from /usr/lib/libaudio.so.2...done.
Loaded symbols for /usr/lib/libaudio.so.2
Reading symbols from /usr/lib/libXt.so.6...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libXi.so.6...done.
Loaded symbols for /usr/lib/libXi.so.6
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXinerama.so.1...done.
Loaded symbols for /usr/lib/libXinerama.so.1
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -1231304480 (LWP 5465)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libkonq.so.4...done.
Loaded symbols for /usr/lib/libkonq.so.4
Reading symbols from /usr/lib/X11/locale/common/xlcUTF8Load.so.2...done.
Loaded symbols for /usr/lib/X11/locale/common/xlcUTF8Load.so.2
Reading symbols from /usr/lib/X11/locale/common/ximcp.so.2...done.
Loaded symbols for /usr/lib/X11/locale/common/ximcp.so.2
Reading symbols from /usr/lib/kde3/kded.so...done.
Loaded symbols for /usr/lib/kde3/kded.so
Reading symbols from /usr/lib/libkdeinit_kded.so...done.
Loaded symbols for /usr/lib/libkdeinit_kded.so
Reading symbols from /usr/lib/kde3/plugins/styles/lipstik.so...done.
Loaded symbols for /usr/lib/kde3/plugins/styles/lipstik.so
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /usr/lib/kde3/kded_dnssdwatcher.so...done.
Loaded symbols for /usr/lib/kde3/kded_dnssdwatcher.so
Reading symbols from /usr/lib/libkdnssd.so.1...Reading symbols from /usr/lib/debug/usr/lib/libkdnssd.so.1.0.0...done.
done.
Loaded symbols for /usr/lib/libkdnssd.so.1
Reading symbols from /usr/lib/libavahi-qt3.so.0...done.
Loaded symbols for /usr/lib/libavahi-qt3.so.0
Reading symbols from /usr/lib/libavahi-common.so.0...done.
Loaded symbols for /usr/lib/libavahi-common.so.0
Reading symbols from /usr/lib/libavahi-client.so.1...done.
Loaded symbols for /usr/lib/libavahi-client.so.1
Reading symbols from /usr/lib/libdbus-1.so.1...done.
Loaded symbols for /usr/lib/libdbus-1.so.1
Reading symbols from /usr/lib/kde3/kded_mediamanager.so...done.
Loaded symbols for /usr/lib/kde3/kded_mediamanager.so
Reading symbols from /usr/lib/libhal-storage.so.1...done.
Loaded symbols for /usr/lib/libhal-storage.so.1
Reading symbols from /usr/lib/libhal.so.1...done.
Loaded symbols for /usr/lib/libhal.so.1
Reading symbols from /usr/lib/libdbus-qt-1.so.1...done.
Loaded symbols for /usr/lib/libdbus-qt-1.so.1
Reading symbols from /usr/lib/kde3/kded_kmilod.so...done.
Loaded symbols for /usr/lib/kde3/kded_kmilod.so
Reading symbols from /usr/lib/libkmilo.so.1...done.
Loaded symbols for /usr/lib/libkmilo.so.1
Reading symbols from /usr/lib/kde3/kmilo_thinkpad.so...done.
Loaded symbols for /usr/lib/kde3/kmilo_thinkpad.so
Reading symbols from /usr/lib/kde3/kmilo_asus.so...done.
Loaded symbols for /usr/lib/kde3/kmilo_asus.so
Reading symbols from /usr/lib/kde3/kmilo_kvaio.so...done.
Loaded symbols for /usr/lib/kde3/kmilo_kvaio.so
Reading symbols from /usr/lib/libXtst.so.6...done.
Loaded symbols for /usr/lib/libXtst.so.6
Reading symbols from /usr/lib/kde3/kmilo_delli8k.so...done.
Loaded symbols for /usr/lib/kde3/kmilo_delli8k.so
Reading symbols from /usr/lib/kde3/kmilo_generic.so...done.
Loaded symbols for /usr/lib/kde3/kmilo_generic.so
Reading symbols from /usr/lib/kde3/kded_systemdirnotify.so...done.
Loaded symbols for /usr/lib/kde3/kded_systemdirnotify.so
Reading symbols from /usr/lib/kde3/kded_kinetd.so...done.
Loaded symbols for /usr/lib/kde3/kded_kinetd.so
Reading symbols from /usr/lib/libslp.so.1...done.
Loaded symbols for /usr/lib/libslp.so.1
Reading symbols from /usr/lib/kde3/kded_networkstatus.so...done.
Loaded symbols for /usr/lib/kde3/kded_networkstatus.so
Reading symbols from /usr/lib/kde3/kded_kwrited.so...done.
Loaded symbols for /usr/lib/kde3/kded_kwrited.so
Reading symbols from /usr/lib/kde3/kded_medianotifier.so...done.
Loaded symbols for /usr/lib/kde3/kded_medianotifier.so
Reading symbols from /usr/lib/kde3/kded_remotedirnotify.so...done.
Loaded symbols for /usr/lib/kde3/kded_remotedirnotify.so
Reading symbols from /usr/lib/kde3/kded_khotkeys.so...done.
Loaded symbols for /usr/lib/kde3/kded_khotkeys.so
Reading symbols from /usr/lib/libkhotkeys_shared.so.1...done.
Loaded symbols for /usr/lib/libkhotkeys_shared.so.1
Reading symbols from /usr/lib/kde3/kded_kcookiejar.so...Reading symbols from /usr/lib/debug/usr/lib/kde3/kded_kcookiejar.so...done.
done.
Loaded symbols for /usr/lib/kde3/kded_kcookiejar.so
Reading symbols from /usr/lib/kde3/kded_kpasswdserver.so...Reading symbols from /usr/lib/debug/usr/lib/kde3/kded_kpasswdserver.so...done.
done.
Loaded symbols for /usr/lib/kde3/kded_kpasswdserver.so
Reading symbols from /usr/lib/kde3/kded_kwalletd.so...Reading symbols from /usr/lib/debug/usr/lib/kde3/kded_kwalletd.so...done.
done.
Loaded symbols for /usr/lib/kde3/kded_kwalletd.so
Reading symbols from /usr/lib/libkwalletbackend.so.1...Reading symbols from /usr/lib/debug/usr/lib/libkwalletbackend.so.1.0.0...done.
done.
Loaded symbols for /usr/lib/libkwalletbackend.so.1
Reading symbols from /usr/lib/kde3/kded_konqy_preloader.so...done.
Loaded symbols for /usr/lib/kde3/kded_konqy_preloader.so
Reading symbols from /usr/lib/kde3/kded_favicons.so...done.
Loaded symbols for /usr/lib/kde3/kded_favicons.so
Reading symbols from /usr/lib/qt3/plugins/imageformats/libqmng.so...done.
Loaded symbols for /usr/lib/qt3/plugins/imageformats/libqmng.so
Reading symbols from /usr/lib/libmng.so.1...done.
Loaded symbols for /usr/lib/libmng.so.1
Reading symbols from /usr/lib/liblcms.so.1...done.
Loaded symbols for /usr/lib/liblcms.so.1
Reading symbols from /usr/lib/kde3/kimg_ico.so...Reading symbols from /usr/lib/debug/usr/lib/kde3/kimg_ico.so...done.
done.
Loaded symbols for /usr/lib/kde3/kimg_ico.so
Reading symbols from /usr/lib/X11/locale/common/xomGeneric.so.2...done.
Loaded symbols for /usr/lib/X11/locale/common/xomGeneric.so.2
0xb724a604 in QGListIterator::get () from /usr/lib/libqt-mt.so.3
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) bt
#0  0xb724a604 in QGListIterator::get () from /usr/lib/libqt-mt.so.3
#1  0xb72c075f in QPtrListIterator<QPostEvent>::current () from /usr/lib/libqt-mt.so.3
#2  0xb72bb4ed in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#3  0xb72bb280 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#4  0xb72bb5aa in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#5  0xb725df4f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#6  0xb6bfb5d0 in DCOPClient::call (this=0x8187290, remApp=@0xbf9d6714, remObjId=@0xbf9d671c, remFun=@0xbf9d65f4,
    data=@0xbf9d6778, replyType=@0xbf9d6770, replyData=@0xbf9d6768, useEventLoop=false, timeout=-1) at dcopclient.cpp:1754
#7  0xb6bfd1a3 in DCOPRef::callInternal (this=0xbf9d6714, fun=@0xbf9d67c0, args=@0xbf9d6780, data=@0xbf9d6778,
    useEventLoop=NoEventLoop, timeout=-1) at dcopref.cpp:77
#8  0xb6bfd28f in DCOPRef::callInternal (this=0xbf9d6714, fun=@0xbf9d67c0, args=@0xbf9d6780, data=@0xbf9d6778)
    at dcopref.cpp:52
#9  0xb6c42cfd in KWallet::Wallet::openWallet (name=@0xbf9d6848, w=0, ot=KWallet::Wallet::Synchronous) at dcopref.h:523
#10 0xb63f60db in KPasswdServer::openWallet (this=0x820d9c0, windowId=0) at kpasswdserver.cpp:292
#11 0xb63f8f09 in KPasswdServer::checkAuthInfo (this=0x820d9c0, info=@0xbf9d6a18, windowId=0) at kpasswdserver.cpp:218
#12 0xb63f9395 in KPasswdServer::process (this=0x820d9c0, fun=@0xbf9d6de4, data=@0xbf9d6ddc, replyType=@0xbf9d6dd4,
    replyData=@0xbf9d6dcc) at kpasswdserver_skel.cpp:38
#13 0xb6bf8475 in DCOPClient::receive (this=0x8187290, objId=@0xbf9d6dec, fun=@0xbf9d6de4, data=@0xbf9d6ddc,
    replyType=@0xbf9d6dd4, replyData=@0xbf9d6dcc) at dcopclient.cpp:1640
#14 0xb6bf9afb in DCOPProcessInternal (d=0x8187b50, opcode=2, key=110, dataReceived=@0xbf9d6ea8, canPost=true)
    at dcopclient.cpp:518
#15 0xb6bfa3d5 in DCOPProcessMessage (iceConn=0x8187c98, clientObject=0x8187b50, opcode=2, length=295, replyWait=0x0,
    replyWaitRet=0xbf9d6f14) at dcopclient.cpp:430
#16 0xb6c06d4e in KDE_IceProcessMessages (iceConn=0x8187c98, replyWait=0x0, replyReadyRet=0x0)
    at /root/kde351/kdelibs/kdelibs-3.5.1/./dcop/KDE-ICE/process.c:326
#17 0xb6bf27be in DCOPClient::processSocketData (this=0x8187290, fd=4) at dcopclient.cpp:2009
#18 0xb6bfa794 in DCOPClient::qt_invoke (this=0x8187290, _id=2, _o=0xbf9d70c8) at dcopclient.moc:176
#19 0xb7322929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#20 0xb7323238 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#21 0xb7682c67 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#22 0xb7342faa in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#23 0xb72b9f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#24 0xb72ba172 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#25 0xb794c0cc in KApplication::notify (this=0xbf9d8114, receiver=0x819bf38, event=0xbf9d7410) at kapplication.cpp:550
#26 0xb724adb7 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#27 0xb72abacb in QEventLoop::activateSocketNotifiers () from /usr/lib/libqt-mt.so.3
#28 0xb725ea60 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#29 0xb72d1cfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#30 0xb72b8c3f in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#31 0xb74d3320 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#32 0xb6346197 in KWalletD::internalOpen (this=0x81e9550, appid=@0x8370d0c, wallet=@0x8370d18, isPath=false, w=44040199)
    at kwalletd.cpp:426
#33 0xb63470bb in KWalletD::doTransactionOpen (this=0x81e9550, appid=@0x8370d0c, wallet=@0x8370d18, wId=44040199)
    at kwalletd.cpp:337
#34 0xb6348131 in KWalletD::processTransactions (this=0x81e9550) at kwalletd.cpp:152
#35 0xb634bba8 in KWalletD::qt_invoke (this=0x81e9550, _id=7, _o=0xbf9d7ad8) at kwalletd.moc:100
#36 0xb7322929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#37 0xb7681e92 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#38 0xb7340344 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#39 0xb7347e88 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#40 0xb72b9f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#41 0xb72ba172 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#42 0xb794c0cc in KApplication::notify (this=0xbf9d8114, receiver=0x8188fa0, event=0xbf9d7e38) at kapplication.cpp:550
#43 0xb724adb7 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#44 0xb72ab99b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
#45 0xb725ea84 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#46 0xb72d1cfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#47 0xb72d1c1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#48 0xb72b8c13 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#49 0xb677737d in kdemain () from /usr/lib/libkdeinit_kded.so
#50 0xb7fc1540 in kdeinitmain () from /usr/lib/kde3/kded.so
#51 0x0804df98 in ?? ()
#52 0x00000001 in ?? ()
#53 0x08171de8 in ?? ()
#54 0xbf9d84f8 in ?? ()
#55 0x0804dfdc in ?? ()
#56 0x00000000 in ?? ()
#57 0x00000000 in ?? ()
#58 0x00000000 in ?? ()
#59 0x00000000 in ?? ()
#60 0x00000000 in ?? ()
#61 0x00000000 in ?? ()
#62 0x00000000 in ?? ()
#63 0x080505de in vtable for QPtrList<char> ()
#64 0x00000001 in ?? ()
#65 0x00000000 in ?? ()
#66 0x00000000 in ?? ()
#67 0x00000000 in ?? ()
#68 0x00000000 in ?? ()
#69 0x00000000 in ?? ()
#70 0x00000000 in ?? ()
#71 0x00000000 in ?? ()
#72 0x00000000 in ?? ()
#73 0x00000000 in ?? ()
#74 0x00000000 in ?? ()
#75 0x00000000 in ?? ()
#76 0xb77b5630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#77 0x00000000 in ?? ()
#78 0x00000000 in ?? ()
#79 0x00000000 in ?? ()
#80 0x08051400 in vtable for QCString ()
#81 0x080f70f0 in ?? ()
#82 0x08051400 in vtable for QCString ()
#83 0x080f7018 in ?? ()
#84 0x08051400 in vtable for QCString ()
#85 0x080f7008 in ?? ()
#86 0x08051400 in vtable for QCString ()
#87 0x080f7008 in ?? ()
#88 0x08051400 in vtable for QCString ()
#89 0x080f7058 in ?? ()
#90 0xb77b5630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#91 0x080f7058 in ?? ()
#92 0xb77b5630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#93 0x080f7018 in ?? ()
#94 0xb77b5630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#95 0x080f70f0 in ?? ()
#96 0x00000000 in ?? ()
#97 0x00000000 in ?? ()
#98 0x00000000 in ?? ()
#99 0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#100 0x00000000 in ?? ()
#101 0x00000000 in ?? ()
#102 0xb77b5630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#103 0x08172b58 in ?? ()
#104 0x00000000 in ?? ()
#105 0x00000000 in ?? ()
#106 0x00000000 in ?? ()
#107 0x00000000 in ?? ()
#108 0x00000000 in ?? ()
#109 0x00000000 in ?? ()
#110 0xb77b5630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#111 0x00000000 in ?? ()
#112 0x00000000 in ?? ()
#113 0x00000000 in ?? ()
#114 0x00000000 in ?? ()
#115 0x00000000 in ?? ()
#116 0x00000000 in ?? ()
#117 0x00000000 in ?? ()
#118 0x00000000 in ?? ()
#119 0x00000000 in ?? ()
#120 0x00000000 in ?? ()
#121 0x00000000 in ?? ()
#122 0x00000000 in ?? ()
#123 0x080f7038 in ?? ()
#124 0x080f70b8 in ?? ()
#125 0x00000000 in ?? ()
#126 0x00000000 in ?? ()
#127 0x00000000 in ?? ()
#128 0x00000000 in ?? ()
#129 0x08172a80 in ?? ()
#130 0x00000000 in ?? ()
#131 0x00000000 in ?? ()
#132 0x00000000 in ?? ()
#133 0x00000000 in ?? ()
#134 0xbf000000 in ?? ()
#135 0xb70217d0 in ?? () from /usr/lib/libX11.so.6
#136 0x00000001 in ?? ()
#137 0x0805e410 in ?? ()
#138 0xbf9d8508 in ?? ()
#139 0xbf9d8658 in ?? ()
#140 0x00000001 in ?? ()
#141 0x0805e410 in ?? ()
#142 0xbf9d86a8 in ?? ()
#143 0x0804fba3 in ?? ()
#144 0x00000000 in ?? ()
#145 0x00000000 in ?? ()
#146 0x00000000 in ?? ()
#147 0x00000000 in ?? ()
#148 0x00000000 in ?? ()
#149 0x00000000 in ?? ()
#150 0x080505b2 in vtable for QPtrList<char> ()
#151 0x00000001 in ?? ()
#152 0xb7d89391 in malloc () from /lib/tls/i686/cmov/libc.so.6
Previous frame inner to this frame (corrupt stack?)
(gdb)
Comment 3 Marc Schiffbauer 2006-03-23 10:45:55 UTC
The following is a backtrace form within gdb while kded is running but stuck and while eating all cpu. kopete for example hangs waiting for kdewallet to response I guess... hotplug-devices are not working etc.

Only thing I can do here is "killall -9 kded; sleep 1; kded" then it will run normal again.

(gdb) bt
#0  0xb6976ea2 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb7dde74e in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#2  0xb75b74eb in QRecursiveMutexPrivate::lock () from /usr/lib/libqt-mt.so.3
#3  0xb75b6d4a in QMutex::lock () from /usr/lib/libqt-mt.so.3
#4  0xb72149ee in QMutexLocker::QMutexLocker () from /usr/lib/libqt-mt.so.3
#5  0xb7270b1e in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#6  0xb7270ae6 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#7  0xb7270e10 in QApplication::sendPostedEvents () from /usr/lib/libqt-mt.so.3
#8  0xb7213c43 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#9  0xb6b80490 in DCOPClient::call (this=0x8193d68, remApp=@0xbffa9154, remObjId=@0xbffa915c, remFun=@0xbffa9044, data=@0xbffa91b8,
    replyType=@0xbffa91b0, replyData=@0xbffa91a8, useEventLoop=false, timeout=0) at dcopclient.cpp:1754
#10 0xb6b821f8 in DCOPRef::callInternal (this=0xbffa9154, fun=@0xbffa9200, args=@0xbffa91c0, data=@0x0, useEventLoop=NoEventLoop,
    timeout=0) at dcopref.cpp:77
#11 0xb6b82300 in DCOPRef::callInternal (this=0x0, fun=@0x0, args=@0x0, data=@0x0) at dcopref.cpp:52
#12 0xb6bc9e87 in KWallet::Wallet::openWallet (name=@0xbffa9268, w=0, ot=KWallet::Wallet::Synchronous) at dcopref.h:523
#13 0xb5ec408d in KPasswdServer::openWallet (this=0x82bad20, windowId=0) at kpasswdserver.cpp:292
#14 0xb5ec6f0e in KPasswdServer::checkAuthInfo (this=0x82bad20, info=@0xbffa9404, windowId=0) at kpasswdserver.cpp:218
#15 0xb5ec725e in KPasswdServer::process (this=0x82bad20, fun=@0xbffa97e4, data=@0xbffa97dc, replyType=@0xbffa97d4, replyData=@0xbffa97cc)
    at kpasswdserver_skel.cpp:38
#16 0xb6b7d43d in DCOPClient::receive (this=0x8193d68, objId=@0xbffa97ec, fun=@0xbffa97e4, data=@0xbffa97dc, replyType=@0xbffa97d4,
    replyData=@0xbffa97cc) at dcopclient.cpp:1640
#17 0xb6b7e9ed in DCOPProcessInternal (d=0x8194628, opcode=2, key=107, dataReceived=@0xbffa98a8, canPost=true) at dcopclient.cpp:518
#18 0xb6b7f010 in DCOPProcessMessage (iceConn=0x8194770, clientObject=0x8194628, opcode=2, length=283, replyWait=0x0,
    replyWaitRet=0xbffa9914) at dcopclient.cpp:430
#19 0xb6b8b4aa in KDE_IceProcessMessages (iceConn=0x8194770, replyWait=0x0, replyReadyRet=0x0)
    at /root/3.5.2/kdelibs/kdelibs-3.5.2/./dcop/KDE-ICE/process.c:326
#20 0xb6b77655 in DCOPClient::processSocketData (this=0x8193d68, fd=4) at dcopclient.cpp:2009
#21 0xb6b7f6d0 in DCOPClient::qt_invoke (this=0x8193d68, _id=2, _o=0xbffa9ab8) at dcopclient.moc:176
#22 0xb72d92d5 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#23 0xb72d9be4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb7669153 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#25 0xb72f9602 in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#26 0xb726f6c2 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#27 0xb726f8b4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#28 0xb7936ced in KApplication::notify (this=0xbffaab14, receiver=0x819f0a8, event=0xbffa9e10) at kapplication.cpp:550
#29 0xb7200993 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#30 0xb72611df in QEventLoop::activateSocketNotifiers () from /usr/lib/libqt-mt.so.3
#31 0xb721475b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#32 0xb72881bb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#33 0xb726e1fd in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#34 0xb748b22c in QDialog::exec () from /usr/lib/libqt-mt.so.3
#35 0xb5eaadbf in KWalletD::internalOpen (this=0x82bb948, appid=@0x82e4b3c, wallet=@0x82e4b48, isPath=false, w=54525959)
    at kwalletd.cpp:426
#36 0xb5eabe66 in KWalletD::doTransactionOpen (this=0x82bb948, appid=@0x0, wallet=@0x0, wId=54525959) at kwalletd.cpp:337
#37 0xb5ead047 in KWalletD::processTransactions (this=0x82bb948) at kwalletd.cpp:152
#38 0xb5eb0ae2 in KWalletD::qt_invoke (this=0x82bb948, _id=7, _o=0xbffaa4b8) at kwalletd.moc:100
#39 0xb72d92d5 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#40 0xb766837e in QSignal::signal () from /usr/lib/libqt-mt.so.3
#41 0xb72f6a34 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#42 0xb72fe524 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#43 0xb726f6c2 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#44 0xb726f8b4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#45 0xb7936ced in KApplication::notify (this=0xbffaab14, receiver=0x8195ab0, event=0xbffaa828) at kapplication.cpp:550
#46 0xb7200993 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#47 0xb72610af in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#48 0xb721477f in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#49 0xb72881bb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#50 0xb72880de in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#51 0xb726e1d1 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#52 0xb6816450 in kdemain (argc=0, argv=0x0) at kded.cpp:904
---Type <return> to continue, or q <return> to quit---
#53 0xb7f884f0 in kdeinitmain (argc=0, argv=0x0) at kded_dummy.cpp:3
#54 0x0804e063 in launch (argc=1, _name=0x805085e "kded", args=0x0, cwd=0x0, envc=0, envs=0x0, reset_env=false, tty=0x0,
    avoid_loops=false, startup_id_str=0x0) at kinit.cpp:639
#55 0x0804fef2 in main (argc=2, argv=0xbffab164, envp=0x0) at kinit.cpp:1803
#56 0xb7d1cea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#57 0x0804b811 in _start () at ../sysdeps/i386/elf/start.S:119
(gdb)
Comment 4 Ken Bloom 2006-06-12 19:20:24 UTC
I see something similar when using Konqueror on AMD64. I think it's a deadlock, because when I tried subjecting kded and gam_server to strace, I couldn't reproduce it. (I infer that strace slowed it down and changed the timing so as not to trigger the deadlock). I'm not sure how to debug it.
Comment 5 Matej Cepl 2006-07-27 21:22:28 UTC
Just to say that I have the same with KDE 3.5.3 on Debian/testing (and Dell Inspiron 2200). Maybe it somehow relates to kdewallet crashing on logout?
Comment 6 Christian Loitsch 2006-09-06 21:45:03 UTC
have the same problem, kded uses 100%cpu.
I too have problems with my kdewalletmanager, but think it is unrelated.  (my kdewalletmanager sometimes just disappears from my system tray (no "Hide system tray icon..." is not activated")); otherwise it works.

need to kill -9 and restart for normal cpu-usage.
Comment 7 Thomas Vollmer 2006-10-02 14:16:42 UTC
Same problem here too. I did a fresh install of debian etch and compiled hole KDE from SVN 3.5 branch.
Comment 8 Hugo Costelha 2006-12-20 11:31:06 UTC
I also get it (using SUSE 10.1 with KDE 3.5.5 on a centrino laptop), although it does not happen every time.
Comment 9 Hugo Costelha 2006-12-20 11:31:54 UTC
*** This bug has been confirmed by popular vote. ***
Comment 10 Pascal Hofmann 2006-12-20 12:14:25 UTC
I sometimes have this problem on gentoo with KDE 3.5.5. I think it is related to kwalletmanager. I have akregator and kopete in autostart and both need a password (akregator for http-auth, kopete for icq).
Comment 11 Marc Schiffbauer 2006-12-20 12:54:40 UTC
Yes. I too guess it's related to kwalletmanager somehow and it feels like a race condition or something like that:

Like Pascal in http://bugs.kde.org/show_bug.cgi?id=121462#c10 said, akregator and kopete start at login time here (saved in the session) and they need a password.

The problem arises if the Password-Dialog pops up and I wait too long to enter the password (e.g. if I start KDE and then go get a cup of coffee while it starts up...). If the deadlock happened I can see the the password popup in kickers taskbar but not the dialog itself. kicker/akregator/kopete/media manager all are stuck then. Only killing kded (-9!) and restarting it seems to recover services and apps but it does not always work.. sometimes its better to restart whole KDE then. 

This is really very annoying. Please have a look into this. I will provide any information I can if you tell me what you need... 

Cheers
-Marc
Comment 12 Bernhard Trummer 2007-01-28 09:53:44 UTC
Hi. I'm using KDE 3.5.5 on Linux/Debian sid on multiple machines and I can reproduce this bug the following way:

- Log in and start kontact
- kontact/kdewallet asks for my wallet password.
- I do NOT enter the password yet.
- Instead I start up a konqueror and open a ftp-session to some server, which login credentials are also stored in kdewallet.
- NOW I enter the password to the kdewallet dialog.
- Voila. kded hangs up using 100% CPU time and can only be killed with "kill -9".

Considering the other comments, this bug seems to occur every time, multiple applications are accessing kdewallet and are waiting for the password to be entered...
Comment 13 Albert Astals Cid 2007-01-28 18:12:33 UTC
I can reproduce it too.
Comment 14 Albert Astals Cid 2007-01-28 18:56:14 UTC
Maybe it's a kmail bug, because if instead of
 * kmail
 * kmail pops dialog for password
 * konqueror
 * go to site that pops dialog for password
 * insert password
i do
 * konqueror
 * go to site that pops dialog for password
 * kmail
 * kmail pops dialog for password
 * insert password
it works fine
Comment 15 Marc Schiffbauer 2007-01-28 20:34:10 UTC
I don't think its a kmail bug because I tested with kopete and akregator, both using kwallet. Or one of these two has the same bug...

Difference I can see: If akregator wants the password, the dialog correctly comes to the front.

If kopete wants the password, the dialog-box pops up in the background, so a user must click on the task-bar entry to see it.. may that be ralated somehow?

Other note: I hit that bug 100% if I login and akregator and kopete start automatically, I hit it one time now in this session while playing around with it (quitting akregatir and kopete, closing all walltes, then startinf the two apps again). But I now cannot reproduce it until I logout completely...

-Marc
Comment 16 Krzysztof Lichota 2007-02-04 21:13:49 UTC
The same as bug 108210.

*** This bug has been marked as a duplicate of 108210 ***