Bug 195907 - Random crash on mouse press with rightclick menu active
Summary: Random crash on mouse press with rightclick menu active
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 218626 240096 252945 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-10 17:33 UTC by Einar Lielmanis
Modified: 2011-01-23 17:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Einar Lielmanis 2009-06-10 17:33:20 UTC
Version:           svn:978887 (using Devel)
Installed from:    Compiled sources

Cannot reproduce. Was going to adjust window settings for gvim, crashed while navigating the rightclick menu (or, possibly, looking at backtrace, trying to cancel the menu clicking outside the menu).

Application: KWin (kwin), signal: Segmentation fault
[Current thread is 0 (LWP 4496)]

Thread 2 (Thread 0x7fee369e4910 (LWP 11529)):
#0  0x00007fee564f3422 in select () from /lib/libc.so.6
#1  0x00007fee59433b0d in QProcessManager::run (this=0x17e5ce0) at io/qprocess_unix.cpp:305
#2  0x00007fee59355aa5 in QThreadPrivate::start (arg=0x17e5ce0) at thread/qthread_unix.cpp:189
#3  0x00007fee590db59a in start_thread () from /lib/libpthread.so.0
#4  0x00007fee564f9c3d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fee5c4b87a0 (LWP 4496)):
[KCrash Handler]
#5  0x00007fee59c11512 in QWidgetPrivate::close_helper (this=0x12, mode=QWidgetPrivate::CloseWithEvent) at kernel/qwidget.cpp:7076
#6  0x00007fee59c1188f in QWidget::close (this=0x22ecb20) at kernel/qwidget.cpp:7165
#7  0x00007fee5c142f41 in KWin::Workspace::closeActivePopup (this=0x19ea0a0) at /home/e/kde/src/KDE/kdebase/workspace/kwin/useractions.cpp:311
#8  0x00007fee5c14f1dd in KWin::Workspace::showWindowMenu (this=0x19ea0a0, pos=@0x7fff645eceb0, cl=0x24af6b0) at /home/e/kde/src/KDE/kdebase/workspace/kwin/useractions.cpp:1210
#9  0x00007fee5c139fec in KWin::Workspace::showWindowMenu (this=0x19ea0a0, pos={xp = 771, yp = 0}, cl=0x24af6b0) at /home/e/kde/src/KDE/kdebase/workspace/kwin/workspace.h:1049
#10 0x00007fee5c14d066 in KWin::Client::performMouseCommand (this=0x24af6b0, command=KWin::Options::MouseOperationsMenu, globalPos=@0x7fff645ed040, handled=false)
    at /home/e/kde/src/KDE/kdebase/workspace/kwin/useractions.cpp:612
