Bug 276844

Summary: Plasme crashes when clicked on just finished update manager icon in systray twice
Product: [Plasma] plasma4 Reporter: Alex Starchenko <alex.starchenko>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, tbe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description Alex Starchenko 2011-06-30 18:04:53 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
1. launched update manager by icon in systray;
2. Wait until all updates installed;
3. Close update manager window (icon in systray persist);
4. Clicked on systray icon again number of times;

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

Thread 3 (Thread 0xae855b70 (LWP 1695)):
#0  0xb780b424 in __kernel_vsyscall ()
#1  0xb76e5f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb36ab84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb369b1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb369b524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb671a577 in QEventDispatcherGlib::processEvents (this=0x9099258, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb66ec289 in QEventLoop::processEvents (this=0xae855280, flags=...) at kernel/qeventloop.cpp:149
#7  0xb66ec522 in QEventLoop::exec (this=0xae855280, flags=...) at kernel/qeventloop.cpp:201
#8  0xb65f62a0 in QThread::exec (this=0x9031c60) at thread/qthread.cpp:492
#9  0xb66cdfdb in QInotifyFileSystemWatcherEngine::run (this=0x9031c60) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb65f8da2 in QThreadPrivate::start (arg=0x9031c60) at thread/qthread_unix.cpp:320
#11 0xb3782e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb76f473e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa76b2b70 (LWP 1699)):
#0  0xb3734d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb664edd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb671b4f2 in updateCurrentTime (this=0xadf016c4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xadf016c4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6719d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa76b20cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6719dcd in timerSourcePrepare (source=0xadf01690, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb3699fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb369ae63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb369b524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb671a577 in QEventDispatcherGlib::processEvents (this=0x90f1498, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb66ec289 in QEventLoop::processEvents (this=0xa76b2280, flags=...) at kernel/qeventloop.cpp:149
#12 0xb66ec522 in QEventLoop::exec (this=0xa76b2280, flags=...) at kernel/qeventloop.cpp:201
#13 0xb65f62a0 in QThread::exec (this=0x90efa70) at thread/qthread.cpp:492
#14 0xb66cdfdb in QInotifyFileSystemWatcherEngine::run (this=0x90efa70) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb65f8da2 in QThreadPrivate::start (arg=0x90efa70) at thread/qthread_unix.cpp:320
#16 0xb3782e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb76f473e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb11b0720 (LWP 1693)):
[KCrash Handler]
#7  0xb65f4463 in fetchAndAddOrdered (this=0x9c1d8c8) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:163
#8  fetchAndAddAcquire (this=0x9c1d8c8) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:296
#9  QMutex::lock (this=0x9c1d8c8) at thread/qmutex.cpp:159
#10 0xb66f01b0 in QCoreApplication::postEvent (receiver=0x9c23a58, event=0x9c229b8, priority=0) at kernel/qcoreapplication.cpp:1140
#11 0xb66f04cc in QCoreApplication::postEvent (receiver=0x9c23a58, event=0x9c229b8) at kernel/qcoreapplication.cpp:1093
#12 0xb66ff2a4 in QObject::deleteLater (this=0x9c23a58) at kernel/qobject.cpp:2138
#13 0xb69b5efc in KJob::emitResult (this=0x9c23a58) at ../../kdecore/jobs/kjob.cpp:315
#14 0xb74f42a7 in Plasma::ServiceJob::setResult (this=0x9c23a58, result=...) at ../../plasma/servicejob.cpp:80
#15 0xaea1890d in StatusNotifierItemJob::contextMenuReady (this=0x9c23a58, menu=0x9c1a5d0) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemjob.cpp:53
#16 0xaea1898d in StatusNotifierItemJob::qt_metacall (this=0x9c23a58, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcc9318) at ./statusnotifieritemjob.moc:75
#17 0xb66f36ba in QMetaObject::metacall (object=0x9c23a58, cl=QMetaObject::InvokeMetaMethod, idx=28, argv=0xbfcc9318) at kernel/qmetaobject.cpp:237
#18 0xb67034ff in QMetaObject::activate (sender=0x9c380e0, m=0xaea1fc40, local_signal_index=0, argv=0xbfcc9318) at kernel/qobject.cpp:3287
#19 0xaea137d3 in StatusNotifierItemSource::contextMenuReady (this=0x9c380e0, _t1=0x9c1a5d0) at ./statusnotifieritemsource.moc:109
#20 0xaea13811 in StatusNotifierItemSource::contextMenuReady (this=0x9c380e0) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:363
#21 0xaea1725b in StatusNotifierItemSource::qt_metacall (this=0x9c380e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfcc942c) at ./statusnotifieritemsource.moc:90
#22 0xb66f36ba in QMetaObject::metacall (object=0x9c380e0, cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0xbfcc942c) at kernel/qmetaobject.cpp:237
#23 0xb67034ff in QMetaObject::activate (sender=0x912f7c0, m=0xb380ede4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#24 0xb37f06b7 in DBusMenuImporter::menuUpdated() () from /usr/lib/libdbusmenu-qt.so.2
#25 0xb37f0e94 in DBusMenuImporter::slotMenuAboutToShow() () from /usr/lib/libdbusmenu-qt.so.2
#26 0xb37fbe7b in DBusMenuImporter::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libdbusmenu-qt.so.2
#27 0xb66f36ba in QMetaObject::metacall (object=0x912f7c0, cl=QMetaObject::InvokeMetaMethod, idx=10, argv=0xbfcc965c) at kernel/qmetaobject.cpp:237
#28 0xb67034ff in QMetaObject::activate (sender=0x9c1a5d0, m=0xb657f328, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#29 0xb60d2567 in QMenu::aboutToShow (this=0x9c1a5d0) at .moc/release-shared/moc_qmenu.cpp:151
#30 0xb60d890b in QMenu::qt_metacall (this=0x9c1a5d0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfcc978c) at .moc/release-shared/moc_qmenu.cpp:97
#31 0xb66f36ba in QMetaObject::metacall (object=0x9c1a5d0, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfcc978c) at kernel/qmetaobject.cpp:237
#32 0xb66f6641 in QMetaMethod::invoke (this=0xbfcc991c, object=0x9c1a5d0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1578
#33 0xb66f736d in QMetaObject::invokeMethod (obj=0x9c1a5d0, member=0xb380236a "aboutToShow", type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#34 0xb37f066e in DBusMenuImporter::updateMenu() () from /usr/lib/libdbusmenu-qt.so.2
#35 0xaea1342f in StatusNotifierItemSource::contextMenu (this=0x9c380e0, x=2282, y=1009) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:466
#36 0xaea19263 in StatusNotifierItemJob::start (this=0x9c23a58) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemjob.cpp:43
#37 0xb74f411c in slotStart (this=0x9c23a58, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x985d288) at ../../plasma/servicejob.cpp:37
#38 Plasma::ServiceJob::qt_metacall (this=0x9c23a58, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x985d288) at ./servicejob.moc:82
#39 0xaea1896a in StatusNotifierItemJob::qt_metacall (this=0x9c23a58, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x985d288) at ./statusnotifieritemjob.moc:70
#40 0xb66f36ba in QMetaObject::metacall (object=0x9c23a58, cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0x985d288) at kernel/qmetaobject.cpp:237
#41 0xb66fde16 in QMetaCallEvent::placeMetaCall (this=0x9c5bde0, object=0x9c23a58) at kernel/qobject.cpp:535
#42 0xb67023b7 in QObject::event (this=0x9c23a58, e=0x9c5bde0) at kernel/qobject.cpp:1226
#43 0xb5c47d24 in QApplicationPrivate::notify_helper (this=0x8c522b8, receiver=0x9c23a58, e=0x9c5bde0) at kernel/qapplication.cpp:4462
#44 0xb5c4c8ce in QApplication::notify (this=0x8c494d8, receiver=0x9c23a58, e=0x9c5bde0) at kernel/qapplication.cpp:3862
#45 0xb6cf43ca in KApplication::notify (this=0x8c494d8, receiver=0x9c23a58, event=0x9c5bde0) at ../../kdeui/kernel/kapplication.cpp:311
#46 0xb66ed0bb in QCoreApplication::notifyInternal (this=0x8c494d8, receiver=0x9c23a58, event=0x9c5bde0) at kernel/qcoreapplication.cpp:731
#47 0xb66f0c79 in sendEvent (receiver=0x0, event_type=0, data=0x8bdcf50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8bdcf50) at kernel/qcoreapplication.cpp:1372
#49 0xb66f0e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#50 0xb671a3c4 in sendPostedEvents (s=0x8c54ab0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#51 postEventSourceDispatch (s=0x8c54ab0) at kernel/qeventdispatcher_glib.cpp:277
#52 0xb369aaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0xb369b270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0xb369b524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb671a53c in QEventDispatcherGlib::processEvents (this=0x8bdcaa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#56 0xb5cfb775 in QGuiEventDispatcherGlib::processEvents (this=0x8bdcaa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0xb66ec289 in QEventLoop::processEvents (this=0xbfcca664, flags=...) at kernel/qeventloop.cpp:149
#58 0xb66ec522 in QEventLoop::exec (this=0xbfcca664, flags=...) at kernel/qeventloop.cpp:201
#59 0xb66f0ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#60 0xb5c458e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#61 0xb77d05a5 in kdemain (argc=1, argv=0xbfcca874) at ../../../../plasma/desktop/shell/main.cpp:118
#62 0x080485cb in main (argc=1, argv=0xbfcca874) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 261741, bug 260767, bug 259585, bug 258095, bug 254699.

Reported using DrKonqi
Comment 1 Thomas Berger 2011-07-09 19:11:02 UTC
Created attachment 61732 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.6.90 (4.7 RC1) using Qt 4.7.2

- What I was doing when the application crashed:

I just closed the KMail notifcation icon and clicked on another one on the systembar

-- Backtrace (Reduced):
#6  0x00007f4d24df4f6c in QMutex::lock() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f4d24eee682 in QCoreApplication::postEvent(QObject*, QEvent*, int) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f4d0bbf7a03 in StatusNotifierItemJob::contextMenuReady(QMenu*) () from /usr/lib64/kde4/plasma_engine_statusnotifieritem.so
#9  0x00007f4d0bbf7a70 in StatusNotifierItemJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/plasma_engine_statusnotifieritem.so
[...]
#11 0x00007f4d0bbf1aaf in StatusNotifierItemSource::contextMenuReady(QMenu*) () from /usr/lib64/kde4/plasma_engine_statusnotifieritem.so
Comment 2 Dario Andres 2011-07-09 19:39:53 UTC
[Comment from a bug triager]
This issue is being tracked at bug 254435 (bug 241562), merging.
Thanks

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