Summary: | Grouping windows automatically while one similar window is already open and shaded makes kwin crash | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Micael Capitão <micael.capitao> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | igordcard, j.benner, kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.4.5 | |
Sentry Crash Report: |
Description
Micael Capitão
2010-06-19 23:33:00 UTC
-- Backtrace: Application: KWin (kwin), signal: Segmentation fault [KCrash Handler] #5 0x00007ff2b117375c in KWin::Client::setShade(KWin::ShadeMode) () from /usr/lib/libkdeinit4_kwin.so #6 0x00007ff2b1177989 in KWin::ClientGroup::add(KWin::Client*, int, bool) () from /usr/lib/libkdeinit4_kwin.so #7 0x00007ff2b11ac21f in KWin::Client::manage(unsigned long, bool) () from /usr/lib/libkdeinit4_kwin.so Please install kdebase-workspace debug packages and paste a new backtrace Arch linux don't have debug packages. KDEmod has debug packages, but the standard ones don't. It is easy to reproduce. Can you reproduce the bug? I can reproduce this on Archlinux x86 with KDE 4.4.4. *** Bug 242246 has been marked as a duplicate of this bug. *** Bug #242246 has a more complete trace -- Backtrace: Application: KWin (kwin), signal: Segmentation fault [Current thread is 1 (Thread 0x7f2844949780 (LWP 2968))] Thread 1 (Thread 0x7f2844949780 (LWP 2968)): [KCrash Handler] #6 0x00007f28444af89c in KWin::Client::setShade (this=0x1d8a3c0, mode=<value optimized out>) at ../../kwin/client.cpp:984 #7 0x00007f28444b30f9 in KWin::ClientGroup::add (this=0x1d14f40, c=0x1d8a3c0, before=-1, becomeVisible=true) at ../../kwin/clientgroup.cpp:69 #8 0x00007f28444ee116 in KWin::Client::manage (this=0x1d8a3c0, w=<value optimized out>, isMapped=<value optimized out>) at ../../kwin/manage.cpp:325 #9 0x00007f28444a3772 in KWin::Workspace::createClient (this=0x19d6380, w=71398080, is_mapped=208) at ../../kwin/workspace.cpp:558 #10 0x00007f28444e0101 in KWin::Workspace::workspaceEvent (this=0x19d6380, e=0x7fffc2f04eb0) at ../../kwin/events.cpp:385 #11 0x00007f28444bbc28 in KWin::Application::x11EventFilter (this=0x7fffc2f052a0, e=0x7fffc2f04eb0) at ../../kwin/main.cpp:362 #12 0x00007f283fc29fe1 in qt_x11EventFilter (ev=0x7fffc2f04eb0) at kernel/qapplication_x11.cpp:408 #13 0x00007f283fc39c51 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffc2f04eb0) at kernel/qapplication_x11.cpp:3248 #14 0x00007f283fc66482 in x11EventSourceDispatch (s=0x1883770, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #15 0x00007f28396028c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #16 0x00007f2839606748 in ?? () from /lib/libglib-2.0.so.0 #17 0x00007f28396068fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #18 0x00007f2840a73973 in QEventDispatcherGlib::processEvents (this=0x1865d60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #19 0x00007f283fc65dee in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #20 0x00007f2840a465b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #21 0x00007f2840a4698c in QEventLoop::exec (this=0x7fffc2f051e0, flags=) at kernel/qeventloop.cpp:201 #22 0x00007f2840a4aa3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #23 0x00007f28444bdecf in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:523 #24 0x00007f2844104c4d 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=0x7fffc2f05798) at libc-start.c:226 #25 0x00000000004006b9 in _start () SVN commit 1140341 by graesslin: Ensure that a decoration is created before we try to shade the client. This fixes a crash when auto-grouping is enabled and a client should be added to a shaded group. It still crashes when kwin is restarted with a shade group (same backtrace, but needs a different fix). BUG: 242206 FIXED-IN: 4.4.5 M +2 -0 manage.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1140341 SVN commit 1140342 by graesslin: Forward port rev 1140341: Ensure that a decoration is created before we try to shade the client. This fixes a crash when auto-grouping is enabled and a client should be added to a shaded group. It still crashes when kwin is restarted with a shade group (same backtrace, but needs a different fix). CCBUG: 242206 M +2 -0 manage.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1140342 SVN commit 1140343 by graesslin: When restarting kwin and there is a shaded group, set shade is called before a decoration is created. Catch this case, so that kwin doesn't crash. This fix is related to rev 1140342. CCBUG: 242206 M +2 -0 client.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1140343 SVN commit 1140344 by graesslin: Backport rev 1140343: When restarting kwin and there is a shaded group, set shade is called before a decoration is created. Catch this case, so that kwin doesn't crash. CCBUG: 242206 M +2 -0 client.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1140344 |