Summary: | KWin crashed after moving a recently started application from one desktop to another | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Martin <martin.ruessler> |
Component: | effects-desktop-grid | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | billrclarity, mail, martin.ruessler, Nephelyn, yo |
Priority: | NOR | ||
Version: | 4.10.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
New crash information added by DrKonqi
KWin Support Information New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Martin
2012-12-11 10:37:52 UTC
Looks like there's a dangeling pointer (likely the splash) in the motionmanager. Either because it was added in the first place, or the effect did not receive slotWindowClosed for the window. Random try would be to MM::unmanage() windows from the deleted slot. Created attachment 78379 [details]
New crash information added by DrKonqi
kwin (4.10.1) on KDE Platform 4.10.1 using Qt 4.8.4
- What I was doing when the application crashed:
This is still valid in KDE 4.10.1 and can be reproduced like before.
-- Backtrace (Reduced):
#6 QObject::property (this=0x260100000de1, name=0x7f2820ed0821 "geometry") at kernel/qobject.cpp:3733
#7 0x00007f2820ec05bd in KWin::EffectWindow::geometry (this=<optimized out>) at ../../../kwin/libkwineffects/kwineffects.cpp:662
#8 0x00007f27f53a44ab in setActive (active=<optimized out>, this=0x1d0df50) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:1051
#9 KWin::DesktopGridEffect::setActive (this=0x1d0df50, active=<optimized out>) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:1034
#10 0x00007f27f53a546a in KWin::DesktopGridEffect::windowInputMouseEvent (this=0x1d0df50, e=<optimized out>) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:646
No crash here, please: a) descripbe -what* you move - the splashscreen or the mainwindow? b) note how many other windows are on the from/to desktops c) provide the output of "qdbus org.kde.kwin /KWin supportInformation" Created attachment 78449 [details]
KWin Support Information
a) I move the main window. I did not know that I also can move the splashscreen until now.
b) During my first test I had three windows on desktop 1 and one window on desktop 2 (out of two desktops). I could reproduce the bug in 'both ways' (moving from 1 to 2 and vice versa). Then I closed all windows except the browser window and tried again. So far I got one crash in 15 tries. I also tried to reproduce the crash using krita but that did not work. Maybe it is related to the fact that the kile splash is visible for a short duration after the main window showed up (krita replaces the splash with the main window much faster).
c) attached
I, for one, can not move the kile mainwindow while the splash is still there (because it's ~100ms at best and the layout re-arranges with the appearance of the main window) So here comes a wild guess: does it happen with "dim inactive" disabled? Created attachment 78469 [details]
New crash information added by DrKonqi
kwin (4.10.1) on KDE Platform 4.10.1 using Qt 4.8.4
- What I was doing when the application crashed:
Yes, the crash also happens with 'dim inactive' disabled. Since I am not completely sure that this backtrace is not slightly different, I attached it, too.
I am using Kile from Git, maybe the splashscreen is longer active in that version. Maybe a test app with just a splashscreen and a main window can help to reproduce this bug.
-- Backtrace (Reduced):
#6 0x00007f37ca81e5b4 in KWin::EffectWindow::geometry (this=<optimized out>) at ../../../kwin/libkwineffects/kwineffects.cpp:662
#7 0x00007f379edc34ab in setActive (active=<optimized out>, this=0x3588c40) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:1051
#8 KWin::DesktopGridEffect::setActive (this=0x3588c40, active=<optimized out>) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:1034
#9 0x00007f379edc446a in KWin::DesktopGridEffect::windowInputMouseEvent (this=0x3588c40, e=<optimized out>) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:646
#10 0x00007f37cc3ec191 in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=<optimized out>, e=0x7fffedc13030) at ../../kwin/effects.cpp:1069
*** Bug 319875 has been marked as a duplicate of this bug. *** Created attachment 81325 [details]
New crash information added by DrKonqi
kwin (4.10.95) on KDE Platform 4.10.95 using Qt 4.8.4
- What I was doing when the application crashed:
I entered Show All Desktops via a keybinding. From there, I dragged Chrome and KWin segfaulted.
-- Backtrace (Reduced):
#6 KWin::DesktopGridEffect::windowInputMouseEvent (this=0x8d8510, e=<optimized out>) at ../../../kwin/effects/desktopgrid/desktopgrid.cpp:568
#7 0x00007fcb007dffcb in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=<optimized out>, e=0x7fffa90565b0) at ../../kwin/effects.cpp:1237
#8 0x00007fcb00778405 in KWin::Workspace::workspaceEvent (this=0x9beb60, e=e@entry=0x7fffa90565b0) at ../../kwin/events.cpp:113
#9 0x00007fcb0076d3a0 in KWin::Application::x11EventFilter (this=0x7fffa90569a0, e=0x7fffa90565b0) at ../../kwin/main.cpp:414
#10 0x00007fcaf9bfa42c in qt_x11EventFilter (ev=0x7fffa90565b0) at kernel/qapplication_x11.cpp:441
May be a different issue. How many monitors and virtual desktops do you use? Created attachment 83405 [details]
New crash information added by DrKonqi
kwin (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.5
I think I ran into the same bug again. Kwin crashed right after moving a window to another desktop.
-- Backtrace (Reduced):
#6 0x00007fbb70875428 in QObject::property(char const*) const () from /usr/lib/libQtCore.so.4
#7 0x00007fbb757ab452 in KWin::EffectWindow::geometry (this=<optimized out>) at /chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.11.2/kwin/libkwineffects/kwineffects.cpp:690
#8 0x00007fbb50bf5526 in KWin::DesktopGridEffect::setActive (this=0x2827db0, active=<optimized out>) at /chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.11.2/kwin/effects/desktopgrid/desktopgrid.cpp:1046
#9 0x00007fbb50bf8b91 in KWin::DesktopGridEffect::windowInputMouseEvent (this=<optimized out>, e=<optimized out>) at /chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.11.2/kwin/effects/desktopgrid/desktopgrid.cpp:643
#10 0x00007fbb7607d0bb in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=<optimized out>, e=0x7fff8aab0ab0) at /chakra/desktop-unstable/kde-workspace/src/kde-workspace-4.11.2/kwin/effects.cpp:1238
*** Bug 327568 has been marked as a duplicate of this bug. *** *** Bug 359687 has been marked as a duplicate of this bug. *** Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! I could not reproduce the error anymore. |