Application: kwin (4.4.1 (KDE 4.4.1)) KDE Platform Version: 4.4.1 (KDE 4.4.1) Qt Version: 4.6.2 Operating System: Linux 2.6.31-19-generic x86_64 Distribution: Ubuntu 9.10 -- Information about the crash: I wasn't actually doing anything at the time. Pidgin displayed a new window with an incoming instant message, and that caused KWin to crash. I have special window settings for Pidgin that cause its windows to be grouped. -- Backtrace: Application: KWin (kwin), signal: Segmentation fault The current source language is "auto; currently c". [KCrash Handler] #5 QListData::begin (this=0xa300629d97005b91, c=0x1631830, before=-1, becomeVisible=true) at /usr/include/qt4/QtCore/qlist.h:93 #6 QList<KWin::Client*>::contains (this=0xa300629d97005b91, c=0x1631830, before=-1, becomeVisible=true) at /usr/include/qt4/QtCore/qlist.h:757 #7 KWin::ClientGroup::contains (this=0xa300629d97005b91, c=0x1631830, before=-1, becomeVisible=true) at ../../kwin/clientgroup.h:192 #8 KWin::ClientGroup::add (this=0xa300629d97005b91, c=0x1631830, before=-1, becomeVisible=true) at ../../kwin/clientgroup.cpp:52 #9 0x00007f0bc953f450 in KWin::Client::manage (this=0x1631830, w=<value optimized out>, isMapped=<value optimized out>) at ../../kwin/manage.cpp:307 #10 0x00007f0bc94f7652 in KWin::Workspace::createClient (this=0x1050480, w=10569200, is_mapped=255) at ../../kwin/workspace.cpp:547 #11 0x00007f0bc95334c1 in KWin::Workspace::workspaceEvent (this=0x1050480, e=0x7fff18d7ce10) at ../../kwin/events.cpp:378 #12 0x00007f0bc9510d48 in KWin::Application::x11EventFilter (this=0x7fff18d7d200, e=0x7fff18d7ce10) at ../../kwin/main.cpp:361 #13 0x00007f0bc58f23b1 in qt_x11EventFilter (ev=0x7fff18d7ce10) at kernel/qapplication_x11.cpp:399 #14 0x00007f0bc5900ec1 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff18d7ce10) at kernel/qapplication_x11.cpp:3231 #15 0x00007f0bc592d322 in x11EventSourceDispatch (s=0xe2c7d0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #16 0x00007f0bbdc97bce in g_main_dispatch (context=0xe2b480) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960 #17 IA__g_main_context_dispatch (context=0xe2b480) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513 #18 0x00007f0bbdc9b598 in g_main_context_iterate (context=0xe2b480, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591 #19 0x00007f0bbdc9b6c0 in IA__g_main_context_iteration (context=0xe2b480, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654 #20 0x00007f0bc5158333 in QEventDispatcherGlib::processEvents (this=0xe0f980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #21 0x00007f0bc592cf0e in QGuiEventDispatcherGlib::processEvents (this=0xa300629d97005b91, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #22 0x00007f0bc512d732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #23 0x00007f0bc512db0c in QEventLoop::exec (this=0x7fff18d7d140, flags=) at kernel/qeventloop.cpp:201 #24 0x00007f0bc513184b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #25 0x00007f0bc95125ae in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:526 #26 0x00007f0bc9172abd 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=0x7fff18d7d708) at libc-start.c:220 #27 0x0000000000400679 in _start () at ../sysdeps/x86_64/elf/start.S:113 Reported using DrKonqi
do those "incoming instant message" windows usually have a decoration (titlebar) or do you use plasma netbook?
They have normal decorations. Never used plasma netbook.
I got this crash again, but now "this" pointer in KWin::ClientGroup::add is clearly invalid. Here's the new backtrace, in case it's useful: Application: KWin (kwin), signal: Segmentation fault The current source language is "auto; currently c". [KCrash Handler] #5 QListData::begin (this=0x141, c=0x26bc3a0, before=-1, becomeVisible=true) at /usr/include/qt4/QtCore/qlist.h:93 #6 QList<KWin::Client*>::contains (this=0x141, c=0x26bc3a0, before=-1, becomeVisible=true) at /usr/include/qt4/QtCore/qlist.h:757 #7 KWin::ClientGroup::contains (this=0x141, c=0x26bc3a0, before=-1, becomeVisible=true) at ../../kwin/clientgroup.h:192 #8 KWin::ClientGroup::add (this=0x141, c=0x26bc3a0, before=-1, becomeVisible=true) at ../../kwin/clientgroup.cpp:52 #9 0x00007fa25cd08450 in KWin::Client::manage (this=0x26bc3a0, w=<value optimized out>, isMapped=<value optimized out>) at ../../kwin/manage.cpp:307 #10 0x00007fa25ccc0652 in KWin::Workspace::createClient (this=0x969400, w=56873040, is_mapped=255) at ../../kwin/workspace.cpp:547 #11 0x00007fa25ccfc4c1 in KWin::Workspace::workspaceEvent (this=0x969400, e=0x7ffffb27fa20) at ../../kwin/events.cpp:378 #12 0x00007fa25ccd9d48 in KWin::Application::x11EventFilter (this=0x7ffffb27fe10, e=0x7ffffb27fa20) at ../../kwin/main.cpp:361 #13 0x00007fa2590bb3b1 in qt_x11EventFilter (ev=0x7ffffb27fa20) at kernel/qapplication_x11.cpp:399 #14 0x00007fa2590c9ec1 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffffb27fa20) at kernel/qapplication_x11.cpp:3231 #15 0x00007fa2590f6322 in x11EventSourceDispatch (s=0x7417d0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #16 0x00007fa251460bce in g_main_dispatch (context=0x740480) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960 #17 IA__g_main_context_dispatch (context=0x740480) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513 #18 0x00007fa251464598 in g_main_context_iterate (context=0x740480, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591 #19 0x00007fa2514646c0 in IA__g_main_context_iteration (context=0x740480, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654 #20 0x00007fa258921333 in QEventDispatcherGlib::processEvents (this=0x724980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #21 0x00007fa2590f5f0e in QGuiEventDispatcherGlib::processEvents (this=0x141, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #22 0x00007fa2588f6732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #23 0x00007fa2588f6b0c in QEventLoop::exec (this=0x7ffffb27fd50, flags=) at kernel/qeventloop.cpp:201 #24 0x00007fa2588fa84b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #25 0x00007fa25ccdb5ae in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:526 #26 0x00007fa25c93babd 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=0x7ffffb280318) at libc-start.c:220 #27 0x0000000000400679 in _start () at ../sysdeps/x86_64/elf/start.S:113
*** Bug 240729 has been marked as a duplicate of this bug. ***
Created attachment 47748 [details] New crash information added by DrKonqi Well, it has happen again. I told before (bug 240729) that I had skype, emesene o Opera opened when KWin crashed. Now I realize that it crashed when I used the option "move to group", trying to group emesene & skype like happen to Dima.
Created attachment 52518 [details] New crash information added by DrKonqi kwin (4.5.2 (KDE 4.5.2)) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0 - What I was doing when the application crashed: kwin crashed when i try to open kmail window -- Backtrace (Reduced): #6 begin (this=0x0, c=0x268c780, before=-1, becomeVisible=true) at /usr/include/qt4/QtCore/qlist.h:97 #7 contains (this=0x0, c=0x268c780, before=-1, becomeVisible=true) at /usr/include/qt4/QtCore/qlist.h:860 #8 contains (this=0x0, c=0x268c780, before=-1, becomeVisible=true) at ../../kwin/clientgroup.h:192 #9 KWin::ClientGroup::add (this=0x0, c=0x268c780, before=-1, becomeVisible=true) at ../../kwin/clientgroup.cpp:52 #10 0x00007f26626afcdf in KWin::Client::manage (this=0x268c780, w=<value optimized out>, isMapped=<value optimized out>) at ../../kwin/manage.cpp:312
*** Bug 271483 has been marked as a duplicate of this bug. ***
is this crash still reproducable with the latest version of KDE? Most of the backtraces are for 4.4 with glib event loop still used which has been disabled some time ago and there are quite some fixes for window grouping in 4.6. In case anyone is still able to reproduce please reopen and attach a new backtrace.
Created attachment 60247 [details] New crash information added by DrKonqi kwin (4.6.2 (4.6.2)) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2 Got this crash again, now with KDE 4.6.2. The steps were almost the same as before; the only difference was, I opened a new window by double-clicking a name in Pidgin's contact list, instead of getting a new instant message. I have the same KWin settings as before: all of Pidgin's chat windows are grouped. The crash is very infrequent - I use Pidgin all the time and I've performed these exact steps thousands of times, but got the crash a total of three times or so. -- Backtrace (Reduced): #6 KWin::ClientGroup::add (this=0x0, c=0x1b43490, before=-1, becomeVisible=true) at ../../kwin/clientgroup.cpp:363 #7 0x00007f5f683d5994 in KWin::Client::manage (this=0x1b43490, w=<value optimized out>, isMapped=<value optimized out>) at ../../kwin/manage.cpp:338 #8 0x00007f5f683886a2 in KWin::Workspace::createClient (this=<value optimized out>, w=56799881, is_mapped=false) at ../../kwin/workspace.cpp:564 #9 0x00007f5f683c89ec in KWin::Workspace::workspaceEvent (this=0x1809f10, e=0x7fff5e3dc020) at ../../kwin/events.cpp:387 #10 0x00007f5f683a4bb8 in KWin::Application::x11EventFilter (this=0x7fff5e3dc260, e=0x7fff5e3dc020) at ../../kwin/main.cpp:367
Created attachment 60796 [details] New crash information added by DrKonqi kwin (4.6.2 (4.6.2)) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2 - What I was doing when the application crashed: It's still happening, somewhat frequently. -- Backtrace (Reduced): #6 KWin::ClientGroup::add (this=0x6f68736c61626f6c, c=0x19524b0, before=-1, becomeVisible=true) at ../../kwin/clientgroup.cpp:363 #7 0x00007f0c35e9e994 in KWin::Client::manage (this=0x19524b0, w=<value optimized out>, isMapped=<value optimized out>) at ../../kwin/manage.cpp:338 #8 0x00007f0c35e516a2 in KWin::Workspace::createClient (this=<value optimized out>, w=54535569, is_mapped=false) at ../../kwin/workspace.cpp:564 #9 0x00007f0c35e919ec in KWin::Workspace::workspaceEvent (this=0x1528a70, e=0x7fffd80ca950) at ../../kwin/events.cpp:387 #10 0x00007f0c35e6dbb8 in KWin::Application::x11EventFilter (this=0x7fffd80cab90, e=0x7fffd80ca950) at ../../kwin/main.cpp:367
(I'm assuming it's ok to change the status back?)
It looks like it stopped happening since I've upgraded to 4.7.1, so I'll close the bug report.
https://projects.kde.org/projects/kde/kde-workspace/repository/revisions/a28ded36b72272bfd53e3b310b662f30aee0f16c yes, is fixed - sorry that it took such a long time (not my fault at all) and you didn't even get a notion (that's clearly my fault) I'd love to tell you that's been it for tabbing crashes... but i can't :-( They however won't just be completely ignored - so the next one you find shouldn't take another 18 months.
*** Bug 291901 has been marked as a duplicate of this bug. ***
The bug is still there because checking for null pointer accesses is one thing, not polluting the stack attempting python on gcc is another. That code however will go, and "just" fix "this" occasion is not possible.
Git commit 94b2ad7b85801e37e2df4671cdc4f26b6d7e5506 by Thomas Lübking. Committed on 12/01/2012 at 07:42. Pushed by luebking into branch 'master'. fix tabbing Related: bug 290959, bug 265160, bug 238279, bug 290758, bug 222831, bug 278275, bug 245747, bug 230000, bug 253697, bug 230570, bug 265977, bug 225337, bug 225339 REVIEW: 103855 M +1 -1 kwin/CMakeLists.txt M +2 -2 kwin/activation.cpp M +92 -51 kwin/bridge.cpp M +17 -11 kwin/bridge.h M +77 -47 kwin/client.cpp M +21 -12 kwin/client.h D +0 -357 kwin/clientgroup.cpp D +0 -266 kwin/clientgroup.h M +0 -1 kwin/clients/CMakeLists.txt M +2 -2 kwin/clients/aurorae/src/aurorae.cpp M +51 -62 kwin/clients/oxygen/oxygenclient.cpp M +4 -4 kwin/clients/oxygen/oxygenclient.h M +3 -3 kwin/clients/oxygen/oxygenclientgroupitemdata.cpp M +1 -1 kwin/clients/oxygen/oxygenclientgroupitemdata.h M +1 -1 kwin/clients/oxygen/oxygenfactory.cpp D +0 -15 kwin/clients/tabstrip/CMakeLists.txt D +0 -10 kwin/clients/tabstrip/config/CMakeLists.txt D +0 -96 kwin/clients/tabstrip/config/tabstripconfig.cpp D +0 -56 kwin/clients/tabstrip/config/tabstripconfig.h D +0 -78 kwin/clients/tabstrip/config/tabstripconfig.ui D +0 -63 kwin/clients/tabstrip/tabstrip.desktop D +0 -317 kwin/clients/tabstrip/tabstripbutton.cpp D +0 -55 kwin/clients/tabstrip/tabstripbutton.h D +0 -443 kwin/clients/tabstrip/tabstripdecoration.cpp D +0 -60 kwin/clients/tabstrip/tabstripdecoration.h D +0 -113 kwin/clients/tabstrip/tabstripfactory.cpp D +0 -63 kwin/clients/tabstrip/tabstripfactory.h M +12 -10 kwin/effects.cpp M +3 -3 kwin/effects.h M +1 -1 kwin/effects/boxswitch/boxswitch.cpp M +4 -4 kwin/effects/desktopgrid/desktopgrid.cpp M +2 -2 kwin/effects/flipswitch/flipswitch.cpp M +3 -3 kwin/effects/highlightwindow/highlightwindow.cpp M +3 -3 kwin/effects/presentwindows/presentwindows.cpp M +1 -1 kwin/effects/slideback/slideback.cpp M +3 -3 kwin/events.cpp M +15 -15 kwin/geometry.cpp M +19 -14 kwin/kcmkwin/kwindecoration/preview.cpp M +12 -11 kwin/kcmkwin/kwindecoration/preview.h M +3 -3 kwin/kwinbindings.cpp M +4 -4 kwin/layers.cpp M +27 -22 kwin/libkdecorations/kcommondecoration.cpp M +13 -11 kwin/libkdecorations/kcommondecoration.h M +31 -24 kwin/libkdecorations/kdecoration.cpp M +45 -52 kwin/libkdecorations/kdecoration.h M +15 -11 kwin/libkdecorations/kdecorationbridge.h M +1 -1 kwin/libkwineffects/kwineffects.cpp M +5 -5 kwin/libkwineffects/kwineffects.h M +92 -25 kwin/manage.cpp M +5 -5 kwin/options.cpp M +2 -2 kwin/options.h M +2 -2 kwin/scene.cpp M +1 -1 kwin/scene.h M +1 -16 kwin/scripting/meta.cpp M +0 -11 kwin/scripting/meta.h M +0 -4 kwin/scripting/workspace_wrapper.cpp M +0 -4 kwin/scripting/workspace_wrapper.h M +11 -13 kwin/sm.cpp M +2 -2 kwin/sm.h A +295 -0 kwin/tabgroup.cpp [License: GPL (v2)] A +186 -0 kwin/tabgroup.h [License: GPL (v2)] M +4 -0 kwin/toplevel.cpp M +122 -166 kwin/useractions.cpp M +8 -90 kwin/workspace.cpp M +13 -31 kwin/workspace.h http://commits.kde.org/kde-workspace/94b2ad7b85801e37e2df4671cdc4f26b6d7e5506
Git commit 206257d750ca75e9b666acfc1413781614ab9a2d by Thomas Lübking. Committed on 12/01/2012 at 07:42. Pushed by luebking into branch 'master'. fix tabbing Related: bug 290959, bug 265160, bug 238279, bug 290758, bug 222831, bug 278275, bug 245747, bug 230000, bug 253697, bug 230570, bug 265977, bug 225337, bug 225339 REVIEW: 103855 M +1 -1 kwin/CMakeLists.txt M +2 -2 kwin/activation.cpp M +92 -51 kwin/bridge.cpp M +17 -11 kwin/bridge.h M +77 -47 kwin/client.cpp M +21 -12 kwin/client.h D +0 -357 kwin/clientgroup.cpp D +0 -266 kwin/clientgroup.h M +0 -1 kwin/clients/CMakeLists.txt M +2 -2 kwin/clients/aurorae/src/aurorae.cpp M +51 -62 kwin/clients/oxygen/oxygenclient.cpp M +4 -4 kwin/clients/oxygen/oxygenclient.h M +3 -3 kwin/clients/oxygen/oxygenclientgroupitemdata.cpp M +1 -1 kwin/clients/oxygen/oxygenclientgroupitemdata.h M +1 -1 kwin/clients/oxygen/oxygenfactory.cpp D +0 -15 kwin/clients/tabstrip/CMakeLists.txt D +0 -10 kwin/clients/tabstrip/config/CMakeLists.txt D +0 -96 kwin/clients/tabstrip/config/tabstripconfig.cpp D +0 -56 kwin/clients/tabstrip/config/tabstripconfig.h D +0 -78 kwin/clients/tabstrip/config/tabstripconfig.ui D +0 -63 kwin/clients/tabstrip/tabstrip.desktop D +0 -317 kwin/clients/tabstrip/tabstripbutton.cpp D +0 -55 kwin/clients/tabstrip/tabstripbutton.h D +0 -443 kwin/clients/tabstrip/tabstripdecoration.cpp D +0 -60 kwin/clients/tabstrip/tabstripdecoration.h D +0 -113 kwin/clients/tabstrip/tabstripfactory.cpp D +0 -63 kwin/clients/tabstrip/tabstripfactory.h M +12 -10 kwin/effects.cpp M +3 -3 kwin/effects.h M +1 -1 kwin/effects/boxswitch/boxswitch.cpp M +4 -4 kwin/effects/desktopgrid/desktopgrid.cpp M +2 -2 kwin/effects/flipswitch/flipswitch.cpp M +3 -3 kwin/effects/highlightwindow/highlightwindow.cpp M +3 -3 kwin/effects/presentwindows/presentwindows.cpp M +1 -1 kwin/effects/slideback/slideback.cpp M +3 -3 kwin/events.cpp M +15 -15 kwin/geometry.cpp M +19 -14 kwin/kcmkwin/kwindecoration/preview.cpp M +12 -11 kwin/kcmkwin/kwindecoration/preview.h M +3 -3 kwin/kwinbindings.cpp M +4 -4 kwin/layers.cpp M +27 -22 kwin/libkdecorations/kcommondecoration.cpp M +13 -11 kwin/libkdecorations/kcommondecoration.h M +31 -24 kwin/libkdecorations/kdecoration.cpp M +45 -52 kwin/libkdecorations/kdecoration.h M +15 -11 kwin/libkdecorations/kdecorationbridge.h M +1 -1 kwin/libkwineffects/kwineffects.cpp M +5 -5 kwin/libkwineffects/kwineffects.h M +92 -25 kwin/manage.cpp M +5 -5 kwin/options.cpp M +2 -2 kwin/options.h M +2 -2 kwin/scene.cpp M +1 -1 kwin/scene.h M +1 -16 kwin/scripting/meta.cpp M +0 -11 kwin/scripting/meta.h M +0 -4 kwin/scripting/workspace_wrapper.cpp M +0 -4 kwin/scripting/workspace_wrapper.h M +11 -13 kwin/sm.cpp M +2 -2 kwin/sm.h A +295 -0 kwin/tabgroup.cpp [License: GPL (v2)] A +186 -0 kwin/tabgroup.h [License: GPL (v2)] M +4 -0 kwin/toplevel.cpp M +122 -166 kwin/useractions.cpp M +8 -90 kwin/workspace.cpp M +13 -31 kwin/workspace.h http://commits.kde.org/kde-workspace/206257d750ca75e9b666acfc1413781614ab9a2d
Created attachment 70795 [details] New crash information added by DrKonqi kwin (4.8.2 (4.8.2)) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1 - What I was doing when the application crashed: Got this crash again, but now in KDE 4.8.2. I guess it's still not fixed? -- Backtrace (Reduced): #6 begin (this=0x51) at /usr/include/qt4/QtCore/qlist.h:101 #7 contains (t=<synthetic pointer>, this=0x51) at /usr/include/qt4/QtCore/qlist.h:882 #8 contains (c=0x3a53960, this=0x41) at ../../kwin/clientgroup.h:198 #9 KWin::ClientGroup::add (this=0x41, c=0x3a53960, before=-1, becomeVisible=true) at ../../kwin/clientgroup.cpp:52 #10 0x00007f85e7ce41f4 in KWin::Client::manage (this=<optimized out>, w=<optimized out>, isMapped=<optimized out>) at ../../kwin/manage.cpp:329
(In reply to comment #18) > Got this crash again, but now in KDE 4.8.2. I guess it's still not fixed? It is fixed in 4.9