#11 0x00007fee5c12e3ab in KWin::Client::processDecorationButtonPress (this=0x24af6b0, button=3, x=771, y=0, x_root=771, y_root=0) at /home/e/kde/src/KDE/kdebase/workspace/kwin/events.cpp:1316
#12 0x00007fee5c12e4f1 in KWin::Client::processMousePressEvent (this=0x24af6b0, e=0x7fff645ed880) at /home/e/kde/src/KDE/kdebase/workspace/kwin/events.cpp:1342
#13 0x00007fee5c1394bc in KWin::Bridge::processMousePressEvent (this=0x1d32060, e=0x7fff645ed880) at /home/e/kde/src/KDE/kdebase/workspace/kwin/bridge.cpp:58
#14 0x00007fee5beacb06 in KDecoration::processMousePressEvent (this=0x192f630, e=0x7fff645ed880) at /home/e/kde/src/KDE/kdebase/workspace/kwin/lib/kdecoration.cpp:200
#15 0x00007fee5beb8386 in KCommonDecoration::processMousePressEvent (this=0x2df98f0, e=0x7fff645ed880) at /home/e/kde/src/KDE/kdebase/workspace/kwin/lib/kcommondecoration.cpp:1143
#16 0x00007fee5beb7359 in KCommonDecoration::eventFilter (this=0x2df98f0, o=0x286a130, e=0x7fff645ed880) at /home/e/kde/src/KDE/kdebase/workspace/kwin/lib/kcommondecoration.cpp:867
#17 0x00007fee59456d23 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x17e1300, receiver=0x286a130, event=0x7fff645ed880) at kernel/qcoreapplication.cpp:726
#18 0x00007fee59bb6089 in QApplicationPrivate::notify_helper (this=0x17e1300, receiver=0x286a130, e=0x7fff645ed880) at kernel/qapplication.cpp:4053
#19 0x00007fee59bb4d1e in QApplication::notify (this=0x7fff645ef860, receiver=0x286a130, e=0x7fff645ed880) at kernel/qapplication.cpp:3759
#20 0x00007fee5b304f53 in KApplication::notify (this=0x7fff645ef860, receiver=0x286a130, event=0x7fff645ed880) at /home/e/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#21 0x00007fee5c117ece in KWin::Application::notify (this=0x7fff645ef860, o=0x286a130, e=0x7fff645ed880) at /home/e/kde/src/KDE/kdebase/workspace/kwin/main.cpp:371
#22 0x00007fee59456a43 in QCoreApplication::notifyInternal (this=0x7fff645ef860, receiver=0x286a130, event=0x7fff645ed880) at kernel/qcoreapplication.cpp:606
#23 0x00007fee59bb6f09 in QCoreApplication::sendSpontaneousEvent (receiver=0x286a130, event=0x7fff645ed880) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#24 0x00007fee59bb3433 in QApplicationPrivate::sendMouseEvent (receiver=0x286a130, event=0x7fff645ed880, alienWidget=0x0, nativeWidget=0x286a130, buttonDown=0x7fee5a765ef8, 
    lastMouseReceiver=@0x7fee5a765f00) at kernel/qapplication.cpp:2925
#25 0x00007fee59c316ea in QETWidget::translateMouseEvent (this=0x286a130, event=0x7fff645ef400) at kernel/qapplication_x11.cpp:4448
#26 0x00007fee59c2e1e7 in QApplication::x11ProcessEvent (this=0x7fff645ef860, event=0x7fff645ef400) at kernel/qapplication_x11.cpp:3444
#27 0x00007fee59c627b6 in x11EventSourceDispatch (s=0x17e50e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007fee51da54ae in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
#29 0x00007fff645ef560 in ?? ()
#30 0x00000000017e50e0 in ?? ()
#31 0x0000000000000000 in ?? ()
Comment 1 Martin Flöser 2009-12-14 11:39:36 UTC
*** Bug 218626 has been marked as a duplicate of this bug. ***
Comment 2 Martin Flöser 2010-06-10 21:08:49 UTC
*** Bug 240096 has been marked as a duplicate of this bug. ***
Comment 3 Thomas Lübking 2010-10-01 16:56:59 UTC
this is likely related to bug #251388, where there's a general patch attempt for clientgroup accesses in bridge.cpp attached
Comment 4 Thomas Lübking 2010-10-01 16:57:05 UTC
*** Bug 252945 has been marked as a duplicate of this bug. ***
Comment 5 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 6 FiNeX 2010-10-10 22:11:55 UTC
@Thomas: can we consider the bug closed with your fix?
Comment 7 Thomas Lübking 2010-10-10 22:35:57 UTC
rather not - "likely" & "related" ;-)
i think it's about tabbing and the clientgroup support why i linked the bugs, but tabbing is broken in several places and the patch only fixed one source, sorry :-(
Comment 8 Thomas Lübking 2010-11-23 23:10:48 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 9 Martin Flöser 2011-01-23 17:52:07 UTC
let's consider it as fixed until prooven guilty again ;-) Without a proper way to reproduce we are not able to really fix it anyway.