Summary: | kwin crashed when playing with knotes window decoration | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Wonko <wonko> |
Component: | general | Assignee: | Thomas Lübking <thomas.luebking> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | danielschenk, wonko |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.5.4 | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
Secure clientGroup() calls in bridge.cpp |
Description
Wonko
2010-09-16 00:30:45 UTC
Unfortuantely this backtrace is missing the important debug information. If you are able to reproduce please install the debug packages provided by your distribution and attach a new backtrace. Thanks. Created attachment 51753 [details]
New crash information added by DrKonqi
kwin (4.5.1 (KDE 4.5.1)) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.6.3
Okay, I re-compiled knotes and kwin with debug information.
This time, the crash did not always happen at the 2nd mouse click, I sometimes had to disable and enable the window decoration again for this. And I noticed that this does only seem to happen with desktop effects enabled.
-- Backtrace (Reduced):
#6 detach (this=0x0, index=0, pos=...) at /usr/include/qt4/QtCore/qlist.h:122
#7 operator[] (this=0x0, index=0, pos=...) at /usr/include/qt4/QtCore/qlist.h:448
#8 KWin::ClientGroup::displayClientMenu (this=0x0, index=0, pos=...) at /var/portage/tmp/portage/kde-base/kwin-4.5.1/work/kwin-4.5.1/kwin/clientgroup.cpp:245
#9 0x00007f6910d6d209 in Oxygen::Client::mousePressEvent (this=0xf2aaa0, event=0x7fff6cc878a0) at /var/portage/tmp/portage/kde-base/kwin-4.5.1/work/kwin-4.5.1/kwin/clients/oxygen/oxygenclient.cpp:1484
#10 0x00007f6910d6d448 in Oxygen::Client::eventFilter (this=0xf2aaa0, object=0x6c7540, event=0x7fff6cc878a0) at /var/portage/tmp/portage/kde-base/kwin-4.5.1/work/kwin-4.5.1/kwin/clients/oxygen/oxygenclient.cpp:1275
Created attachment 51757 [details]
Secure clientGroup() calls in bridge.cpp
because of the wonky state of clientGroup() it should actually be tested before every call (bridge.cpp in this case) :-(
patch for bridge.cpp attached...
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 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 *** Bug 266333 has been marked as a duplicate of this bug. *** |