Bug 158283

Summary: kded eats up 100% CPU when inserting media
Product: [Frameworks and Libraries] kdelibs Reporter: Andreas Trepczik <proggy3456>
Component: kdedAssignee: Kevin Ottens <ervin>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andreas Trepczik 2008-02-23 18:51:07 UTC
Version:            (using KDE 3.5.9)
Installed from:    Ubuntu Packages
Compiler:          gcc 4.1.3 
OS:                Linux

I am using Kubuntu 7.10 and Linux-2.6.24. I upgraded from KDE 3.5.8 to 3.5.9 some days ago as adivsed on http://kubuntu.org/announcements/kde-359.php

Ever since, the kded process is giving me headaches. When inserting or removing media the CPU usage of kded rises dramatically and after about 20 seconds my hard drive is making reading sounds. The inserted media does not mount automatically as it did in previous versions. 

I can kill this process, which stops the symptoms, and continue to use KDE but several of KDEs services rely on that daemon - indeed that's A LOT - so I am left with a caponized system. When I start kded again from console everything works fine again until I add/remove media.

If you need additional information please instruct me how to obtain it.
Comment 1 Guillaume Martres 2008-03-30 19:29:13 UTC
Here is a way to reproduce the problem:
- Plug in a usb key
- right-click on it -> Properties
- third tab, tick "mount automatically"
- close the window, unplug and plug again the usb key
- the key is mounted, but there's no icon on the desktop and kded starts eating 100% CPU
- You can workaround the problem by removing automount=true from ~/.kde/share/config/mediamanagerrc

Also reported in Ubuntu's Launchpad: https://bugs.launchpad.net/ubuntu/+source/kdelibs/+bug/194474
Comment 2 Albert Astals Cid 2008-04-24 19:48:44 UTC
This is not a KDE bug guys, sorry, tell KUbuntu to fix their patches.