Summary: | kwin crashes when selecting a non-existing desktop in the desktop grid. | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Yohan Pereira <yohan.pereira> |
Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.5.2 | |
Attachments: |
Screen shot when Desktop grid layout is set to Automatic
Screen shot when Desktop grid layout is set to pager |
Description
Yohan Pereira
2010-08-23 15:08:37 UTC
Created attachment 50866 [details]
Screen shot when Desktop grid layout is set to Automatic
Created attachment 50867 [details]
Screen shot when Desktop grid layout is set to pager
The backtrace is unfortunately rather useless as it's missing the debug information. As you are able to reproduce at will, please install/compile the debug packages and attach a proper backtrace. Thanks here it is .. i hope. i had forgotten to compile qt-gui and qt-core with gddb last time. Application: KWin (kwin), signal: Segmentation fault [KCrash Handler] #6 QHash<KWin::EffectWindow*, KWin::WindowMotionManager::WindowMotion>::begin (this=0x49) at /usr/include/qt4/QtCore/qhash.h:460 #7 QHash<KWin::EffectWindow*, KWin::WindowMotionManager::WindowMotion>::keys (this=0x49) at /usr/include/qt4/QtCore/qhash.h:646 #8 0x00007f76337a0717 in KWin::WindowMotionManager::managedWindows (this=0xba8530, e=<value optimized out>) at /var/tmp/portage/kde- base/kwin-4.5.0/work/kwin-4.5.0/kwin/lib/kwineffects.h:1661 #9 KWin::DesktopGridEffect::windowInputMouseEvent (this=0xba8530, e=<value optimized out>) at /var/tmp/portage/kde- base/kwin-4.5.0/work/kwin-4.5.0/kwin/effects/desktopgrid/desktopgrid.cpp:624 #10 0x00007f763dd2c757 in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=<value optimized out>, e=<value optimized out>) at /var/tmp/portage/kde- base/kwin-4.5.0/work/kwin-4.5.0/kwin/effects.cpp:897 #11 0x00007f763dcda46d in KWin::Workspace::workspaceEvent (this=0xadff00, e=0x7fff19860620) at /var/tmp/portage/kde- base/kwin-4.5.0/work/kwin-4.5.0/kwin/events.cpp:260 #12 0x00007f763dcb92be in KWin::Application::x11EventFilter (this=0x7fff19860910, e=0x7fff19860620) at /var/tmp/portage/kde- base/kwin-4.5.0/work/kwin-4.5.0/kwin/main.cpp:363 #13 0x00007f763c86bebb in qt_x11EventFilter (ev=0x7fff19860620) at kernel/qapplication_x11.cpp:409 #14 0x00007f763c878c0c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff19860620) at kernel/qapplication_x11.cpp:3243 #15 0x00007f763c8a0b8c in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:132 #16 0x00007f763c330a0d in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #17 0x00007f763c330dce in QEventLoop::exec (this=0x7fff19860870, flags=) at kernel/qeventloop.cpp:201 #18 0x00007f763c33539a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #19 0x00007f763c7fea96 in QApplication::exec () at kernel/qapplication.cpp:3581 #20 0x00007f763dcbbb3e in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde- base/kwin-4.5.0/work/kwin-4.5.0/kwin/main.cpp:531 #21 0x000000000040084d in main (argc=428211648, argv=0x49) at /var/tmp/portage/kde- base/kwin-4.5.0/work/kwin-4.5.0_build/kwin/kwin_dummy.cpp:3 thanks - that was fast (in most cases we do not hear anything from the users any more if debug symbols are missing). The crash could be a duplicate of bug #233363, but it is difficult to say as desktopgrid seemed to have quite some code changes in 4.5 ;-) --- thanks - that was fast (in most cases we do not hear anything
> from the users any more if debug symbols are missing).
>
> The crash could be a duplicate of bug #233363, but it is difficult to say
> as desktopgrid seemed to have quite some code changes in 4.5 ;-)
no problem doing my bit to help :D
also this is how i reproduce the bug
1)enable the desktop grid plugin and set the layout to pager.
2)Make sure you have only one virtual desktop
3) activate the desktop grid and click on the blank space below the virtual
desktop (shown in the attached screen shot of the pager layout). kwin will now
zoom into the black space and then immediatly switch back to the actualy
desktop.
4) keep repeating step 3 till kwin crashes (arround 5-7 times is usually
enough).
*** Bug 249137 has been marked as a duplicate of this bug. *** there is a bug in the pager: it leaves number of rows at two if there is only one desktop. I will add a sanity check to desktop grid to prevent this crash. SVN commit 1169040 by graesslin: Add sanity check to DesktopGrid in case of pager layout and only one desktop. Pager reported two rows, which does not make sense and caused the grid to be in an inconsistent state. CCBUG: 248817 M +5 -0 desktopgrid.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1169040 SVN commit 1169041 by graesslin: Forward port rev 1169040: Add sanity check to DesktopGrid in case of pager layout and only one desktop. Pager reported two rows, which does not make sense and caused the grid to be in an inconsistent state. CCBUG: 248817 M +5 -0 desktopgrid.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1169041 SVN commit 1169042 by graesslin: Do not drop desktop on non-existing desktops in the desktop grid. BUG: 248817 FIXED-IN: 4.5.2 M +1 -1 desktopgrid.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1169042 SVN commit 1169043 by graesslin: Forward port rev 1169042: Do not drop desktop on non-existing desktops in the desktop grid. CCBUG: 248817 M +1 -1 desktopgrid.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1169043 |