Bug 326879

Summary: default taskbar plasmoid cause crash when close a none exist application
Product: [Unmaintained] plasma4 Reporter: GongT <gongteng524702837>
Component: widget-taskbarAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aaseleeallen, andrewdied, baldrs.asgaardson, cfeck, crissi99, cysioland, dandreadante, delcour.libertus, dima, emilio.simoes, gabrimonfa, gchbiz, harald.engels, hein, leanid.chaika, lolmon100, luminoso, marcin1cinekk, masinick, oeyrvin, pedron.alexandre, philipp.shah, ponchorat1968, rspinuz, sgies1963, squarenet, thanosk, v.babosha, ya.maxis11
Priority: NOR Keywords: drkonqi
Version: 4.11.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description GongT 2013-10-30 13:37:13 UTC
Application: plasma-desktop (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.11.6-200.fc19.x86_64 x86_64
Distribution: "Fedora release 19 (Schrödinger’s Cat)"

-- Information about the crash:
this problem comes from the kde default taskbar plasmoid created by Eike Hein.
--
Here is a java program, it will take a few time to close.
Now I close it by right click it's icon in the taskbar.
when the program is cleaning itself.
I right click it's taskbar icon and try to close it again.
between the click of program's icon and "close" menu item, this program ended successfully.
then plasma-desktop crashed

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma 桌面外壳 (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3064ab88c0 (LWP 2250))]

Thread 3 (Thread 0x7f305272e700 (LWP 2253)):
#0  0x0000003830a0b575 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000038529860bb in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
#2  0x00000038529860f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
#3  0x0000003830a07c53 in start_thread () from /lib64/libpthread.so.0
#4  0x00000038302f5e1d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2fc1635700 (LWP 2286)):
#0  0x0000003830a0e0cd in read () from /lib64/libpthread.so.0
#1  0x0000003832a86520 in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x0000003832a47c1c in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x0000003832a4808b in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#4  0x0000003832a481fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x000000383afa7166 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x000000383af78ecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x000000383af791c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#8  0x000000383ae7866f in QThread::exec() () from /lib64/libQtCore.so.4
#9  0x000000383af5a733 in QInotifyFileSystemWatcherEngine::run() () from /lib64/libQtCore.so.4
#10 0x000000383ae7ad0f in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#11 0x0000003830a07c53 in start_thread () from /lib64/libpthread.so.0
#12 0x00000038302f5e1d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3064ab88c0 (LWP 2250)):
[KCrash Handler]
#5  0x0000003856407af0 in QDeclarativeError::isValid() const () from /lib64/libQtDeclarative.so.4
#6  0x00000038563f0cfb in QDeclarativeBoundSignal::qt_metacall(QMetaObject::Call, int, void**) () from /lib64/libQtDeclarative.so.4
#7  0x000000383af8e172 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#8  0x00007f2fd1343800 in MouseEventListener::sceneEventFilter(QGraphicsItem*, QEvent*) () from /usr/lib64/kde4/imports/org/kde/qtextracomponents/libqtextracomponentsplugin.so
#9  0x000000383d98d425 in QGraphicsScenePrivate::filterDescendantEvent(QGraphicsItem*, QEvent*) () from /lib64/libQtGui.so.4
#10 0x000000383d991a8e in QGraphicsScenePrivate::sendEvent(QGraphicsItem*, QEvent*) () from /lib64/libQtGui.so.4
#11 0x000000383d991f8f in QGraphicsScenePrivate::sendMouseEvent(QGraphicsSceneMouseEvent*) () from /lib64/libQtGui.so.4
#12 0x000000383d99d766 in QGraphicsScenePrivate::mousePressEventHandler(QGraphicsSceneMouseEvent*) () from /lib64/libQtGui.so.4
#13 0x000000383d99dbf9 in QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) () from /lib64/libQtGui.so.4
#14 0x000000383d9a6a80 in QGraphicsScene::event(QEvent*) () from /lib64/libQtGui.so.4
#15 0x000000383d3c84dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#16 0x000000383d3ceaa0 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#17 0x000000383f63fe9a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#18 0x000000383af7a26d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#19 0x000000383d9bd4af in QGraphicsView::mousePressEvent(QMouseEvent*) () from /lib64/libQtGui.so.4
#20 0x000000383d417991 in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#21 0x000000383d7b3cde in QFrame::event(QEvent*) () from /lib64/libQtGui.so.4
#22 0x000000383d9be209 in QGraphicsView::viewportEvent(QEvent*) () from /lib64/libQtGui.so.4
#23 0x000000383af7a3d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#24 0x000000383d3c84bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#25 0x000000383d3cebdd in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#26 0x000000383f63fe9a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#27 0x000000383af7a26d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#28 0x000000383d3ce393 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#29 0x000000383d43f92b in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#30 0x000000383d43e39c in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#31 0x000000383d464e54 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#32 0x0000003832a47e06 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x0000003832a48158 in g_main_context_iterate.isra.22 () from /lib64/libglib-2.0.so.0
#34 0x0000003832a481fc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x000000383afa7145 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#36 0x000000383d464fc6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#37 0x000000383af78ecf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#38 0x000000383af791c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#39 0x000000383af7e45b in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#40 0x0000003848e3c40c in kdemain () from /lib64/libkdeinit4_plasma-desktop.so
#41 0x0000003830221b75 in __libc_start_main () from /lib64/libc.so.6
#42 0x0000000000400971 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-11 04:06:50 UTC
*** Bug 327407 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2013-11-18 10:34:41 UTC
*** Bug 327744 has been marked as a duplicate of this bug. ***
Comment 3 Valentin 2013-12-11 19:44:20 UTC
Created attachment 84047 [details]
New crash information added by DrKonqi

