Bug 265804

Summary: Plasma Desktop crash when closing (some) tray applications
Product: [Unmaintained] plasma4 Reporter: Marcus Harrison <marcus>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marcus Harrison 2011-02-08 15:24:44 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-26-generic i686
Distribution: Ubuntu 10.10

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

This has happened on a few occasions: sometimes, when I close e.g. Kopete or Amarok, their icon doesn't disappear from the system tray and instead all of Plasma Desktop crashes. Other than the fact that these applications are docked in the tray with their own icons, I can't find a specific reason why it happens as it doesn't happen every time.

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0xae7ffb70 (LWP 5453)):
#0  0x05ca17c8 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00778fa6 in pthread_mutex_unlock () from /lib/libc.so.6
#2  0x05a5f1e6 in ?? () from /lib/libglib-2.0.so.0
#3  0x05a5f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0395259f in QEventDispatcherGlib::processEvents (this=0x9700030, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x03922609 in QEventLoop::processEvents (this=0xae7ff280, flags=) at kernel/qeventloop.cpp:149
#6  0x03922a8a in QEventLoop::exec (this=0xae7ff280, flags=...) at kernel/qeventloop.cpp:201
#7  0x0381eb7e in QThread::exec (this=0x96fe9d0) at thread/qthread.cpp:490
#8  0x0390135b in QInotifyFileSystemWatcherEngine::run (this=0x96fe9d0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x03821df9 in QThreadPrivate::start (arg=0x96fe9d0) at thread/qthread_unix.cpp:266
#10 0x05c9dcc9 in start_thread () from /lib/libpthread.so.0
#11 0x0076b69e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xad0b8b70 (LWP 5454)):
#0  0x00778fa4 in pthread_mutex_unlock () from /lib/libc.so.6
#1  0x05a5eb34 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x05a5f45e in ?? () from /lib/libglib-2.0.so.0
#3  0x05a5f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0395259f in QEventDispatcherGlib::processEvents (this=0x9796a20, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x03922609 in QEventLoop::processEvents (this=0xad0b8280, flags=) at kernel/qeventloop.cpp:149
#6  0x03922a8a in QEventLoop::exec (this=0xad0b8280, flags=...) at kernel/qeventloop.cpp:201
#7  0x0381eb7e in QThread::exec (this=0x8f54e00) at thread/qthread.cpp:490
#8  0x0390135b in QInotifyFileSystemWatcherEngine::run (this=0x8f54e00) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x03821df9 in QThreadPrivate::start (arg=0x8f54e00) at thread/qthread_unix.cpp:266
#10 0x05c9dcc9 in start_thread () from /lib/libpthread.so.0
#11 0x0076b69e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xabd86b70 (LWP 5574)):
#0  0x00e76416 in __kernel_vsyscall ()
#1  0x05ca24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00778d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0x030dc877 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x31db1a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x030dc8c1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x31db1a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x05c9dcc9 in start_thread () from /lib/libpthread.so.0
#6  0x0076b69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa91acb70 (LWP 5598)):
#0  0x05ca03eb in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00778f66 in pthread_mutex_lock () from /lib/libc.so.6
#2  0x05a5d5f8 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#3  0x05a5f1ee in ?? () from /lib/libglib-2.0.so.0
#4  0x05a5f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0395259f in QEventDispatcherGlib::processEvents (this=0x9c1b8e0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x03922609 in QEventLoop::processEvents (this=0xa91ac280, flags=) at kernel/qeventloop.cpp:149
#7  0x03922a8a in QEventLoop::exec (this=0xa91ac280, flags=...) at kernel/qeventloop.cpp:201
#8  0x0381eb7e in QThread::exec (this=0x9b27518) at thread/qthread.cpp:490
#9  0x0390135b in QInotifyFileSystemWatcherEngine::run (this=0x9b27518) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x03821df9 in QThreadPrivate::start (arg=0x9b27518) at thread/qthread_unix.cpp:266
#11 0x05c9dcc9 in start_thread () from /lib/libpthread.so.0
#12 0x0076b69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb774a720 (LWP 5443)):
[KCrash Handler]
#7  0x00000010 in ?? ()
#8  0x045a2de2 in NowPlaying::findPlayer (this=0x95ac1e0) at ../../../applets/nowplaying/nowplaying.cpp:359
#9  0x045a32d3 in NowPlaying::playerRemoved (this=0x95ac1e0, name=...) at ../../../applets/nowplaying/nowplaying.cpp:338
#10 0x045a72d5 in NowPlaying::qt_metacall (this=0x95ac1e0, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0xbff17e18) at ./nowplaying.moc:108
#11 0x039298ca in QMetaObject::metacall (object=0x95ac1e0, cl=156942844, idx=68, argv=0xbff17e18) at kernel/qmetaobject.cpp:237
#12 0x0393c6ad in QMetaObject::activate (sender=0x9a92028, m=0xaa7b44, local_signal_index=1, argv=0x9a93370) at kernel/qobject.cpp:3280
#13 0x008dce33 in Plasma::DataEngine::sourceRemoved (this=0x9a92028, _t1=...) at ./dataengine.moc:198
#14 0x008ded10 in Plasma::DataEngine::removeSource (this=0x9a92028, source=...) at ../../plasma/dataengine.cpp:324
#15 0x050ee3fc in NowPlayingEngine::removePlayer (this=0x9a92028, player=) at ../../../../../plasma/generic/dataengines/nowplaying/nowplayingengine.cpp:147
#16 0x050efcd5 in NowPlayingEngine::qt_metacall (this=0x9a92028, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbff18058) at ./nowplayingengine.moc:77
#17 0x039298ca in QMetaObject::metacall (object=0x9a92028, cl=156942844, idx=25, argv=0xbff18058) at kernel/qmetaobject.cpp:237
#18 0x0393c6ad in QMetaObject::activate (sender=0x9a91f60, m=0x510768c, local_signal_index=1, argv=0x9a93370) at kernel/qobject.cpp:3280
#19 0x050ed4f3 in DBusWatcher::playerDisappeared (this=0x9a91f60, _t1=...) at moc_dbuswatcher.cpp:100
#20 0x050f48dc in DBusWatcher::serviceChange (this=0x9a91f60, name=..., oldOwner=..., newOwner=...) at ../../../../../plasma/generic/dataengines/nowplaying/playerinterface/dbuswatcher.cpp:102
#21 0x050ed6e3 in DBusWatcher::qt_metacall (this=0x9a91f60, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbff18230) at moc_dbuswatcher.cpp:81
#22 0x039298ca in QMetaObject::metacall (object=0x9a91f60, cl=156942844, idx=6, argv=0xbff18230) at kernel/qmetaobject.cpp:237
#23 0x0393c6ad in QMetaObject::activate (sender=0x8d0d0b8, m=0x4aec88, local_signal_index=2, argv=0x9a93370) at kernel/qobject.cpp:3280
#24 0x004968df in QDBusConnectionInterface::serviceOwnerChanged (this=0x8d0d0b8, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:210
#25 0x00496c03 in QDBusConnectionInterface::qt_metacall (this=0x8d0d0b8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff18400) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:137
#26 0x039298ca in QMetaObject::metacall (object=0x8d0d0b8, cl=156942844, idx=7, argv=0xbff18400) at kernel/qmetaobject.cpp:237
#27 0x0393c6ad in QMetaObject::activate (sender=0x8d0d0b8, m=0x4aec88, local_signal_index=6, argv=0x9a93370) at kernel/qobject.cpp:3280
#28 0x0049678f in QDBusConnectionInterface::NameOwnerChanged (this=0x8d0d0b8, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:238
#29 0x00496c93 in QDBusConnectionInterface::qt_metacall (this=0x8d0d0b8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbff1860c) at .moc/release-shared/moc_qdbusconnectioninterface.cpp:141
#30 0x004549dc in QDBusConnectionPrivate::deliverCall (this=0x8d12bd0, object=0x8d0d0b8, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:919
#31 0x004601f7 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9b9fd20, object=0x8d0d0b8) at qdbusintegrator_p.h:103
#32 0x039366a2 in QObject::event (this=0x8d0d0b8, e=0xa45c630) at kernel/qobject.cpp:1219
#33 0x0139afdc in QApplicationPrivate::notify_helper (this=0x8d1f6d8, receiver=0x8d0d0b8, e=0x9b9fd20) at kernel/qapplication.cpp:4396
#34 0x013a104e in QApplication::notify (this=0x8d121d0, receiver=0x8d0d0b8, e=0x9b9fd20) at kernel/qapplication.cpp:3798
#35 0x01080f7a in KApplication::notify (this=0x8d121d0, receiver=0x8d0d0b8, event=0x9b9fd20) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x03923b3b in QCoreApplication::notifyInternal (this=0x8d121d0, receiver=0x8d0d0b8, event=0x9b9fd20) at kernel/qcoreapplication.cpp:732
#37 0x03926d8b in sendEvent (receiver=0x0, event_type=0, data=0x8cdf0f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8cdf0f0) at kernel/qcoreapplication.cpp:1373
#39 0x03926f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#40 0x03952a74 in sendPostedEvents (s=0x8d1f658) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x8d1f658) at kernel/qeventdispatcher_glib.cpp:277
#42 0x05a5b855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x05a5f668 in ?? () from /lib/libglib-2.0.so.0
#44 0x05a5f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x03952565 in QEventDispatcherGlib::processEvents (this=0x8cdeba0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#46 0x0145cbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8cdeba0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x03922609 in QEventLoop::processEvents (this=0xbff18e34, flags=) at kernel/qeventloop.cpp:149
#48 0x03922a8a in QEventLoop::exec (this=0xbff18e34, flags=...) at kernel/qeventloop.cpp:201
#49 0x0392700f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#50 0x01399e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#51 0x0018efd7 in kdemain (argc=1, argv=0xbff19044) at ../../../../plasma/desktop/shell/main.cpp:118
#52 0x080485bb in main (argc=1, argv=0xbff19044) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 264588.

Reported using DrKonqi
Comment 1 Dario Andres 2011-02-11 17:49:43 UTC
The crash is related to the NowPlaying applet and it was fixed recently: bug 264588.
Regards

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