Bug 233756

Summary: KWin Crashes when I group windows
Product: [Plasma] kwin Reporter: Javier E <jaedns>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: franciscoadriansanchez, j.mairboeck
Priority: NOR Keywords: investigated, triaged
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Javier E 2010-04-08 18:47:16 UTC
Application: kwin (4.4.2 (KDE 4.4.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.33 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
I have some applications configured to group automatically, and when group a popup window from rekonq KWin crashes... only happened once

 -- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x0000000001513270 in ?? ()
#6  0x00007f6b45d23fbd in __dynamic_cast () from /usr/lib/libstdc++.so.6
#7  0x00007f6b4a5ca058 in KWin::Toplevel::windowType (this=0x7f6b4a518248, direct=false, supported_types=<value optimized out>) at ../../kwin/toplevel.cpp:154
#8  0x00007f6b4a557a3d in KWin::Toplevel::isDesktop (this=0x7f6b4a518248) at ../../kwin/toplevel.h:273
#9  KWin::Client::isSpecialWindow (this=0x7f6b4a518248) at ../../kwin/client.cpp:1920
#10 0x00007f6b4a558635 in KWin::Client::isCloseable (this=0x1309fe0) at ../../kwin/client.cpp:1257
#11 0x00007f6b4a55fcad in KWin::Client::closeWindow (this=0x7f6b4a518248) at ../../kwin/client.cpp:1265
#12 0x00007f6b4a596d7f in KWin::Bridge::closeClientGroupItem (this=<value optimized out>, index=0) at ../../kwin/bridge.cpp:278
#13 0x00007f6b3397b658 in Oxygen::OxygenClient::closeItem (this=0x1317fe0, button=0x1507b60) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1732
#14 0x00007f6b339744c2 in Oxygen::OxygenClient::eventFilter (this=0x1317fe0, object=0x1507b60, event=0x7fff30b7d0f0) at ../../../../kwin/clients/oxygen/oxygenclient.cpp:1275
#15 0x00007f6b460ec1f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1507b60, event=0x7fff30b7d0f0) at kernel/qcoreapplication.cpp:819
#16 0x00007f6b468768cc in QApplicationPrivate::notify_helper (this=0xbdc570, receiver=0x1507b60, e=0x7fff30b7d0f0) at kernel/qapplication.cpp:4296
#17 0x00007f6b4687d5bb in QApplication::notify (this=0x7fff30b7dc50, receiver=0x1507b60, e=0x7fff30b7d0f0) at kernel/qapplication.cpp:3865
#18 0x00007f6b49db4356 in KApplication::notify (this=0x7fff30b7dc50, receiver=0x1507b60, event=0x7fff30b7d0f0) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x00007f6b460ecddc in QCoreApplication::notifyInternal (this=0x7fff30b7dc50, receiver=0x1507b60, event=0x7fff30b7d0f0) at kernel/qcoreapplication.cpp:704
#20 0x00007f6b4687c78e in QCoreApplication::sendEvent (receiver=0x1507b60, event=0x7fff30b7d0f0, alienWidget=0x0, nativeWidget=0x1507b60, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QApplicationPrivate::sendMouseEvent (receiver=0x1507b60, event=0x7fff30b7d0f0, alienWidget=0x0, nativeWidget=0x1507b60, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2965
#22 0x00007f6b468fc33b in QETWidget::translateMouseEvent (this=0x1507b60, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#23 0x00007f6b468fb04a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff30b7d870) at kernel/qapplication_x11.cpp:3501
#24 0x00007f6b46926732 in x11EventSourceDispatch (s=0xbe03b0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007f6b406706c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f6b40674538 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f6b406746ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f6b46116233 in QEventDispatcherGlib::processEvents (this=0xbc2dc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#29 0x00007f6b4692632e in QGuiEventDispatcherGlib::processEvents (this=0x7f6b4a518248, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f6b460eb702 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f6b460ebadc in QEventLoop::exec (this=0x7fff30b7db90, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f6b460ef81b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x00007f6b4a56b50e in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:526
#34 0x00007f6b4a1e6abd 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=0x7fff30b7e158) at libc-start.c:222
#35 0x00000000004006a9 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2010-10-05 22:09:51 UTC
*** Bug 253336 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Lübking 2010-10-06 19:39:32 UTC
SVN commit 1183245 by luebking:

secure clientGroup pointer accesses

BUG: 251388
CCBUG: 195907
CCBUG: 233756


 M  +10 -0     bridge.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1183245
Comment 3 Thomas Lübking 2010-11-23 23:11:51 UTC
SVN commit 1200088 by luebking:

backporting r1183245 "secure clientGroup pointer accesses"

CCBUG: 251388
CCBUG: 195907
CCBUG: 233756


 M  +10 -0     bridge.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1200088
Comment 4 Martin Flöser 2011-05-07 09:17:17 UTC
There have been many fixes to this issue. Is this crash still reproducable?
Comment 5 Joachim Mairböck 2012-02-01 11:44:45 UTC
Created attachment 68391 [details]
New crash information added by DrKonqi

kwin (4.7.4 (4.7.4)) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

- What I was doing when the application crashed:
I was trying to close an okular window which I opened twice. There were also other okular windows in the same group. Using Oxygen style and autogrouping.

-- Backtrace (Reduced):
#7  0xb76b479b in KWin::Toplevel::windowType (this=0x91af938, direct=false, supported_types=0) at /usr/src/debug/kde-workspace-4.7.4/kwin/toplevel.cpp:163
#8  0xb762d10b in isDesktop (this=0x91af938) at /usr/src/debug/kde-workspace-4.7.4/kwin/toplevel.h:303
#9  KWin::Client::isSpecialWindow (this=0x91af938) at /usr/src/debug/kde-workspace-4.7.4/kwin/client.cpp:2148
#10 0xb762d1cd in KWin::Client::isCloseable (this=0x91af938) at /usr/src/debug/kde-workspace-4.7.4/kwin/client.cpp:1352
#11 0xb7633052 in KWin::Client::closeWindow (this=0x91af938) at /usr/src/debug/kde-workspace-4.7.4/kwin/client.cpp:1360
Comment 6 Andrew Crouthamel 2018-09-22 02:07:10 UTC
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 set the bug status 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!
Comment 7 Andrew Crouthamel 2018-10-27 02:11:55 UTC
Dear Bug Submitter,

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!