Bug 318414 - Application's tray icons crashes plasma-desktop on multiple SystemTray widgets setup.
Summary: Application's tray icons crashes plasma-desktop on multiple SystemTray widget...
Status: RESOLVED DUPLICATE of bug 323009
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-systemtray (other bugs)
Version First Reported In: 4.10.1
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-15 23:53 UTC by NightSky
Modified: 2013-07-31 00:57 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 NightSky 2013-04-15 23:53:04 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.10.1 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.7.10-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
Plasma crashes when having multiple active SystemTray widgets and removing/adding SystemTray widget with application's tray icon on it.

-Steps to reproduce:
1. Create additional SystemTray widget (panel or desktop).
2. Start application that places icon on a SystemTray widget.*
 *the icon should appear only on one of the SystemTray widgets otherwise everything works as expected
3. Remove the SystemTray widget with the application's icon.
4. Create additional SystemTray widget.

- Unusual behavior I noticed:
The tray icon appears only on one of the SystemTray widgets.
The tray icon appears blank or transparent on the desktop SystemTray widgets.

-Not producible with:
klipper, kmix, kgpg, kget, krandrtray, kwalletmanager...

-Reproducible with:
Clementine v1.1.1, Andromeda, Skype v4.1, Thunderbird 17.0.5 + FireTray 0.4.5

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc5d69aa780 (LWP 15992))]

