Bug 66928 - klaptopdaemon consumes up to 100% of CPU ressources after a few minutes
Summary: klaptopdaemon consumes up to 100% of CPU ressources after a few minutes
Status: RESOLVED DUPLICATE of bug 64671
Alias: None
Product: klaptopdaemon
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Paul Campbell
URL:
Keywords:
: 67430 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-30 20:02 UTC by Thomas Reitelbach
Modified: 2003-11-06 19:49 UTC (History)
1 user (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 Thomas Reitelbach 2003-10-30 20:02:28 UTC
Version:           unknown (using KDE 3.1.93 (CVS >= 20031028), compiled sources)
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.22

Hello,

when klaptopdaemon is started from the control center it consumes 0-1% CPU ressources which looks quite normal to me.
But then i hide the dock icon and make it re-appear via control center. Immediately my computer becomes slow and unresponsive.
"top" show these unusual results:

  PID USER     PRI  NI  SIZE  RSS SHARE WCHAN     STAT %CPU %MEM   TIME COMMAND
28700 tr        16   0 16004  15M 13188 -         R    33.7  6.2   0:06 kded
28406 root      14   0 34480  25M  1832 -         R    32.3 10.1   1:13 /usr/X11R6/bin/X vt7 -auth /var/run/xauth/A:0-0BSkUe
28640 tr        16   0 14436  14M 12880 -         R    28.6  5.6   0:29 kdeinit: kwin -session 1006ae3131000106746227100000065140121_1067533622_292099
28748 tr        14   0  1868 1868   824 -         R     3.7  0.7   0:03 top

When i kill "kded" then klaptopdaemon quits and CPU usage recovers to the normal state immediately.

I can reproduce this problem since a few weeks.
I hope i can be helpful.

Bye,
Thomas Reitelbach
Comment 1 Volker Krause 2003-10-30 20:54:08 UTC
I can confirm this problem, although I'm not able to clearly reproduce it. Mostly closing a random window seems to trigger it here.

This problem occures here since the kwin3 merge, not sure if this really caused it, but this is at least the timeframe where it started.

I'm also quite sure, that it wasn't caused by a change in klaptopdaemon itself, since there weren't any changes in the code in this timeframe (which of course doesn't mean that the bug isn't in the klaptopdaemon code).

I find two related reports on the mailing lists:
http://lists.kde.org/?l=kde-devel&m=106422694116667&w=2
http://lists.kde.org/?l=kde-pim&m=106695423308486&w=2

Comment 2 Lubos Lunak 2003-11-03 22:32:19 UTC
Wait for next Qt, use qt-copy, or get the patch from bug #64671.


*** This bug has been marked as a duplicate of 64671 ***
Comment 3 Paul Campbell 2003-11-04 20:29:18 UTC
Note - the fix to this bug is actually in QT - you should update to the latest qt-copy to get the fix
Comment 4 Paul Campbell 2003-11-06 19:49:12 UTC
*** Bug 67430 has been marked as a duplicate of this bug. ***