Bug 114862 - kded uses nearly 100% CPU
Summary: kded uses nearly 100% CPU
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kded (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 13:36 UTC by sboyce
Modified: 2005-10-27 15:14 UTC (History)
0 users

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 sboyce 2005-10-22 13:36:52 UTC
Version:            (using KDE KDE 3.4.92)
Installed from:    SuSE RPMs
Compiler:          gcc-4.0.2 
OS:                Linux

kded from SuSE Linux 10.0 kdebase3-3.4.92-1.x86_64.rpm takes up to 99% CPU.
Comment 1 Stephan Kulow 2005-10-22 13:49:39 UTC
does it fill your .xsession-errors with debug output?
Comment 2 Thiago Macieira 2005-10-22 19:03:20 UTC
Does "dcop kded kded unloadModule kat" help?
Comment 3 sboyce 2005-10-25 01:44:52 UTC
After a reboot, I have kat docked and greyed out. It's not running and kded is running at less than 1% CPU.

# o ~/.xsession-errors
access control disabled, clients can connect from any host
/etc/X11/xim: Checking wether an input method should be started.
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale en_GB.UTF-8 ...
There is no default input method for the current locale.
xset:  bad font path element (#205), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
Reusing existing ksycoca
kio (KService*): WARNING: Invalid Service : /opt/kde3/share/applications/kde/kbarcode-label.desktop
kio (KService*): WARNING: Invalid Service : /opt/kde3/share/applications/kde/kbarcode-label.desktop
kio (KService*): WARNING: Invalid Service : /opt/kde3/share/applications/kde/kbarcode-label.desktop
kio (KMimeType): WARNING: 'kbearimportfilter.desktop' specifies undefined mimetype/servicetype 'KParts/Plugin'
QLayout "unnamed" added to CatalogStatusItem "CatalogStatus", which already has a layout
konsole: WARNING: KLocale: trying to look up "" in catalog. Fix the program
konsole: WARNING: KLocale: trying to look up "" in catalog. Fix the program
konsole: WARNING: KLocale: trying to look up "" in catalog. Fix the program
JACK compiled with POSIX SHM support
konsole: WARNING: KLocale: trying to look up "" in catalog. Fix the program
konsole: WARNING: KLocale: trying to look up "" in catalog. Fix the program
akode: Guessed format: xiph
KNotify::playTimeout
KNotify::playTimeout
konsole: WARNING: KLocale: trying to look up "" in catalog. Fix the program
KNotify::playTimeout
KNotify::playTimeout
KNotify::playTimeout
KNotify::playTimeout
KNotify::playTimeout
Comment 4 sboyce 2005-10-25 01:52:33 UTC
kded_katd.so is loaded, but there is some problem with kat, the logs and .xession-errors show nothing.

# lsof -p $(pidof kded) |egrep '\.so$' \
> |egrep -v ' /lib/' \
> |sed -e 's;.* /;/;'
/opt/kde3/lib/kde3/kded.so
/opt/kde3/lib/kde3/kmilo_asus.so
/opt/kde3/lib/libkdeinit_kded.so
/opt/kde3/lib/kde3/plugins/styles/plastik.so
/opt/kde3/lib/kde3/kded_medianotifier.so
/opt/kde3/lib/kde3/kded_kmilod.so
/opt/kde3/lib/kde3/kmilo_generic.so
/opt/kde3/lib/kde3/kmilo_kvaio.so
/opt/kde3/lib/kde3/kmilo_thinkpad.so
/opt/kde3/lib/kde3/kmilo_delli8k.so
/opt/kde3/lib/kde3/kded_knemod.so
/opt/kde3/lib/kde3/kded_katd.so
/opt/kde3/lib/kde3/kded_dnssdwatcher.so
/usr/lib/qt3/plugins/imageformats/libqjpeg.so
/usr/lib/qt3/plugins/imageformats/libqmng.so
/opt/kde3/lib/kde3/kded_kdetrayproxy.so
/opt/kde3/lib/kde3/kded_kmldonkeyd.so
/opt/kde3/lib/kde3/kded_ksvnd.so
/opt/kde3/lib/kde3/kded_kwrited.so
/opt/kde3/lib/kde3/kded_mediamanager.so
/opt/kde3/lib/kde3/kded_networkstatus.so
/opt/kde3/lib/kde3/kded_kinetd.so
/opt/kde3/lib/kde3/kded_khotkeys.so
/opt/kde3/lib/kde3/kded_favicons.so
/opt/kde3/lib/kde3/kded_kcookiejar.so
/opt/kde3/lib/kde3/kded_kpasswdserver.so
/usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
/opt/kde3/lib/kde3/kded_kwalletd.so
/usr/lib/qt3/plugins/inputmethods/libqimsw-none.so
/usr/lib/qt3/plugins/inputmethods/libqxim.so
/usr/lib/qt3/plugins/inputmethods/libqsimple.so
Comment 5 sboyce 2005-10-25 12:30:38 UTC
Apologies, I just noticed that the above details are for the x86 box, I shall supply the details for the x86_64 later.
Comment 6 sboyce 2005-10-25 12:49:28 UTC
Here goes for the x86_64 box. rebooted on a new kernel, kded at 99% CPU. Unloaded the kat module, initially kded dropped to 46%, now it's at 99.7% CPU. "tail -f .xsession-errors" gives repeatedly ----
---> path: .xsessio-errors
---> wd: 84
---> mask: 2
If I click on kat the KDE Daemon window opens with "The indexer is stopped".
Again I'm sorry for the previous data which is from the wrong machine.
Comment 7 Stephan Kulow 2005-10-25 13:29:41 UTC
I suspected it. That's caused by a broken SUSE patch. I'm not sure how it got in the beta2 packages, but still this is no KDE 3.5 bug.
Comment 8 sboyce 2005-10-27 15:14:36 UTC
I have been attempting to build kdebase using konstruct, but so far it's not getting the right paths for 64-bit libs and I'm having to fix them during make, tried doing it in the .mk and .mk.in files, but that is only partially successful. I'm now trying to build kdelibs first to see if that does the trick.
./configure --prefix=/opt/kde3 --with-qtdir=/usr/lib64/qt3 --with-qt-libraries=/usr/lib64/qt3/lib64 --with-extra-libs=/usr/li
b64 --enable-libsuffix=64 --with-qt-includes=/usr/lib64/qt3/include