Bug 118758 - Kwin crashes when ALT+TAB and "Show window list while switching windows" is enabled
Summary: Kwin crashes when ALT+TAB and "Show window list while switching windows" is e...
Status: RESOLVED DUPLICATE of bug 112737
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 01:19 UTC by Stolz
Modified: 2006-01-04 22:34 UTC (History)
0 users

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 Stolz 2005-12-21 01:19:14 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.4.4 Flags used for compile: -march=k8 -O2 -pipe
OS:                Linux

This is an easy reproductible bug.

Steps to reproduce the bug:
---------------------------
1.- Go to "Control Center-> Desktop-> Window Behaviour->" and enable "Show window list while switching windows"

2.- Be sure there is no window opened, just kicker and a clean desktop.

3.- Hit "ALT+TAB" or whatever other key combination you have assigned to "switching window"

4.- You will see how Kwin crashes and eats 100% of CPU, making the system unusable.

If you disable de "Show window list while switching windows" option under the Control Center, the bug disappears.
Comment 1 Philip Rodrigues 2005-12-22 22:31:04 UTC
Do you have a backtrace? If so, please paste it. Though, I'm slightly confused: you say kwin crashes *and* eats CPU, but if it's crashed, then it can't use CPU, since the process has been killed. Do you get a crash dialog?
Comment 2 Stolz 2005-12-23 01:21:36 UTC
Thanks for your answer.

I don't have a backtrace, but if it can help to solve the problem and someone explains me how to get one, it would be appreciated :)

Well, when any program stops working and consumes 100% of CPU I always say "it is crashed". May be it's not the correct way of naming it so I will explain it with more detail to avoid confusion:
-When I press "ALT+TAB" my keyboard stops working. I can move the mouse and see the cursor moving around the screen, but it has no effects no matther where I click. I don't get a crash dialog.
-If I connect to my machine via SSH (it takes a lot of time but finally I can login). The system works slowly and when run 'top' I can see the Kwin process using 100% CPU.
-If I run 'killall -9 kwin' my keyboard and mouse in the KDE enviourment start working again and all KDE programs seem to work again too (except the fact that there is no windows decorations because I've killed Kwin ;-) ).

If there is anything else I can do to help the problem to be solved just tell me.

Regards.
Comment 3 Philip Rodrigues 2005-12-23 17:25:52 UTC
To get a backtrace, you can use "kill -SEGV <pid-of-kwin>", I think - that should cause a KDE crash handler to appear, with a backtrace tab.

Comment 4 Stolz 2005-12-24 05:11:07 UTC
I've tried it, but nothing happens (just what I commented in my last post, my keyboard and mouse in the KDE enviourment start working again).

I don't see any output after running "kill -SEGV `pidof kwin`" and I don't see any window on the KDE sceen. I've installed kdebugdialog but it is not showed either.

Whay package/program should I install to get the "KDE crash handler"?
Comment 5 Stolz 2005-12-28 23:30:33 UTC
Could you reproduce the bug? I see it remais as UNCONFIRMED :/

I've tried it at my brother's computer (Suse) and seems the bug is there too.
Comment 6 Philip Rodrigues 2005-12-30 12:19:38 UTC
I still can't reproduce this behaviour - you might want to try to find other users (in some KDE forum or IRC channel) who can reproduce the bug, to get more data points. They can then add a comment to this bug.
Comment 7 SigStorm 2005-12-31 10:35:24 UTC
I reproduced the bug two times . The keyboard and the mouse hangs. I have to do a hard reset to my computer. Note : The opcion "Show window list while switching windows" I have it disabled.
Comment 8 Stolz 2005-12-31 11:08:29 UTC
Philip, I'm afraid I made a mistake when I reported the bug. To reproduce it, the option "Show window list while switching windows" must be disabled, sorry.
Comment 9 Lubos Lunak 2006-01-04 22:34:39 UTC

*** This bug has been marked as a duplicate of 112737 ***