Summary: | KWin crashed when new window was opened while window presentation was active | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Lukáš Karas <lukas.karas> |
Component: | effects-window-management | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | xenodelphia |
Priority: | NOR | ||
Version: | 4.11.11 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
URL: | https://git.reviewboard.kde.org/r/120601/ | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=298671 | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | KWin configuration |
Description
Lukáš Karas
2014-10-15 07:43:53 UTC
Created attachment 89135 [details]
KWin configuration
The backtrace indicates you were using DesktopGrid Effect at the time the crash happened. Is that accurate? (In reply to Martin Gräßlin from comment #2) > The backtrace indicates you were using DesktopGrid Effect at the time the > crash happened. Is that accurate? Yes, stacktrace looks like that. It probably was my confusion. Sorry. And it was caused by window (splash screen) close event probably (slotWindowClosed), not opening new window. > Yes, stacktrace looks like that. It probably was my confusion. Sorry. And it
> was caused by window (splash screen) close event probably
> (slotWindowClosed), not opening new window.
just to get it confirmed: the closing of a splash screen in Desktop Grid
triggered the crash?
The splash screen of which application was that?
(In reply to Martin Gräßlin from comment #4) > > Yes, stacktrace looks like that. It probably was my confusion. Sorry. And it > > was caused by window (splash screen) close event probably > > (slotWindowClosed), not opening new window. > > just to get it confirmed: the closing of a splash screen in Desktop Grid > triggered the crash? Yes - probably. Main window was opened after close splash screen immediately, so I can't say what action caused this crash. But in stack trace is method "slotWindowClosed"... > > The splash screen of which application was that? I was IntelliJ IDEA ( https://www.jetbrains.com/idea/ ), java/swing application. But I'm not able to reproduce this crash :-( not being able to reproduce makes it tricky ;-) There are a few things which puzzle me in the stack trace. The window which got closed is an Unmanaged - normally a Splash screen shouldn't be unmanaged, but as it's Java it might be the case. But more interestingly it triggered a reordering of the grid which doesn't make sense for an Unmanaged as they shouldn't be added to the grid in the first place. Looking at the desktopgrid code, ::slotWindowDeleted() should probably ensure to kick the deleted window from all managers. Eg. if a window is closed while "timeline.currentValue() == 0", slotWindowClosed() will shortcut exit and not be removed from the managers, thus dangle around forever. Maybe there're other ways for a window to be deleted w/o the closed slot being entered. *** Bug 354916 has been marked as a duplicate of this bug. *** Git commit 12b63e2aa7ed3ecc9a20b1724b2368e9a8ab3d65 by Thomas Lübking. Committed on 17/11/2015 at 20:30. Pushed by luebking into branch 'master'. remove deleted windows from motionmanagers Eg. if a window is closed while "timeline.currentValue() == 0", slotWindowClosed() will shortcut exit and not be removed from the managers, thus dangle around forever. Maybe there're other ways for a window to be deleted w/o the closed slot being entered. REVIEW: 126034 M +6 -0 effects/desktopgrid/desktopgrid.cpp http://commits.kde.org/kwin/12b63e2aa7ed3ecc9a20b1724b2368e9a8ab3d65 as we haven't seen any further comments since the last commit, I assume the crash got fixed by that. In case the crash still happens, please reopen. |