Bug 74126 - kded / kwin / X eating 100% cpu
Summary: kded / kwin / X eating 100% cpu
Status: RESOLVED DUPLICATE of bug 64671
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 1.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 74119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-04 14:00 UTC by James Gray
Modified: 2008-08-20 12:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Gray 2004-02-04 14:00:08 UTC
Version:           1.3 (using KDE KDE 3.2.0)
Installed from:    Debian stable Packages
OS:          Linux

Here's the sequence, can anyone confirm?
1. Start a new session (ie, log in from KDM)
2. Load "konsole"
3. Close console using the "X" in the title bar.
   I now have "kdeinit: kwin" and "kdeinit: kded" hammering the X server
   100%.  3 processes all vying for the same CPU so system load hit's 3+
   and memory starts disappearing steadily.

However, if I repeat #1 and #2 but this time use the menu "Session -> Close Session" or using "CTRL+D" instead of using the "X" widget in the title bar, everything works as expected - *NO* CPU hog and no memory leak.  I have a stack trace after using the close widget if that's useful?  Tried a backtrace using "gdb konsole" but it reports that konsole exited normally.

System is a Dell CPx-J laptop with ATi Rage Mobility M1 chipset, P3-650 and 256Mb RAM running a 2.4.24 kernel (patched to provide mppe/pptp support) and running standard Debian repositories plus the "backports.org" back-ports.
Comment 1 Waldo Bastian 2004-02-04 17:15:30 UTC
*** Bug 74130 has been marked as a duplicate of this bug. ***
Comment 2 Dr. Olaf Ippisch 2004-02-05 12:38:00 UTC
I have the same problem on my computer (a Dell Inspiron 8100). It also 
occurs just after some time of working and is really annoying. I posted it already as kwin bug (74119) till I recognized that kded seams to be
the problem.
Comment 3 Tommi Tervo 2004-02-05 12:50:17 UTC
*** Bug 74119 has been marked as a duplicate of this bug. ***
Comment 4 Lubos Lunak 2004-02-05 14:37:43 UTC
You need Qt-3.2.3, older Qt versions have this problem.


*** This bug has been marked as a duplicate of 64671 ***
Comment 5 Cirrus 2004-02-05 18:51:01 UTC
Hm. I wish there was a debian package update for it. I don't have the time to compile from CVS at the moment.
Comment 6 Dr. Olaf Ippisch 2004-02-05 19:35:01 UTC
I already sent an E-Mail to Ralf Nolden and he told me that he's going
to make Debian packages of qt 3.3 in the next days. That should solve
this problem then.
Comment 7 James Gray 2004-02-05 23:04:01 UTC
Subject: Re:  kded / kwin / X eating 100% cpu

On Fri, 6 Feb 2004 05:35 am, Dr.Olaf Ippisch wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=74126
>
>
>
>
> ------- Additional Comments From olaf.ippisch@iwr.uni-heidelberg.de 
> 2004-02-05 19:35 ------- I already sent an E-Mail to Ralf Nolden and he
> told me that he's going to make Debian packages of qt 3.3 in the next
> days. That should solve this problem then.

Thanks so much!  This is the only problem I've had with KDE3.2.  Viva OSS!!

James
Comment 8 Rob Boerman 2004-02-20 09:27:35 UTC
Hello James,

Can you tell me how you resolved the problem? I've got the exact same problem.
Ive got libqt version 3.1.2-0woody1. I saw a post saying you had to install version 3.2.3 or later, but I can't find a woody or backported package for it.

Can you tell me how to solve this problem?

Thanks, 
Rob Boerman
Comment 9 Cirrus 2004-02-22 03:28:09 UTC
You might want to try the packages at:
ftp://projects.gasperino.org/qt/
It solves a similar problem, it might do the trick for you as well.
Comment 10 James Gray 2004-02-22 11:53:09 UTC
On Fri, 20 Feb 2004 07:27 pm, Rob Boerman wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=74126
>
>
>
>
> ------- Additional Comments From rob glas its tudelft nl  2004-02-20
> 09:27 ------- Hello James,
>
> Can you tell me how you resolved the problem? I've got the exact same
> problem. Ive got libqt version 3.1.2-0woody1. I saw a post saying you had
> to install version 3.2.3 or later, but I can't find a woody or backported
> package for it.
>
> Can you tell me how to solve this problem?
>
> Thanks,
> Rob Boerman

Rob,

At this stage I've simply used a work-around.  On my Dell laptop, if I have 
"KLaptop" running (the nifty little battery monitor in the task bar) 
closing Konsole windows with the widgets eats my CPU.  If I disbale (ie, 
don't run) Klaptop everything behaves.

Here's a message I was sent today - but I haven't had a chance to try it 
yet.  I'd be interested to hear how you get on if you try it before I do :)

<BEGIN QUOTED MESSAGE>
http://bugs.kde.org/show_bug.cgi?id=74126      
- ------- Additional Comments From cirrus the-penguin org uk  2004-02-22 03:28 
You might want to try the packages at:
ftp://projects.gasperino.org/qt/
It solves a similar problem, it might do the trick for you as well.
<END QUOTED MESSAGE>

Hope this helps you out.

James
Comment 11 mnagyspam 2005-05-06 01:03:27 UTC
I had kded eating ~50-70% CPU while running KDE 3.4 on an Athlon XP 2600+ (?!) and finally got the usage level down by going into KDE Components / Service Manager on the KDE control panel and disabling a bunch of services.  However, I wouldn't know why those services were hogging the CPU in the first place.