plasma-desktop (4.11.3) on KDE Platform 4.11.3 using Qt 4.8.4

- What I was doing when the application crashed:

1) Open any application such Eclipse 
2) Close it and immediately try to call menu from taskbar

-- Backtrace (Reduced):
#6  QDeclarativeError::isValid (this=0x4420438043e04e8) at qml/qdeclarativeerror.cpp:138
#7  0x00007f55e551d630 in QDeclarativeExpression::hasError (this=<optimized out>) at qml/qdeclarativeexpression.cpp:769
#8  0x00007f55e555814b in QDeclarativeBoundSignal::qt_metacall (this=0x7117b30, c=<optimized out>, id=<optimized out>, a=0x7fffbceddeb0) at qml/qdeclarativeboundsignal.cpp:200
[...]
#10 0x00007f55461cb5bf in MouseEventListener::pressed (this=this@entry=0x4f134d0, _t1=_t1@entry=0x7fffbceddf90) at ./mouseeventlistener.moc:368
#11 0x00007f55461cc9d8 in MouseEventListener::sceneEventFilter (this=0x4f134d0, item=0x7136330, event=0x7fffbcede800) at ../../../../plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp:176
Comment 4 Jekyll Wu 2013-12-30 03:53:24 UTC
*** Bug 329380 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2014-01-25 01:16:00 UTC
*** Bug 330369 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2014-02-10 22:33:22 UTC
*** Bug 330987 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2014-02-10 22:34:12 UTC
*** Bug 330120 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2014-02-10 22:34:52 UTC
*** Bug 329774 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2014-02-10 22:35:29 UTC
*** Bug 329631 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2014-02-10 22:36:01 UTC
*** Bug 329589 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2014-02-10 22:36:56 UTC
*** Bug 327108 has been marked as a duplicate of this bug. ***
Comment 12 Christoph Feck 2014-02-10 22:37:34 UTC
*** Bug 326913 has been marked as a duplicate of this bug. ***
Comment 13 Jekyll Wu 2014-03-01 09:42:29 UTC
*** Bug 331640 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2014-03-16 15:09:10 UTC
*** Bug 332212 has been marked as a duplicate of this bug. ***
Comment 15 Jekyll Wu 2014-03-17 08:43:50 UTC
*** Bug 332233 has been marked as a duplicate of this bug. ***
Comment 16 Christoph Feck 2014-03-26 20:51:09 UTC
*** Bug 332627 has been marked as a duplicate of this bug. ***
Comment 17 Christoph Feck 2014-03-28 01:04:43 UTC
*** Bug 332714 has been marked as a duplicate of this bug. ***
Comment 18 Jekyll Wu 2014-04-03 00:44:46 UTC
*** Bug 332959 has been marked as a duplicate of this bug. ***
Comment 19 Jekyll Wu 2014-04-04 00:40:23 UTC
*** Bug 333043 has been marked as a duplicate of this bug. ***
Comment 20 Christoph Feck 2014-04-12 14:44:58 UTC
*** Bug 331681 has been marked as a duplicate of this bug. ***
Comment 21 Jekyll Wu 2014-05-02 01:07:03 UTC
*** Bug 334194 has been marked as a duplicate of this bug. ***
Comment 22 Christoph Feck 2014-05-07 21:43:46 UTC
*** Bug 334486 has been marked as a duplicate of this bug. ***
Comment 23 Jekyll Wu 2014-05-12 00:57:59 UTC
*** Bug 334620 has been marked as a duplicate of this bug. ***
Comment 24 Jean Revertera 2014-05-16 05:49:16 UTC
*** This bug has been confirmed by popular vote. ***
Comment 25 Christoph Feck 2014-05-16 12:37:47 UTC
This is probably fixed with the commit for bug 326941.
Comment 26 Eike Hein 2014-05-16 13:46:51 UTC
Yep.

*** This bug has been marked as a duplicate of bug 326941 ***
Comment 27 Christoph Feck 2014-05-27 20:35:55 UTC
*** Bug 335426 has been marked as a duplicate of this bug. ***
Comment 28 Christoph Feck 2014-07-18 18:32:44 UTC
*** Bug 337572 has been marked as a duplicate of this bug. ***
Comment 29 Christoph Feck 2014-07-18 18:35:55 UTC
*** Bug 327114 has been marked as a duplicate of this bug. ***
Comment 30 Christoph Feck 2014-07-18 18:36:11 UTC
*** Bug 325417 has been marked as a duplicate of this bug. ***