Bug 264723 - plasma crash when clicking invalid right-click menu
Summary: plasma crash when clicking invalid right-click menu
Status: RESOLVED DUPLICATE of bug 246840
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-29 11:07 UTC by Waleed Hamra
Modified: 2011-01-29 12:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Waleed Hamra 2011-01-29 11:07:48 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.5.95 (4.6 RC2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
this bug is not easily reproducible, since the desktop is normally fast. but, this time, i was running a make in a terminal, and the CPU usage was at 100%, hence everything was slow. compositing was on, and this made desktop clicking even slower. so i thought i should close firefox, to save some resources, i right-clicked on firefox in the task manager widget in the bottom panel, and clicked "close". when nothing happened, i thought i mis-clicked. so i right-clicked on firefox again, but this time, by the time the right-click menu showed up, firefox had already closed. which left this menu that belongs to no one. i clicked "close" in it, and the moment i clicked, plasma crashed.

Kubuntu 10.10
KDE 4.6 RC2

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb6021720 (LWP 2516))]

Thread 4 (Thread 0xb3c84b70 (LWP 2517)):
#0  0x0600be36 in clock_gettime (clock_id=100728820, tp=0xb3c83ed0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0774c50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x078236e5 in QTimerInfoList::updateCurrentTime (this=0x9afccc4) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0782372a in QTimerInfoList::timerWait (this=0x9afccc4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x078217a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3c83ffc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0782183d in timerSourcePrepare (source=0x0, timeout=0x600fff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02902e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x02903279 in ?? () from /lib/libglib-2.0.so.0
#9  0x02903848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0782159f in QEventDispatcherGlib::processEvents (this=0x9afe670, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x077f1609 in QEventLoop::processEvents (this=0xb3c841d0, flags=) at kernel/qeventloop.cpp:149
#12 0x077f1a8a in QEventLoop::exec (this=0xb3c841d0, flags=...) at kernel/qeventloop.cpp:201
#13 0x076edb7e in QThread::exec (this=0x9afead0) at thread/qthread.cpp:490
#14 0x077d035b in QInotifyFileSystemWatcherEngine::run (this=0x9afead0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x076f0df9 in QThreadPrivate::start (arg=0x9afead0) at thread/qthread_unix.cpp:266
#16 0x00e82de7 in ?? () from /usr/lib/libGL.so.1
#17 0x00bf169e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb3483b70 (LWP 2518)):
#0  0x00a93416 in __kernel_vsyscall ()
#1  0x00be2df6 in __poll (fds=0xc79ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x02910a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0290343c in ?? () from /lib/libglib-2.0.so.0
#4  0x02903848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0782159f in QEventDispatcherGlib::processEvents (this=0x9b6b2c0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x077f1609 in QEventLoop::processEvents (this=0xb34831f0, flags=) at kernel/qeventloop.cpp:149
#7  0x077f1a8a in QEventLoop::exec (this=0xb34831f0, flags=...) at kernel/qeventloop.cpp:201
#8  0x076edb7e in QThread::exec (this=0x9baebc0) at thread/qthread.cpp:490
#9  0x02aa1171 in Herqq::Upnp::HControlPointThread::run() () from /usr/lib/libHUpnp.so.0
#10 0x076f0df9 in QThreadPrivate::start (arg=0x9baebc0) at thread/qthread_unix.cpp:266
#11 0x00e82de7 in ?? () from /usr/lib/libGL.so.1
#12 0x00bf169e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xac3aab70 (LWP 2520)):
#0  0x028b03eb in __pthread_mutex_lock (mutex=0x9c39874) at pthread_mutex_lock.c:61
#1  0x00bfef66 in pthread_mutex_lock (mutex=0x9c39874) at forward.c:182
#2  0x02902ea3 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x02903279 in ?? () from /lib/libglib-2.0.so.0
#4  0x02903848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0782159f in QEventDispatcherGlib::processEvents (this=0x9baec90, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x077f1609 in QEventLoop::processEvents (this=0xac3aa1d0, flags=) at kernel/qeventloop.cpp:149
#7  0x077f1a8a in QEventLoop::exec (this=0xac3aa1d0, flags=...) at kernel/qeventloop.cpp:201
#8  0x076edb7e in QThread::exec (this=0x9c1afa8) at thread/qthread.cpp:490
#9  0x077d035b in QInotifyFileSystemWatcherEngine::run (this=0x9c1afa8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x076f0df9 in QThreadPrivate::start (arg=0x9c1afa8) at thread/qthread_unix.cpp:266
#11 0x00e82de7 in ?? () from /usr/lib/libGL.so.1
#12 0x00bf169e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb6021720 (LWP 2516)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x061264e8 in ~KSharedPtr (this=0xa566cc8, data=0xa261fb8) at /usr/include/KDE/../ksharedptr.h:90
#9  node_destruct (this=0xa566cc8, data=0xa261fb8) at /usr/include/qt4/QtCore/qlist.h:418
#10 QList<KSharedPtr<TaskManager::Task> >::free (this=0xa566cc8, data=0xa261fb8) at /usr/include/qt4/QtCore/qlist.h:741
#11 0x06126537 in QList<KSharedPtr<TaskManager::Task> >::~QList (this=0xa29bdf8, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:716
#12 0x0612663d in ~AbstractGroupableItemAction (this=0xa566cc0, __in_chrg=<value optimized out>) at ../../../libs/taskmanager/taskactions_p.h:99
#13 TaskManager::ToCurrentDesktopActionImpl::~ToCurrentDesktopActionImpl (this=0xa566cc0, __in_chrg=<value optimized out>) at ../../../libs/taskmanager/taskactions_p.h:113
#14 0x07805816 in QObjectPrivate::deleteChildren (this=0xa6357c0) at kernel/qobject.cpp:1957
#15 0x040fd8fc in QWidget::~QWidget (this=0xbfe60fbc, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#16 0x0456075d in QMenu::~QMenu (this=0xbfe60fbc, __in_chrg=<value optimized out>) at widgets/qmenu.cpp:1405
#17 0x06675350 in ~BasicMenu (this=0xa3618f8, e=0xbfe6168c) at ../../../../../libs/taskmanager/taskactions.h:115
#18 WindowTaskItem::contextMenuEvent (this=0xa3618f8, e=0xbfe6168c) at ../../../../../plasma/desktop/applets/tasks/windowtaskitem.cpp:349
#19 0x0474c1b8 in QGraphicsItem::sceneEvent (this=0xa361900, event=0xbfe6168c) at graphicsview/qgraphicsitem.cpp:6639
#20 0x047a34d7 in QGraphicsWidget::sceneEvent (this=0xa3618f8, event=0xbfe6168c) at graphicsview/qgraphicswidget.cpp:1173
#21 0x04764569 in QGraphicsScenePrivate::sendEvent (this=0x96a1528, item=0xa361900, event=0xbfe6168c) at graphicsview/qgraphicsscene.cpp:1211
#22 0x047691b8 in QGraphicsScene::contextMenuEvent (this=0x96de650, contextMenuEvent=0xbfe6168c) at graphicsview/qgraphicsscene.cpp:3600
#23 0x0477f4cc in QGraphicsScene::event (this=0x96de650, event=0xbfe6168c) at graphicsview/qgraphicsscene.cpp:3398
#24 0x04099fdc in QApplicationPrivate::notify_helper (this=0x9655d98, receiver=0x96de650, e=0xbfe6168c) at kernel/qapplication.cpp:4396
#25 0x040a004e in QApplication::notify (this=0x96498f0, receiver=0x96de650, e=0xbfe6168c) at kernel/qapplication.cpp:3798
#26 0x010e7f8a in KApplication::notify (this=0x96498f0, receiver=0x96de650, event=0xbfe6168c) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x077f2b3b in QCoreApplication::notifyInternal (this=0x96498f0, receiver=0x96de650, event=0xbfe6168c) at kernel/qcoreapplication.cpp:732
#28 0x0479b9f0 in sendEvent (this=0x9f803d0, event=0xbfe61de8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QGraphicsView::contextMenuEvent (this=0x9f803d0, event=0xbfe61de8) at graphicsview/qgraphicsview.cpp:2888
#30 0x040f8528 in QWidget::event (this=0x9f803d0, event=0xbfe61de8) at kernel/qwidget.cpp:8354
#31 0x04519763 in QFrame::event (this=0x9f803d0, e=0xbfe61de8) at widgets/qframe.cpp:557
#32 0x045b6a82 in QAbstractScrollArea::viewportEvent (this=0xa261fb8, e=0xa29bdf8) at widgets/qabstractscrollarea.cpp:1043
#33 0x0479accb in QGraphicsView::viewportEvent (this=0x9f803d0, event=0xbfe61de8) at graphicsview/qgraphicsview.cpp:2862
#34 0x045b94d5 in viewportEvent (this=0x9cf7108, o=0xa0bba28, e=0xbfe61de8) at widgets/qabstractscrollarea_p.h:100
#35 QAbstractScrollAreaFilter::eventFilter (this=0x9cf7108, o=0xa0bba28, e=0xbfe61de8) at widgets/qabstractscrollarea_p.h:116
#36 0x077f229a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9655d98, receiver=0xa0bba28, event=0xbfe61de8) at kernel/qcoreapplication.cpp:847
#37 0x04099fb9 in QApplicationPrivate::notify_helper (this=0x9655d98, receiver=0xa0bba28, e=0xbfe61de8) at kernel/qapplication.cpp:4392
#38 0x040a0458 in QApplication::notify (this=0x96498f0, receiver=0xa0bba28, e=0xbfe61de8) at kernel/qapplication.cpp:4038
#39 0x010e7f8a in KApplication::notify (this=0x96498f0, receiver=0xa0bba28, event=0xbfe61de8) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x077f2b3b in QCoreApplication::notifyInternal (this=0x96498f0, receiver=0xa0bba28, event=0xbfe61de8) at kernel/qcoreapplication.cpp:732
#41 0x0413262e in QCoreApplication::sendSpontaneousEvent (receiver=0xa0bba28, event=0xa29bdf8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#42 0x0412dd7c in QETWidget::translateMouseEvent (this=0x9f803d0, event=0xbfe622dc) at kernel/qapplication_x11.cpp:4408
#43 0x0412d151 in QApplication::x11ProcessEvent (this=0x96498f0, event=0xbfe622dc) at kernel/qapplication_x11.cpp:3414
#44 0x0415c36a in x11EventSourceDispatch (s=0x96584a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x028ff855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#46 0x02903668 in ?? () from /lib/libglib-2.0.so.0
#47 0x02903848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#48 0x07821565 in QEventDispatcherGlib::processEvents (this=0x9644420, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#49 0x0415bbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9644420, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x077f1609 in QEventLoop::processEvents (this=0xbfe625d4, flags=) at kernel/qeventloop.cpp:149
#51 0x077f1a8a in QEventLoop::exec (this=0xbfe625d4, flags=...) at kernel/qeventloop.cpp:201
#52 0x077f600f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#53 0x04098e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#54 0x007d2fb7 in kdemain (argc=1, argv=0xbfe627e4) at ../../../../plasma/desktop/shell/main.cpp:118
#55 0x080485bb in main (argc=1, argv=0xbfe627e4) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 263756, bug 246840.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-01-29 12:46:44 UTC

*** This bug has been marked as a duplicate of bug 246840 ***