Bug 328945

Summary: Plasma crashed when application with multiple windows shuts down and context menu has been opened in task manager
Product: [Unmaintained] plasma4 Reporter: Maxym Kit <kitmaxter>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cfeck, hein
Priority: NOR Keywords: drkonqi
Version: 4.11.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maxym Kit 2013-12-18 00:21:46 UTC
Application: plasma-desktop (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.5
Operating System: Linux 3.11.10-200.fc19.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:

I had Opera browser opened with one main window and one non-modal dialog. Opera was shutting down. It takes some time to shut down so I was able to expand collapsed entry in task manager. Then I opened context menu of one of windows (where Close Window menu item is).
After Opera terminated plasma-desktop crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Оболонка стільниці Плазми (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f22675938c0 (LWP 2485))]

Thread 4 (Thread 0x7f225189a700 (LWP 2500)):
#0  0x000000318d60b565 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f226a4510bb in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f226a74ef00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f226a4510f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x000000318d607c53 in start_thread () from /lib64/libpthread.so.0
#4  0x000000318cef5dbd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f21c6f28700 (LWP 2632)):
#0  postEventSourcePrepare (s=0x7f21b80012d0, timeout=0x7f21c6f27b24) at kernel/qeventdispatcher_glib.cpp:255
#1  0x0000003af884778d in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x0000003af8848003 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#3  0x0000003af88481ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f2268f8b166 in QEventDispatcherGlib::processEvents (this=0x7f21b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f2268f5cecf in QEventLoop::processEvents (this=this@entry=0x7f21c6f27ce0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f2268f5d1c5 in QEventLoop::exec (this=this@entry=0x7f21c6f27ce0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2268e5c66f in QThread::exec (this=this@entry=0x3512f40) at thread/qthread.cpp:536
#8  0x00007f2268f3e733 in QInotifyFileSystemWatcherEngine::run (this=0x3512f40) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f2268e5ed0f in QThreadPrivate::start (arg=0x3512f40) at thread/qthread_unix.cpp:338
#10 0x000000318d607c53 in start_thread () from /lib64/libpthread.so.0
#11 0x000000318cef5dbd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f21c50b0700 (LWP 2636)):
#0  0x000000318d609b13 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x0000003af8887221 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#2  0x0000003af8847230 in g_main_context_acquire () from /lib64/libglib-2.0.so.0
#3  0x0000003af8847fa5 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#4  0x0000003af88481ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f2268f8b166 in QEventDispatcherGlib::processEvents (this=0x7f21bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f2268f5cecf in QEventLoop::processEvents (this=this@entry=0x7f21c50afce0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f2268f5d1c5 in QEventLoop::exec (this=this@entry=0x7f21c50afce0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f2268e5c66f in QThread::exec (this=this@entry=0x3696290) at thread/qthread.cpp:536
#9  0x00007f2268f3e733 in QInotifyFileSystemWatcherEngine::run (this=0x3696290) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f2268e5ed0f in QThreadPrivate::start (arg=0x3696290) at thread/qthread_unix.cpp:338
#11 0x000000318d607c53 in start_thread () from /lib64/libpthread.so.0
#12 0x000000318cef5dbd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f22675938c0 (LWP 2485)):
[KCrash Handler]
#6  QTimer::start (this=0x0, msec=msec@entry=800) at kernel/qtimer.cpp:233
#7  0x00007f21d028ec00 in MouseEventListener::mousePressEvent (this=0x64312b0, me=<optimized out>) at /usr/src/debug/kde-runtime-4.11.3/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp:110
#8  0x00007f22688a841f in QGraphicsItem::sceneEvent (this=this@entry=0x64312c0, event=event@entry=0x7fff4a6310c0) at graphicsview/qgraphicsitem.cpp:6747
#9  0x00007f2269e713b4 in QDeclarativeItem::sceneEvent (this=0x64312b0, event=0x7fff4a6310c0) at graphicsitems/qdeclarativeitem.cpp:3047
#10 0x00007f22688cf4ef in QGraphicsScenePrivate::sendMouseEvent (this=0x25c9c30, mouseEvent=0x7fff4a6310c0) at graphicsview/qgraphicsscene.cpp:1295
#11 0x00007f22688dacc6 in QGraphicsScenePrivate::mousePressEventHandler (this=this@entry=0x25c9c30, mouseEvent=mouseEvent@entry=0x7fff4a6310c0) at graphicsview/qgraphicsscene.cpp:1422
#12 0x00007f22688db159 in QGraphicsScene::mousePressEvent (this=<optimized out>, mouseEvent=0x7fff4a6310c0) at graphicsview/qgraphicsscene.cpp:4074
#13 0x00007f22688e3fe0 in QGraphicsScene::event (this=0x25832c0, event=0x7fff4a6310c0) at graphicsview/qgraphicsscene.cpp:3455
#14 0x00007f226830552c in QApplicationPrivate::notify_helper (this=0x23f8c40, receiver=0x25832c0, e=0x7fff4a6310c0) at kernel/qapplication.cpp:4562
#15 0x00007f226830baf0 in QApplication::notify (this=this@entry=0x23e4d10, receiver=receiver@entry=0x25832c0, e=e@entry=0x7fff4a6310c0) at kernel/qapplication.cpp:4348
#16 0x0000003aff03fe9a in KApplication::notify (this=0x23e4d10, receiver=0x25832c0, event=0x7fff4a6310c0) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#17 0x00007f2268f5e26d in QCoreApplication::notifyInternal (this=0x23e4d10, receiver=0x25832c0, event=event@entry=0x7fff4a6310c0) at kernel/qcoreapplication.cpp:949
#18 0x00007f2268303ec6 in sendSpontaneousEvent (event=event@entry=0x7fff4a6310c0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:234
#19 qt_sendSpontaneousEvent (receiver=<optimized out>, event=event@entry=0x7fff4a6310c0) at kernel/qapplication.cpp:5560
#20 0x00007f22688faa0f in QGraphicsView::mousePressEvent (this=0x3ac86d0, event=0x7fff4a631660) at graphicsview/qgraphicsview.cpp:3164
#21 0x00007f22683549e1 in QWidget::event (this=this@entry=0x3ac86d0, event=event@entry=0x7fff4a631660) at kernel/qwidget.cpp:8372
#22 0x00007f22686f123e in QFrame::event (this=0x3ac86d0, e=0x7fff4a631660) at widgets/qframe.cpp:557
#23 0x00007f22688fb769 in QGraphicsView::viewportEvent (this=0x3ac86d0, event=0x7fff4a631660) at graphicsview/qgraphicsview.cpp:2866
#24 0x00007f2268f5e3d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x3abd910, event=0x7fff4a631660) at kernel/qcoreapplication.cpp:1059
#25 0x00007f226830550c in QApplicationPrivate::notify_helper (this=0x23f8c40, receiver=0x3abd910, e=0x7fff4a631660) at kernel/qapplication.cpp:4558
#26 0x00007f226830bc2d in QApplication::notify (this=this@entry=0x23e4d10, receiver=receiver@entry=0x3abd910, e=e@entry=0x7fff4a631660) at kernel/qapplication.cpp:4105
#27 0x0000003aff03fe9a in KApplication::notify (this=0x23e4d10, receiver=0x3abd910, event=0x7fff4a631660) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#28 0x00007f2268f5e26d in QCoreApplication::notifyInternal (this=0x23e4d10, receiver=0x3abd910, event=0x7fff4a631660) at kernel/qcoreapplication.cpp:949
#29 0x00007f226830b3e3 in QApplicationPrivate::sendMouseEvent (receiver=0x3abd910, event=0x7fff4a631660, alienWidget=0x3abd910, nativeWidget=0x2cc0bf0, buttonDown=0x7f2268de0278 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#30 0x00007f226837ccac in QETWidget::translateMouseEvent (this=0x2cc0bf0, event=<optimized out>) at kernel/qapplication_x11.cpp:4472
#31 0x00007f226837b3ec in QApplication::x11ProcessEvent (this=0x23e4d10, event=event@entry=0x7fff4a6319a0) at kernel/qapplication_x11.cpp:3661
#32 0x00007f22683a1ea4 in x11EventSourceDispatch (s=0x23f9130, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#33 0x0000003af8847df6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#34 0x0000003af8848148 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#35 0x0000003af88481ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#36 0x00007f2268f8b145 in QEventDispatcherGlib::processEvents (this=0x2370630, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#37 0x00007f22683a2016 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#38 0x00007f2268f5cecf in QEventLoop::processEvents (this=this@entry=0x7fff4a631d80, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f2268f5d1c5 in QEventLoop::exec (this=this@entry=0x7fff4a631d80, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f2268f6245b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#41 0x00007f2268303cec in QApplication::exec () at kernel/qapplication.cpp:3823
#42 0x0000003b0563c40c in kdemain (argc=1, argv=0x7fff4a631fd8) at /usr/src/debug/kde-workspace-4.11.3/plasma/desktop/shell/main.cpp:126
#43 0x000000318ce21b45 in __libc_start_main () from /lib64/libc.so.6
#44 0x0000000000400971 in _start ()

Possible duplicates by query: bug 328123, bug 327139, bug 325188.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-03-11 01:29:56 UTC

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