Bug 344829

Summary: Plasma crashes when using tray
Product: [Unmaintained] plasma4 Reporter: Alexander Zhigalin <alexander>
Component: desktopAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: alexander
Priority: NOR    
Version First Reported In: 4.11.11   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Zhigalin 2015-03-04 15:06:12 UTC
Application: plasma-desktop (4.11.11)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-45-generic x86_64
Distribution: Ubuntu 14.04.2 LTS

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

Sometimes Plasma crashes when I'm trying to call the Onboard menu from it's tray icon.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Оболочка Plasma (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1007c167c0 (LWP 7922))]

Thread 6 (Thread 0x7f0fdd9e2700 (LWP 7924)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f10008c9ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f10008ca039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f0ffb175182 in start_thread (arg=0x7f0fdd9e2700) at pthread_create.c:312
#4  0x00007f100751700d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f0f4ffff700 (LWP 7927)):
#0  0x00007fff4ad75a1f in ?? ()
#1  0x0000000000000005 in ?? ()
#2  0x00007f1007c18a38 in ?? ()
#3  0x0000000000000002 in ?? ()
#4  0x00007f0f48002f30 in ?? ()
#5  0x00007f0f4fffec28 in ?? ()
#6  0x00007f0f4fffebc0 in ?? ()
#7  0x000000007fffffff in ?? ()
#8  0x00007f10040df6f0 in ?? () at kernel/qeventdispatcher_glib.cpp:223 from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f0f4fffec30 in ?? ()
#10 0x00007f10075254bd in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#11 0x00007f1004004ad7 in do_gettime (frac=0x7f0f4fffeb70, sec=0x7f0f4fffeb68) at tools/qelapsedtimer_unix.cpp:127
#12 qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#13 0x00007f10040e0f05 in updateCurrentTime (this=0xffffffffffdff000) at kernel/qeventdispatcher_unix.cpp:354
#14 QTimerInfoList::timerWait (this=0xffffffffffdff000, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#15 0x00007f10040df67c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f0f4fffec24) at kernel/qeventdispatcher_glib.cpp:143
#16 0x00007f10040df725 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#17 0x00007f0ffaa6368d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f0ffaa63f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f0ffaa640ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f10040df7be in QEventDispatcherGlib::processEvents (this=0x7f0f480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#21 0x00007f10040b10af in QEventLoop::processEvents (this=this@entry=0x7f0f4fffede0, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f10040b13a5 in QEventLoop::exec (this=this@entry=0x7f0f4fffede0, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007f1003fadc5f in QThread::exec (this=this@entry=0x25b6eb0) at thread/qthread.cpp:537
#24 0x00007f1004092823 in QInotifyFileSystemWatcherEngine::run (this=0x25b6eb0) at io/qfilesystemwatcher_inotify.cpp:265
#25 0x00007f1003fb032f in QThreadPrivate::start (arg=0x25b6eb0) at thread/qthread_unix.cpp:349
#26 0x00007f0ffb175182 in start_thread (arg=0x7f0f4ffff700) at pthread_create.c:312
#27 0x00007f100751700d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f0f4d379700 (LWP 7930)):
#0  0x00007f0ffaa61444 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0ffaa639bb in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ffaa63f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0ffaa640ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f10040df7be in QEventDispatcherGlib::processEvents (this=0x7f0f380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f10040b10af in QEventLoop::processEvents (this=this@entry=0x7f0f4d378de0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f10040b13a5 in QEventLoop::exec (this=this@entry=0x7f0f4d378de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f1003fadc5f in QThread::exec (this=this@entry=0x28cffd0) at thread/qthread.cpp:537
#8  0x00007f1004092823 in QInotifyFileSystemWatcherEngine::run (this=0x28cffd0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f1003fb032f in QThreadPrivate::start (arg=0x28cffd0) at thread/qthread_unix.cpp:349
#10 0x00007f0ffb175182 in start_thread (arg=0x7f0f4d379700) at pthread_create.c:312
#11 0x00007f100751700d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f0f37749700 (LWP 7952)):
#0  __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:63
#1  0x00007f0ffaaa5981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ffaa631f8 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0ffaa63f91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0ffaa640ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f10040df7be in QEventDispatcherGlib::processEvents (this=0x7f0f300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f10040b10af in QEventLoop::processEvents (this=this@entry=0x7f0f37748e00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f10040b13a5 in QEventLoop::exec (this=this@entry=0x7f0f37748e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f1003fadc5f in QThread::exec (this=this@entry=0x2ef2120) at thread/qthread.cpp:537
#9  0x00007f1005c6cc35 in QDeclarativeXmlQueryEngine::run (this=0x2ef2120) at util/qdeclarativexmllistmodel.cpp:303
#10 0x00007f1003fb032f in QThreadPrivate::start (arg=0x2ef2120) at thread/qthread_unix.cpp:349
#11 0x00007f0ffb175182 in start_thread (arg=0x7f0f37749700) at pthread_create.c:312
#12 0x00007f100751700d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f0f2d9ff700 (LWP 7953)):
#0  0x00007fff4ad75a1f in ?? ()
#1  0x000000007fffffff in ?? ()
#2  0x00007f10040df6c0 in ?? () at kernel/qeventdispatcher_glib.cpp:149 from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f0f2d9fec30 in ?? ()
#4  0x00007f0f28003130 in ?? ()
#5  0x00007f0f28003130 in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1007c167c0 (LWP 7922)):
[KCrash Handler]
#6  QCoreApplication::postEvent (receiver=receiver@entry=0x8214f30, event=0x6f737f0, priority=priority@entry=0) at kernel/qcoreapplication.cpp:1350
#7  0x00007f10040b6427 in QCoreApplication::postEvent (receiver=receiver@entry=0x8214f30, event=<optimized out>) at kernel/qcoreapplication.cpp:1311
#8  0x00007f10040c4094 in QObject::deleteLater (this=this@entry=0x8214f30) at kernel/qobject.cpp:2087
#9  0x00007f10047b7729 in KJob::emitResult (this=this@entry=0x8214f30) at ../../kdecore/jobs/kjob.cpp:321
#10 0x00007f10070b87ea in Plasma::ServiceJob::setResult (this=this@entry=0x8214f30, result=...) at ../../plasma/servicejob.cpp:92
#11 0x00007f0f56adea30 in StatusNotifierItemJob::contextMenuReady (this=0x8214f30, menu=0x7af6f20) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemjob.cpp:53
#12 0x00007f10040c687a in QMetaObject::activate (sender=sender@entry=0x58073b0, m=m@entry=0x7f0f56ce5960 <StatusNotifierItemSource::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff4ac6f7d0) at kernel/qobject.cpp:3539
#13 0x00007f0f56ad945f in contextMenuReady (_t1=0x7af6f20, this=0x58073b0) at ./statusnotifieritemsource.moc:122
#14 StatusNotifierItemSource::contextMenuReady (this=0x58073b0) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:365
#15 0x00007f0f56add985 in StatusNotifierItemSource::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./statusnotifieritemsource.moc:64
#16 0x00007f10040c687a in QMetaObject::activate (sender=0x30efaf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#17 0x00007f0ffbbf92d4 in DBusMenuImporter::slotMenuAboutToShow() () from /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2
#18 0x00007f10040c687a in QMetaObject::activate (sender=0x7af6f20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#19 0x00007f10040ba908 in QMetaMethod::invoke (this=this@entry=0x7fff4ac70040, object=object@entry=0x7af6f20, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#20 0x00007f10040bcdc2 in QMetaObject::invokeMethod (obj=0x7af6f20, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#21 0x00007f0ffbbf26f9 in DBusMenuImporter::updateMenu() () from /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2
#22 0x00007f0f56ad9bc2 in StatusNotifierItemSource::contextMenu (this=0x58073b0, x=<optimized out>, y=y@entry=765) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:468
#23 0x00007f0f56adf79f in StatusNotifierItemJob::start (this=0x7c22f00) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemjob.cpp:43
#24 0x00007f10040cac1e in QObject::event (this=0x7c22f00, e=<optimized out>) at kernel/qobject.cpp:1194
#25 0x00007f100344be2c in QApplicationPrivate::notify_helper (this=this@entry=0x1699ef0, receiver=receiver@entry=0x7c22f00, e=e@entry=0x647ea60) at kernel/qapplication.cpp:4567
#26 0x00007f10034524a0 in QApplication::notify (this=this@entry=0x1678ae0, receiver=receiver@entry=0x7c22f00, e=e@entry=0x647ea60) at kernel/qapplication.cpp:4353
#27 0x00007f1004d77d1a in KApplication::notify (this=0x1678ae0, receiver=0x7c22f00, event=0x647ea60) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f10040b24dd in QCoreApplication::notifyInternal (this=0x1678ae0, receiver=receiver@entry=0x7c22f00, event=event@entry=0x647ea60) at kernel/qcoreapplication.cpp:953
#29 0x00007f10040b5b3d in sendEvent (event=0x647ea60, receiver=0x7c22f00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x15fc1f0) at kernel/qcoreapplication.cpp:1577
#31 0x00007f10040b5fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#32 0x00007f10040dff83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x1695020) at kernel/qeventdispatcher_glib.cpp:287
#34 0x00007f0ffaa63e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f0ffaa64048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f0ffaa640ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f10040df7a1 in QEventDispatcherGlib::processEvents (this=0x15fdaf0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#38 0x00007f10034edbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f10040b10af in QEventLoop::processEvents (this=this@entry=0x7fff4ac70c10, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f10040b13a5 in QEventLoop::exec (this=this@entry=0x7fff4ac70c10, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f10040b6b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#42 0x00007f100344a37c in QApplication::exec () at kernel/qapplication.cpp:3828
#43 0x00007f100781e67c in kdemain (argc=1, argv=0x7fff4ac70e68) at ../../../../plasma/desktop/shell/main.cpp:126
#44 0x00007f100743dec5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, argv=0x7fff4ac70e68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4ac70e58) at libc-start.c:287
#45 0x000000000040070e in _start ()

Possible duplicates by query: bug 333311.
Comment 1 Alexander Zhigalin 2017-07-29 16:41:27 UTC
It seems to be fixed, closing