| Summary: | Kwin crash after moving a window in desktop-grid [KWin::WindowMotionManager::transformedGeometry, KWin::WindowMotionManager::windowAtPoint, KWin::DesktopGridEffect::windowAt] | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Marcel <wittemar> |
| Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | wittemar |
| Priority: | VHI | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
I had a crash in the same situation but with a slightly different backtrace:
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#5 0x00007f1aff6d01e5 in KWin::DesktopGridEffect::setActive (this=0x91a0f0, active=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/effects/desktopgrid/desktopgrid.cpp:996
#6 0x00007f1aff6d3903 in KWin::DesktopGridEffect::windowInputMouseEvent (this=0x91a0f0, e=<value optimized out>)
at /usr/src/debug/kdebase-workspace-4.3.80/kwin/effects/desktopgrid/desktopgrid.cpp:575
#7 0x00007f1b0ff1a965 in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=<value optimized out>, e=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/effects.cpp:817
#8 0x00007f1b0fec46b2 in KWin::Workspace::workspaceEvent (this=0x838160, e=0x7fffdbd97400) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/events.cpp:258
#9 0x00007f1b0fea3058 in KWin::Application::x11EventFilter (this=0x7fffdbd977f0, e=0x7fffdbd97400) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/main.cpp:361
#10 0x00007f1b0c2ba511 in qt_x11EventFilter (ev=0x7fffdbd97400) at kernel/qapplication_x11.cpp:399
#11 0x00007f1b0c2c8df1 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffdbd97400) at kernel/qapplication_x11.cpp:3231
#12 0x00007f1b0c2f3d62 in x11EventSourceDispatch (s=0x62e350, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#13 0x00007f1b056c7dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#14 0x00007f1b056cb7a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f1b056cb8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f1b0bb25b13 in QEventDispatcherGlib::processEvents (this=0x610ae0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#17 0x00007f1b0c2f394e in QGuiEventDispatcherGlib::processEvents (this=0x1242850, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#18 0x00007f1b0bafae52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#19 0x00007f1b0bafb22c in QEventLoop::exec (this=0x7fffdbd97730, flags=) at kernel/qeventloop.cpp:201
#20 0x00007f1b0bafef7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#21 0x00007f1b0fea48be in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/main.cpp:526
#22 0x00007f1b0fb19a7d 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=0x7fffdbd97cf8) at libc-start.c:220
#23 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113
Warning: the current language does not match this frame.
The current source language is "auto; currently c".
Unfortunately I changed the code at exactly the lines which are mentioned in the backtrace :-( Are you able to reproduce it reliable. If yes can you provide a pattern how to let desktop grid crash? I am unable to crash it, but sometimes desktop grid get's kind of stuck. I think it is related but up to now I have not yet found a way to reproduce. Sadly it happens sporadic while using desktop grid.
I have started kwin in gdb, but I don't know which values are important to you I've selected a few:
(gdb) info locals
geometry = {xp = 4.9406564584124654e-324, yp = 6.953347831980716e-310, w = 6.9533558071188068e-310, h = 0}
(gdb) info args
this = 0xb20f70
w = 0x110a750
(gdb) print *w
$6 = {_vptr.EffectWindow = 0x1}
(gdb) print *this
$7 = {m_useGlobalAnimationModifier = true, m_managedWindows = {{d = 0x11049d0, e = 0x11049d0}}, m_movingWindows = 0}
I hope this can help. I can provide more debugging-information if needed.
As the relevant code changed, please try again with beta 2 and please provide a new backtrace if you are still able to reproduce. (In reply to comment #4) > As the relevant code changed, please try again with beta 2 and please provide a > new backtrace if you are still able to reproduce. Any news? If this crash still occurs in beta 2 please add a new backtrace, if not please add a comment that it is fixed. I would like to have such a crasher fixed before RC tagging (5th of January) but therefore I need to know if it is still valid. Sry that I forgot to answer... This seems to be fixed with beta2 :) (In reply to comment #6) > Sry that I forgot to answer... no problem :-) > This seems to be fixed with beta2 :) great thanks for the info |
Application: kwin (4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)) "release 196") KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)) "release 196" Qt Version: 4.6.0 Operating System: Linux 2.6.31.5-0.1-default x86_64 Distribution: "openSUSE 11.2 (x86_64)" -- Information about the crash: I was moving a window in the desktop-grid. Then after choosing a desktop kwin crashes The crash can be reproduced some of the times. -- Backtrace: Application: KWin (kwin), signal: Segmentation fault [KCrash Handler] #5 0x0000000000000001 in ?? () #6 0x00007fc7c3fa0e1a in KWin::WindowMotionManager::transformedGeometry (this=0xfd1450, w=0x121b8b0) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/lib/kwineffects.cpp:1312 #7 0x00007fc7c3fa12a7 in KWin::WindowMotionManager::windowAtPoint (this=0xfd1450, point=<value optimized out>, useStackingOrder=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/lib/kwineffects.cpp:1341 #8 0x00007fc7b4f28902 in KWin::DesktopGridEffect::windowAt (this=0x8afd90, pos=...) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/effects/desktopgrid/desktopgrid.cpp:807 #9 0x00007fc7b4f2eae1 in KWin::DesktopGridEffect::windowInputMouseEvent (this=0x8afd90, e=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/effects/desktopgrid/desktopgrid.cpp:514 #10 0x00007fc7c575a965 in KWin::EffectsHandlerImpl::checkInputWindowEvent (this=<value optimized out>, e=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/effects.cpp:817 #11 0x00007fc7c57046b2 in KWin::Workspace::workspaceEvent (this=0x821d20, e=0x7fffe0320570) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/events.cpp:258 #12 0x00007fc7c56e3058 in KWin::Application::x11EventFilter (this=0x7fffe0320960, e=0x7fffe0320570) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/main.cpp:361 #13 0x00007fc7c1afa511 in qt_x11EventFilter (ev=0x7fffe0320570) at kernel/qapplication_x11.cpp:399 #14 0x00007fc7c1b08df1 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffe0320570) at kernel/qapplication_x11.cpp:3231 #15 0x00007fc7c1b33d62 in x11EventSourceDispatch (s=0x62e390, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #16 0x00007fc7baf07dde in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #17 0x00007fc7baf0b7a8 in ?? () from /usr/lib64/libglib-2.0.so.0 #18 0x00007fc7baf0b8d0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #19 0x00007fc7c1365b13 in QEventDispatcherGlib::processEvents (this=0x6106f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407 #20 0x00007fc7c1b3394e in QGuiEventDispatcherGlib::processEvents (this=0x121b8b0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #21 0x00007fc7c133ae52 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #22 0x00007fc7c133b22c in QEventLoop::exec (this=0x7fffe03208a0, flags=) at kernel/qeventloop.cpp:201 #23 0x00007fc7c133ef7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #24 0x00007fc7c56e48be in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.3.80/kwin/main.cpp:526 #25 0x00007fc7c5359a7d 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=0x7fffe0320e68) at libc-start.c:220 #26 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113 Warning: the current language does not match this frame. The current source language is "auto; currently c". Reported using DrKonqi