Bug 222193 - Kwin crash when activating Present Windows - Current desktop shortcut
Summary: Kwin crash when activating Present Windows - Current desktop shortcut
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 220789 222736 251477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-11 09:54 UTC by aku.pietikainen
Modified: 2010-09-16 19:13 UTC (History)
4 users (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 aku.pietikainen 2010-01-11 09:54:20 UTC
Application that crashed: kwin
Version of the application: 4.3.4 (KDE 4.3.4)
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Activated Present Windows trigger on the edge of screen. The desktpo effect seemed extremely slow and then crashed. After kwin restarted, it disabled composing.

 -- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  KWin::WindowMotionManager::manage (this=<value optimized out>, w=0x0) at ../../../kwin/lib/kwineffects.cpp:1148
#6  0x00007f3f786da7f3 in KWin::PresentWindowsEffect::setActive (this=0x21f4440, active=<value optimized out>, closingTab=<value optimized out>)
    at ../../../kwin/effects/presentwindows/presentwindows.cpp:1234
#7  0x00007f3f786dba29 in KWin::PresentWindowsEffect::toggleActive (this=0x21f4440, border=KWin::ElectricBottomLeft) at ../../../kwin/effects/presentwindows/presentwindows.h:95
#8  KWin::PresentWindowsEffect::borderActivated (this=0x21f4440, border=KWin::ElectricBottomLeft) at ../../../kwin/effects/presentwindows/presentwindows.cpp:370
#9  0x00007f3f8ad2a076 in KWin::EffectsHandlerImpl::borderActivated (this=<value optimized out>, border=KWin::ElectricBottomLeft) at ../../kwin/effects.cpp:313
#10 0x00007f3f8acae959 in KWin::Workspace::checkElectricBorder (this=0x2073440, pos=..., now=<value optimized out>) at ../../kwin/workspace.cpp:2180
#11 0x00007f3f8acaedec in KWin::Workspace::electricBorderEvent (this=0x0, e=<value optimized out>) at ../../kwin/workspace.cpp:2248
#12 0x00007f3f8acd69d2 in KWin::Workspace::workspaceEvent (this=0x2073440, e=0x7ffffc475290) at ../../kwin/events.cpp:475
#13 0x00007f3f8acbfc08 in KWin::Application::x11EventFilter (this=0x7ffffc475680, e=0x7ffffc475290) at ../../kwin/main.cpp:357
#14 0x00007f3f874a1391 in qt_x11EventFilter (ev=0x7ffffc475290) at kernel/qapplication_x11.cpp:375
#15 0x00007f3f874b1a24 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffffc475290) at kernel/qapplication_x11.cpp:3271
#16 0x00007f3f874dbd0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#17 0x00007f3f80800bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x00007f3f80804598 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007f3f808046c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007f3f86d6b1a6 in QEventDispatcherGlib::processEvents (this=0x1d60e90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#21 0x00007f3f874db4be in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#22 0x00007f3f86d41532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f3f86d41904 in QEventLoop::exec (this=0x7ffffc4755c0, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f3f86d43ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#25 0x00007f3f8acc21e4 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:522
#26 0x00007f3f8a92cabd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7ffffc475b68) at libc-start.c:220
#27 0x0000000000400679 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Martin Flöser 2010-01-11 10:04:50 UTC
The code section in question says you were using alt+tab at that time. Is that right? Did you before or after triggering the edge use alt+tab? Is it possible that a window was closed at that time or that no window at all was visible?
Comment 2 aku.pietikainen 2010-01-11 10:17:21 UTC
I used alt+tab before triggering the edge. I believe there was one window on the desktop. I did not close any before or after alt+tab.
Comment 3 Martin Flöser 2010-01-11 10:24:23 UTC
Do you use present windows as the effect for alt+tab?
Comment 4 aku.pietikainen 2010-01-11 10:37:51 UTC
Yes, present windows for alt+tab.
Comment 5 Martin Flöser 2010-01-11 22:24:02 UTC
SVN commit 1073247 by graesslin:

Do not add NULL effect windows to the motion manager.
BUG: 222193

 M  +2 -0      presentwindows.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1073247
Comment 6 Martin Flöser 2010-01-11 22:27:27 UTC
SVN commit 1073249 by graesslin:

Backport rev 1073247
Do not add NULL effect windows to the motion manager.
CCBUG: 222193


 M  +2 -0      presentwindows.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1073249
Comment 7 Martin Flöser 2010-01-11 22:29:38 UTC
SVN commit 1073251 by graesslin:

Backport rev 1073247
Do not add NULL effect windows to the motion manager.
CCBUG: 222193


 M  +2 -0      presentwindows.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1073251
Comment 8 Dario Andres 2010-01-15 00:32:18 UTC
@Martin: - Does this also fix bug 220789 and bug 222736? (the backtraces seem to be related/the same)
Thanks
Comment 9 Martin Flöser 2010-01-15 19:51:37 UTC
*** Bug 220789 has been marked as a duplicate of this bug. ***
Comment 10 Martin Flöser 2010-01-15 19:52:06 UTC
*** Bug 222736 has been marked as a duplicate of this bug. ***
Comment 11 Martin Flöser 2010-09-16 19:13:13 UTC
*** Bug 251477 has been marked as a duplicate of this bug. ***