This happens to me from time to time (not very often) but always with the same backtrace when I'm triggering present windows via a hot edge. Reproducible: Always Actual Results: Expected Results:
Created attachment 70598 [details] Backtrace
From backtrace (please don't attach them): Application: KWin (kwin), signal: Segmentation fault Using host libthread_db library "/lib/libthread_db.so.1". [KCrash Handler] #6 0x00007f6b53d6e30d in QObject::parent (this=<optimized out>) at /usr/include/QtCore/qobject.h:273 #7 0x00007f6b53d689f9 in KWin::EffectWindow::geometry (this=<optimized out>) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/libkwineffects/kwineffects.cpp:309 #8 0x00007f6b3ce7f3e3 in KWin::PresentWindowsEffect::calculateWindowTransformationsNatural (this=this@entry=0x1671ad0, windowlist=..., screen=screen@entry=0, motionManager=...) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/effects/presentwindows/presentwindows.cpp:1245 #9 0x00007f6b3ce8014d in KWin::PresentWindowsEffect::calculateWindowTransformations (this=0x1671ad0, windowlist=..., screen=0, motionManager=..., external=true) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/effects/presentwindows/presentwindows.cpp:990 #10 0x00007f6b3ce8a91a in KWin::PresentWindowsEffectProxy::calculateWindowTransformations (this=0x1671ae0, windows=..., screen=0, manager=...) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/effects/presentwindows/presentwindows_proxy.cpp:39 #11 0x00007f6b3ce9b4bb in KWin::DesktopGridEffect::slotWindowAdded (this=0x1673240, w=<optimized out>) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/effects/desktopgrid/desktopgrid.cpp:397 #12 0x00007f6b52be13ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #13 0x00007f6b53d65a92 in KWin::EffectsHandler::windowAdded (this=<optimized out>, _t1=0x20d0b80) at /home/afiestas/cod3s/cpp/kde/build/kde-workspace/kwin/libkwineffects/kwineffects.moc:434 #14 0x00007f6b52be13ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #15 0x00007f6b57611fc2 in KWin::Toplevel::windowShown (this=this@entry=0x20845c0, _t1=_t1@entry=0x20845c0) at /home/afiestas/cod3s/cpp/kde/build/kde-workspace/kwin/toplevel.moc:341 #16 0x00007f6b5761200f in KWin::Toplevel::setReadyForPainting (this=0x20845c0) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/toplevel.cpp:339 #17 0x00007f6b575d25a8 in KWin::Client::syncEvent (this=0x20845c0, e=<optimized out>) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/events.cpp:1560 #18 0x00007f6b575d4a71 in KWin::Workspace::workspaceEvent (this=0x1427600, e=0x7fffc8a63cd0) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/events.cpp:473 #19 0x00007f6b575c9099 in KWin::Application::x11EventFilter (this=0x7fffc8a641d0, e=0x7fffc8a63cd0) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/main.cpp:368 #20 0x00007f6b51dcf03c in ?? () from /usr/lib/libQtGui.so.4 #21 0x00007f6b51ddcc8b in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #22 0x00007f6b51e041e9 in ?? () from /usr/lib/libQtGui.so.4 #23 0x00007f6b52bcaf8f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #24 0x00007f6b52bcb218 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #25 0x00007f6b52bcfbf8 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #26 0x00007f6b575ca8a9 in kdemain (argc=3, argv=0x7fffc8a64318) at /home/afiestas/cod3s/cpp/kde/source/kde-workspace/kwin/main.cpp:557 #27 0x00007f6b50750455 in __libc_start_main () from /lib/libc.so.6 #28 0x00000000004008d1 in _start ()
The backtrace says it's DesktopGrid and not PresentWindows. What's correct? The backtrace also indicates that a window got added while Desktop Grid was active. Is that possible?
Oh yes, DesktopGrid + PresentWindows. I don't know if a window got added. it may be a MessageBox from Kontact but can't really tell for sure.
This could have been the m_closeWindow. a) do you still get the crash? b) do you recall whether you did or do you still use the closebutton?
This happen a few weeks ago so I have no memory of it :/ will update next time I have the crash.
Created attachment 84495 [details] New crash information added by DrKonqi kwin (4.11.3) on KDE Platform 4.11.3 using Qt 4.8.5 - What I was doing when the application crashed: tried to use present windows kwin effect and kwin crashed -- Backtrace (Reduced): #6 0x00007fddf193f9a9 in KWin::EffectWindow::geometry (this=this@entry=0x2c4b6c0) at /usr/src/debug/kde-workspace-4.11.3/kwin/libkwineffects/kwineffects.cpp:690 #7 0x00007fddcddce6ef in KWin::PresentWindowsEffect::calculateWindowTransformationsNatural (this=this@entry=0x1abbec0, windowlist=..., screen=0, motionManager=...) at /usr/src/debug/kde-workspace-4.11.3/kwin/effects/presentwindows/presentwindows.cpp:1231 #8 0x00007fddcddd1bdd in KWin::PresentWindowsEffect::calculateWindowTransformations (this=0x1abbec0, windowlist=..., screen=screen@entry=0, motionManager=..., external=external@entry=true) at /usr/src/debug/kde-workspace-4.11.3/kwin/effects/presentwindows/presentwindows.cpp:976 #9 0x00007fddcddd8395 in KWin::PresentWindowsEffectProxy::calculateWindowTransformations (this=0x1abbed0, windows=..., screen=screen@entry=0, manager=...) at /usr/src/debug/kde-workspace-4.11.3/kwin/effects/presentwindows/presentwindows_proxy.cpp:39 #10 0x00007fddcdde6bee in KWin::DesktopGridEffect::slotWindowAdded (this=0x19ac000, w=0x2c7c410) at /usr/src/debug/kde-workspace-4.11.3/kwin/effects/desktopgrid/desktopgrid.cpp:392
Same issue as with original report: the call is actually coming out of the desktop grid effect (invoking presentwindows for post layouting) --> did you really try present windows, or did you invoke the desktop grid (shows all virtual desktops) And is the issue reproducible? (As you said "tried")
Thank you for the report, Alex. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
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!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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 Thank you for helping us make KDE software even better for everyone!