Thread 3 (Thread 0x7fc5bdd4b700 (LWP 15993)):
#0  0x00007fc5d5227dcc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc5c9918fd2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fc5c9c10e80 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fc5c9919009 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fc5c60e21b4 in ?? () from /usr/lib64/libGL.so.1
#4  0x00007fc5d5223ec6 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc5d3fd198d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc53bcb8700 (LWP 15994)):
#0  0x00007fffbbfff87f in clock_gettime ()
#1  0x00007fc5d119888d in clock_gettime () from /lib64/librt.so.1
#2  0x00007fc5d550e6b4 in do_gettime (frac=0x7fc53bcb7aa8, sec=0x7fc53bcb7aa0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fc5d55e345d in QTimerInfoList::updateCurrentTime (this=0x7fc534002860) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00007fc5d55e3773 in QTimerInfoList::timerWait (this=0x7fc534002860, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x00007fc5d55e21cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fc53bcb7b7c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fc5d55e226d in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fc5d0ebe845 in g_main_context_prepare (context=0x7fc5340009c0, priority=0x7fc53bcb7bc8) at gmain.c:2836
#9  0x00007fc5d0ebef2b in g_main_context_iterate (dispatch=1, block=1, context=0x7fc5340009c0, self=<optimized out>) at gmain.c:3126
#10 g_main_context_iterate (context=0x7fc5340009c0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3083
#11 0x00007fc5d0ebf114 in g_main_context_iteration (context=0x7fc5340009c0, may_block=1) at gmain.c:3207
#12 0x00007fc5d55e2c26 in QEventDispatcherGlib::processEvents (this=0x7fc5340008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#13 0x00007fc5d55b39e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fc5d55b3c37 in QEventLoop::exec (this=0x7fc53bcb7cf0, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007fc5d54b6b6f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#16 0x00007fc5d559405f in QInotifyFileSystemWatcherEngine::run (this=0x13019c0) at io/qfilesystemwatcher_inotify.cpp:256
#17 0x00007fc5d54b9b2c in QThreadPrivate::start (arg=0x13019c0) at thread/qthread_unix.cpp:338
#18 0x00007fc5c60e21b4 in ?? () from /usr/lib64/libGL.so.1
#19 0x00007fc5d5223ec6 in start_thread () from /lib64/libpthread.so.0
#20 0x00007fc5d3fd198d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc5d69aa780 (LWP 15992)):
[KCrash Handler]
#6  0x00007fc5d55c9dc4 in QObject::connect (sender=0xee7f40, signal=0x7fc539376058 "2destroyed()", receiver=0x2ae2ab0, method=0x7fc539376047 "1widgetDeleted()", type=Qt::AutoConnection) at kernel/qobject.cpp:2550
#7  0x00007fc53935d6c7 in SystemTray::Task::widget (this=0x2ae2ab0, host=0x4206590, createIfNecessary=<optimized out>) at /var/tmp/portage/kde-base/plasma-workspace-4.10.1-r1/work/plasma-workspace-4.10.1/plasma/generic/applets/systemtray/core/task.cpp:80
#8  0x00007fc53936c1f0 in SystemTray::Applet::_onAddedTask (this=0x4206590, task=0x2ae2ab0) at /var/tmp/portage/kde-base/plasma-workspace-4.10.1-r1/work/plasma-workspace-4.10.1/plasma/generic/applets/systemtray/ui/applet.cpp:196
#9  0x00007fc53936d72a in SystemTray::Applet::_onWidgetCreationFinished (this=0x4206590) at /var/tmp/portage/kde-base/plasma-workspace-4.10.1-r1/work/plasma-workspace-4.10.1/plasma/generic/applets/systemtray/ui/applet.cpp:278
#10 0x00007fc53936d925 in qt_static_metacall (_a=0x7fffbbf49bc0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /var/tmp/portage/kde-base/plasma-workspace-4.10.1-r1/work/plasma-workspace-4.10.1_build/plasma/generic/applets/systemtray/applet.moc:144
#11 SystemTray::Applet::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffbbf49bc0) at /var/tmp/portage/kde-base/plasma-workspace-4.10.1-r1/work/plasma-workspace-4.10.1_build/plasma/generic/applets/systemtray/applet.moc:126
#12 0x00007fc5d55c85b1 in QMetaObject::activate (sender=0x4245700, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#13 0x00007fc5cb980403 in Plasma::DeclarativeWidgetPrivate::finishExecute (this=0x4226290) at /var/tmp/portage/kde-base/kdelibs-4.10.1-r1/work/kdelibs-4.10.1/plasma/widgets/declarativewidget.cpp:216
#14 0x00007fc5d55cd606 in QObject::event (this=0x4245700, e=<optimized out>) at kernel/qobject.cpp:1194
#15 0x00007fc5d4d6a583 in QGraphicsWidget::event (this=0x4245700, event=0x4225e40) at graphicsview/qgraphicswidget.cpp:1461
#16 0x00007fc5d476b434 in notify_helper (e=0x4225e40, receiver=0x4245700, this=0xed68b0) at kernel/qapplication.cpp:4562
#17 QApplicationPrivate::notify_helper (this=0xed68b0, receiver=0x4245700, e=0x4225e40) at kernel/qapplication.cpp:4534
#18 0x00007fc5d4770a23 in QApplication::notify (this=0xf575f0, receiver=0x4245700, e=0x4225e40) at kernel/qapplication.cpp:4423
#19 0x00007fc5d6394d46 in KApplication::notify (this=0xf575f0, receiver=0x4245700, event=0x4225e40) at /var/tmp/portage/kde-base/kdelibs-4.10.1-r1/work/kdelibs-4.10.1/kdeui/kernel/kapplication.cpp:311
#20 0x00007fc5d55b4e73 in QCoreApplication::notifyInternal (this=0xf575f0, receiver=0x4245700, event=0x4225e40) at kernel/qcoreapplication.cpp:946
#21 0x00007fc5d55b8599 in sendEvent (event=0x4225e40, receiver=0x4245700) at kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xd9f2b0) at kernel/qcoreapplication.cpp:1570
#23 0x00007fc5d55e27c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#25 0x00007fc5d0ebed2a in g_main_dispatch (context=0xed4fc0) at gmain.c:2539
#26 g_main_context_dispatch (context=0xed4fc0) at gmain.c:3075
#27 0x00007fc5d0ebf065 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0xed4fc0, self=<optimized out>) at gmain.c:3146
#28 g_main_context_iterate (context=0xed4fc0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3083
#29 0x00007fc5d0ebf114 in g_main_context_iteration (context=0xed4fc0, may_block=1) at gmain.c:3207
#30 0x00007fc5d55e2bcb in QEventDispatcherGlib::processEvents (this=0xed4b50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007fc5d480acbe in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fc5d55b39e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fc5d55b3c37 in QEventLoop::exec (this=0x7fffbbf4a740, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007fc5d55b8875 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#35 0x00007fc5c2e6424d in kdemain (argc=1, argv=0xde5990) at /var/tmp/portage/kde-base/plasma-workspace-4.10.1-r1/work/plasma-workspace-4.10.1/plasma/desktop/shell/main.cpp:126
#36 0x0000000000408a0c in launch (argc=1, _name=0xe9ece8 "/usr/bin/plasma-desktop", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b386 "0") at /var/tmp/portage/kde-base/kdelibs-4.10.1-r1/work/kdelibs-4.10.1/kinit/kinit.cpp:726
#37 0x0000000000409ac6 in handle_launcher_request (sock=7, who=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.10.1-r1/work/kdelibs-4.10.1/kinit/kinit.cpp:1218
#38 0x0000000000409ff3 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.10.1-r1/work/kdelibs-4.10.1/kinit/kinit.cpp:1411
#39 0x0000000000405aad in main (argc=2, argv=0x7fffbbf4b720, envp=0x7fffbbf4b9f0) at /var/tmp/portage/kde-base/kdelibs-4.10.1-r1/work/kdelibs-4.10.1/kinit/kinit.cpp:1899

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-07-31 00:57:02 UTC

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