Version: (using KDE KDE 3.4.0) Installed from: Debian testing/unstable Packages Compiler: gcc 3.4 OS: Linux After loging into my system, kbuildsycoca runs all the time, being constantly restarted by kded. A killall kded solves the problem, but as soon as I start kded again, the problem reoccurs. Tried Workaround: - running kbuildycoca --noincremental by hand - checking permissions everywhere, even deleting /tmp/kdecache-$USER - creating a brand new user (problem occurs as well) Further information: - The files in kdecache-$USER are created and look "sane", but are recreated all the time. - The system clock works fine, the kdecache files are not created in the future. marcus@mobilHal:~: kded -v Qt: 3.3.3 KDE: 3.4.0 KDE Daemon: $Id: kded.cpp,v 1.102 2005/01/21 15:36:26 waba Exp $ marcus@mobilHal:~: kbuildsycoca -v Qt: 3.3.3 KDE: 3.4.0 KBuildSycoca: 1.1 marcus@mobilHal:~: dpkg -l | grep kde ii akregator 3.4.0-0ubuntu3 RSS feed aggregator for KDE ii ark 3.4.0-0ubuntu2 KDE archiving tool ii arts 1.4.0-0pre2 aRts sound system from the official KDE rele ii dcoprss 3.4.0-0ubuntu2 KDE RSS utilities ii digikam 0.7.2-2 digital photo management application for KDE ii gwenview 1.1.8+1.2.0pre image viewer for KDE ii kaddressbook 3.4.0-0ubuntu3 KDE NG addressbook application ii kaffeine 0.5-1ubuntu1 versatile media player for KDE 3 ii kalarm 3.4.0-0ubuntu3 KDE alarm message and command scheduler ii kappfinder 3.4.0-0ubuntu7 KDE Application Finder ii karm 3.4.0-0ubuntu3 KDE time tracker tool ii kate 3.4.0-0ubuntu7 KDE Advanced Text Editor ii kate-plugins 3.4.0-0pre1 plugins for Kate, the KDE Advanced Text Edit ii kbabel 3.4.0-0ubuntu0 PO-file editing suite for KDE ii kcalc 3.4.0-0ubuntu2 KDE calculator ii kcharselect 3.4.0-0ubuntu2 KDE character selector ii kcontrol 3.4.0-0ubuntu7 KDE Control Center ii kde-i18n-de 3.4.0-0pre1 German (de) internationalized (i18n) files f ii kde-style-lips 1.0-2ubuntu4 The Lipstik style for KDE rc kde-themes-all 0.4.1 A style based on the Java Alloy Look&Feel by ii kdeaddons-kfil 3.4.0-0pre1 KDE file dialog plugins for text files and f ii kdeadmin-kfile 3.4.0-0ubuntu1 KDE File dialog plugins for deb and rpm file ii kdeartwork-mis 3.4.0-0pre1ubu various multimedia goodies released with KDE ii kdeartwork-sty 3.4.0-0pre1ubu widget styles released with KDE ii kdeartwork-the 3.4.0-0pre1ubu icon themes released with KDE ii kdeartwork-the 3.4.0-0pre1ubu window decoration themes released with KDE ii kdebase-bin 3.4.0-0ubuntu7 KDE Base (binaries) ii kdebase-data 3.4.0-0ubuntu7 KDE Base (shared data) ii kdebase-dev 3.4.0-0ubuntu7 KDE Base (development files) ii kdebase-kio-pl 3.4.0-0ubuntu7 KDE I/O Slaves ii kdegraphics-kf 3.4.0-0ubuntu2 provide meta information for graphic files ii kdelibs-bin 3.4.0-0ubuntu2 KDE core binaries ii kdelibs-data 3.4.0-0ubuntu2 KDE core shared data ii kdelibs4 3.4.0-0ubuntu2 KDE core libraries ii kdelibs4-dev 3.4.0-0ubuntu2 KDE core libraries (development files) ii kdelibs4-doc 3.4.0-0ubuntu2 KDE core library documentation ii kdemultimedia- 3.4.0-0ubuntu2 Multimedia data for kappfinder ii kdemultimedia- 3.4.0-0ubuntu2 au/avi/m3u/mp3/ogg/wav plugins for kfile ii kdemultimedia- 3.4.0-0ubuntu2 Support for browsing audio CDs under Konquer ii kdenetwork-fil 3.4.0-0ubuntu2 KDE Network Filesharing Configuration ii kdenetwork-kfi 3.4.0-0ubuntu2 torrent plugin for kfile ii kdepasswd 3.4.0-0ubuntu7 KDE password changer ii kdepim-kfile-p 3.4.0-0ubuntu3 KDE File dialog plugins for palm and vcf fil ii kdepim-kio-plu 3.4.0-0ubuntu3 KDE pim I/O Slaves ii kdepim-wizards 3.4.0-0ubuntu3 KDE server configuration wizards ii kdeprint 3.4.0-0ubuntu7 KDE Print ii kdesdk-scripts 3.4.0-0ubuntu0 a set of useful development scripts for KDE ii kdesktop 3.4.0-0ubuntu7 KDE Desktop ii kdm 3.4.0-0ubuntu7 KDE Display Manager ii kdvi 3.4.0-0ubuntu2 KDE dvi viewer ii kfilereplace 3.4.0-0pre1ubu batch search-and-replace component for KDE ii kfind 3.4.0-0ubuntu7 KDE File Find Utility ii kget 3.4.0-0ubuntu2 KDE Download Manager ii kghostview 3.4.0-0ubuntu2 PostScript viewer for KDE ii kgpg 3.4.0-0ubuntu2 GnuPG frontend for KDE ii khelpcenter 3.4.0-0ubuntu7 KDE Help Center ii khexedit 3.4.0-0ubuntu2 KDE hex editor ii kicker 3.4.0-0ubuntu7 KDE Desktop Panel ii kicker-applets 3.4.0-0pre1 applets for Kicker, the KDE panel ii kiconedit 3.4.0-0ubuntu2 An icon editor for creating KDE icons rc kiten 3.3.2-2 Japanese reference/study tool for KDE ii kivio 1.3.5-2ubuntu1 a flowcharting program for the KDE Office Su ii klaptopdaemon 3.4.0-0ubuntu2 KDE battery monitoring and management for la ii kleopatra 3.4.0-0ubuntu3 KDE Certificate Manager ii klipper 3.4.0-0ubuntu7 KDE Clipboard ii kmail 3.4.0-0ubuntu3 KDE Email client ii kmenuedit 3.4.0-0ubuntu7 KDE Menu Editor ii kmid 3.4.0-0ubuntu2 midi/karaoke player for KDE ii kmilo 3.4.0-0ubuntu2 KDE kded hardware support module ii kmix 3.4.0-0ubuntu2 KDE based mixer app ii knemo 0.3.1-2ubuntu1 network interfaces monitor for KDEs systray ii knetworkconf 0.6.1-3ubuntu1 Network configurator for KDE ii knotes 3.4.0-0ubuntu3 KDE sticky notes ii koffice-data 1.3.5-2ubuntu1 common shared data for the KDE Office Suite ii koffice-libs 1.3.5-2ubuntu1 common libraries and binaries for the KDE Of ii kolourpaint 3.4.0-0ubuntu2 A Simple Paint Program for KDE ii kompose 0.5.1-2 full screen task manager for KDE ii konq-plugins 3.4.0-0pre1 plugins for Konqueror, the KDE file/web/doc ii konqueror 3.4.0-0ubuntu7 KDE's advanced File Manager, Web Browser and ii konsole 3.4.0-0ubuntu7 KDE X terminal emulator ii kontact 3.4.0-0ubuntu3 KDE pim application ii korganizer 3.4.0-0ubuntu3 KDE personal organizer ii kpdf 3.4.0-0ubuntu2 PDF viewer for KDE ii kpersonalizer 3.4.0-0ubuntu7 KDE Personalizer rc kpoker 3.4.0-0pre1 KDE based Poker clone ii kppp 3.4.0-0ubuntu2 KDE dialer and frontend to pppd ii krdc 3.4.0-0ubuntu2 KDE Remote Desktop Client ii krfb 3.4.0-0ubuntu2 KDE Remote Screen Server ii ksambaplugin 0.5-1 KDE 3 plugin for configuring a SAMBA server. ii kscd 3.4.0-0ubuntu2 KDE based cd player ii kscreensaver 3.4.0-0pre1ubu additional screen savers released with KDE ii kscreensaver-x 3.4.0-0pre1ubu KDE hooks for standard xscreensavers ii ksmserver 3.4.0-0ubuntu7 KDE Session Manager ii ksnapshot 3.4.0-0ubuntu2 Screenshot application for KDE ii ksplash 3.4.0-0ubuntu7 KDE Splash Screen ii ksvg 3.4.0-0ubuntu2 SVG viewer for KDE ii ksync 3.4.0-0ubuntu3 KDE Sync ii ksysguard 3.4.0-0ubuntu7 KDE System Guard ii ksysguardd 3.4.0-0ubuntu7 KDE System Guard Daemon ii ksysv 3.4.0-0ubuntu1 KDE SysV-style init configuration editor ii kteatime 3.4.0-0pre1ubu KDE utility for making a fine cup of tea ii ktnef 3.4.0-0ubuntu3 KDE TNEF viewer ii kviewshell 3.4.0-0ubuntu2 KDE generic framework for viewer application ii kwallet 3.2.0-0+cvs200 KDE Wallet ii kwalletmanager 3.4.0-0ubuntu2 KDE Wallet Manager ii kweather 3.4.0-0pre1ubu weather display applet for KDE ii kwin 3.4.0-0ubuntu7 KDE Window Manager ii kwin-style-mku 0.2.1-3 Lightweight KDE window decoration theme ii kword 1.3.5-2ubuntu1 a word processor for the KDE Office Suite ii kworldclock 3.4.0-0pre1ubu earth watcher for KDE ii kxconfig 3.1.5-1 KDE display configuration tool ii kxmleditor 1.1.4-1 XML Editor for KDE ii kxmlrpc 3.1.5-1 KDE XML RPC Daemon ii libkcal2a 3.4.0-0ubuntu3 KDE calendaring library ii libkcddb1 3.4.0-0ubuntu2 cddb library for KDE ii libkdegames1 3.4.0-0ubuntu2 KDE games library and common files ii libkdepim1 3.4.0-0ubuntu3 KDE PIM library
Can you strace kded when it does that.
Created attachment 10277 [details] strace of kded Don't know how usefull that is, because kded backgrounds... can I do anything against it?
You can use "strace -p <pid>" to attach strace to a running kded, or you can run "strace kded --nofork" to prevent kded from backgrounding.
Created attachment 10282 [details] strace run for kded --nofork this was done doing strace kded --nofork > /tmp/kded.trace2 2>&1 kbuildsycoca was started at least twice, but I gess from the size (4.1 MB uncompresesd) it was much more.
kded has the impression that some file has changed that requires rebuilding of ksycoca. Unfortunately you don't seem to use fam and it isn't clear from the log which file triggers the update. Are you using NFS?
Is there another way to find out? I don't use NFS, automount or anything else that does strange stuff to the filesystem.
BTW, I don't use fam because the Kubuntu packags depend on gamin and are build agaonst it.
Well, I deleted most of the directories which an strace showed and reinstalled the debian packages which had files in those directories which made this problem disappear. Still no real solution, though.
And I was wrong... because I still have the same problem with a complete new set of Debian KDE packages. So why am I the only one with this problem?
Created attachment 10879 [details] Output of kded with enable-debug=full
ok, I think I'm getting closer: from the logfile: kded: KDirWatch-1 emitting created /usr/local/share/mimelnk kded: KDirWatch-1 emitting created /usr/local/share/services root@mobilHal:/usr/local/share: ll /usr/local/share/ | egrep '(mimelnk)|(services)' 173433 0 drwx--S--- 2 root staff 48 2005-04-25 17:26 mimelnk 32040 0 drwx--S--- 2 root staff 72 2005-04-26 08:29 services mimelnk was empty and was not in one of the installed packages, services contained only a sycoca file. Maybe there should be a method to avoid this in future. Removing this directories seems to have solved the problem.
Does this problem persist in KDE 3.5?
Feedback timeout, but please reopen if the bug is still present for you in 3.5