Bug 367087 - frequently crashing plasmashell without interaction
Summary: frequently crashing plasmashell without interaction
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.5.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: drkonqi
: 367823 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-17 11:39 UTC by jens.moedeker
Modified: 2016-08-26 10:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jens.moedeker 2016-08-17 11:39:47 UTC
Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-34-generic x86_64
Distribution: Ubuntu 16.04.1 LTS

-- Information about the crash:
after upgrade from ubuntu 14.04 to 16.04 plasmashell is crashing frequently without deterministic trigger

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb8bba398c0 (LWP 24703))]

Thread 8 (Thread 0x7fb7f1332700 (LWP 24719)):
#0  QMutexLocker::QMutexLocker (m=0x49812c8, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:128
#1  QThreadData::canWaitLocked (this=0x49812a0) at ../../include/QtCore/5.5.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:240
#2  postEventSourcePrepare (s=0x7fb7ec0012d0, timeout=0x7fb7f1331b04) at kernel/qeventdispatcher_glib.cpp:254
#3  0x00007fb8b2eeb92d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb8b2eec2cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb8b2eec4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fb8b6a82a9b in QEventDispatcherGlib::processEvents (this=0x7fb7ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007fb8b6a29dea in QEventLoop::exec (this=this@entry=0x7fb7f1331cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007fb8b68468a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007fb7f38117d7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#10 0x00007fb8b684b84e in QThreadPrivate::start (arg=0x4981190) at thread/qthread_unix.cpp:331
#11 0x00007fb8b59386fa in start_thread (arg=0x7fb7f1332700) at pthread_create.c:333
#12 0x00007fb8b6161b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fb806fef700 (LWP 24713)):
#0  0x00007fb8b2eeb939 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb8b2eec2cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb8b2eec4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb8b6a82a9b in QEventDispatcherGlib::processEvents (this=0x7fb8000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fb8b6a29dea in QEventLoop::exec (this=this@entry=0x7fb806feec90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fb8b68468a4 in QThread::exec (this=this@entry=0x1fb6d80) at thread/qthread.cpp:503
#6  0x00007fb8b9a74ed6 in QQuickPixmapReader::run (this=0x1fb6d80) at util/qquickpixmapcache.cpp:817
#7  0x00007fb8b684b84e in QThreadPrivate::start (arg=0x1fb6d80) at thread/qthread_unix.cpp:331
#8  0x00007fb8b59386fa in start_thread (arg=0x7fb806fef700) at pthread_create.c:333
#9  0x00007fb8b6161b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fb88da19700 (LWP 24712)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb8bb493bd4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fb8bb493c19 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fb8b59386fa in start_thread (arg=0x7fb88da19700) at pthread_create.c:333
#4  0x00007fb8b6161b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fb88f25d700 (LWP 24711)):
#0  0x00007fb8b2f30ac9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb8b2eeb939 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb8b2eec2cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb8b2eec4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb8b6a82a9b in QEventDispatcherGlib::processEvents (this=0x7fb8880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fb8b6a29dea in QEventLoop::exec (this=this@entry=0x7fb88f25cce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fb8b68468a4 in QThread::exec (this=this@entry=0x167bea0) at thread/qthread.cpp:503
#7  0x00007fb8b90ee3c5 in QQmlThreadPrivate::run (this=0x167bea0) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fb8b684b84e in QThreadPrivate::start (arg=0x167bea0) at thread/qthread_unix.cpp:331
#9  0x00007fb8b59386fa in start_thread (arg=0x7fb88f25d700) at pthread_create.c:333
#10 0x00007fb8b6161b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fb894ae3700 (LWP 24710)):
#0  0x00007fb8b2eec290 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb8b2eec4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb8b6a82a9b in QEventDispatcherGlib::processEvents (this=0x7fb8900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#3  0x00007fb8b6a29dea in QEventLoop::exec (this=this@entry=0x7fb894ae2ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#4  0x00007fb8b68468a4 in QThread::exec (this=this@entry=0x1adb9b0) at thread/qthread.cpp:503
#5  0x00007fb8b90ee3c5 in QQmlThreadPrivate::run (this=0x1adb9b0) at qml/ftw/qqmlthread.cpp:141
#6  0x00007fb8b684b84e in QThreadPrivate::start (arg=0x1adb9b0) at thread/qthread_unix.cpp:331
#7  0x00007fb8b59386fa in start_thread (arg=0x7fb894ae3700) at pthread_create.c:333
#8  0x00007fb8b6161b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fb89ffff700 (LWP 24709)):
#0  0x00007fb8b6155e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb8b2eec39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb8b2eec4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb8b6a82a9b in QEventDispatcherGlib::processEvents (this=0x7fb8980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fb8b6a29dea in QEventLoop::exec (this=this@entry=0x7fb89fffece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fb8b68468a4 in QThread::exec (this=this@entry=0x1764150) at thread/qthread.cpp:503
#6  0x00007fb8b90ee3c5 in QQmlThreadPrivate::run (this=0x1764150) at qml/ftw/qqmlthread.cpp:141
#7  0x00007fb8b684b84e in QThreadPrivate::start (arg=0x1764150) at thread/qthread_unix.cpp:331
#8  0x00007fb8b59386fa in start_thread (arg=0x7fb89ffff700) at pthread_create.c:333
#9  0x00007fb8b6161b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb8a6bd8700 (LWP 24707)):
#0  0x00007fb8b6155e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb8ba21ac62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb8ba21c8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb8a8d26629 in QXcbEventReader::run (this=0x16997f0) at qxcbconnection.cpp:1253
#4  0x00007fb8b684b84e in QThreadPrivate::start (arg=0x16997f0) at thread/qthread_unix.cpp:331
#5  0x00007fb8b59386fa in start_thread (arg=0x7fb8a6bd8700) at pthread_create.c:333
#6  0x00007fb8b6161b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb8bba398c0 (LWP 24703)):
[KCrash Handler]
#6  0x00007fb8b8ebe0f8 in VDMModelDelegateDataType::notify (this=<optimized out>, items=..., index=17, count=1, roles=...) at util/qqmladaptormodel.cpp:167
#7  0x00007fb8b912fada in QQmlAdaptorModel::notify (roles=..., count=1, index=17, items=..., this=0x3f866e8) at ../../include/QtQml/5.5.1/QtQml/private/../../../../../src/qml/util/qqmladaptormodel_p.h:118
#8  QQmlDelegateModel::_q_itemsChanged (this=<optimized out>, index=17, count=1, roles=...) at types/qqmldelegatemodel.cpp:1144
#9  0x00007fb8b912fc3a in QQmlDelegateModel::_q_dataChanged (this=<optimized out>, begin=..., end=..., roles=...) at types/qqmldelegatemodel.cpp:1546
#10 0x00007fb8b915717c in QQmlDelegateModel::qt_static_metacall (_o=_o@entry=0x3f86630, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=12, _a=_a@entry=0x7ffcd195b330) at .moc/moc_qqmldelegatemodel_p.cpp:203
#11 0x00007fb8b9157968 in QQmlDelegateModel::qt_metacall (this=0x3f86630, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7ffcd195b330) at .moc/moc_qqmldelegatemodel_p.cpp:344
#12 0x00007fb8b6a5b180 in QMetaObject::activate (sender=0x3f57830, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd195b330) at kernel/qobject.cpp:3728
#13 0x00007fb8b6a5b7d7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fb8b6c74ec0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd195b330) at kernel/qobject.cpp:3578
#14 0x00007fb8b6ad70fc in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:548
#15 0x00007fb7fbbe57f4 in TaskManager::TasksModelPrivate::itemChanged (this=0x3f5efb0, changes=...) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/libtaskmanager/tasksmodel.cpp:521
#16 0x00007fb7fbbe6a77 in TaskManager::TasksModel::qt_static_metacall (_o=_o@entry=0x3f57830, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=9, _a=_a@entry=0x7ffcd195b520) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/obj-x86_64-linux-gnu/libtaskmanager/moc_tasksmodel.cpp:214
#17 0x00007fb8b6a5afca in QMetaObject::activate (sender=0x4d6e960, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd195b520) at kernel/qobject.cpp:3713
#18 0x00007fb8b6a5b7d7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fb7fbe0c900 <TaskManager::AbstractGroupableItem::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd195b520) at kernel/qobject.cpp:3578
#19 0x00007fb7fbbeea68 in TaskManager::AbstractGroupableItem::changed (this=<optimized out>, _t1=...) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/obj-x86_64-linux-gnu/libtaskmanager/moc_abstractgroupableitem.cpp:223
#20 0x00007fb7fbbdb4b0 in TaskManager::TaskItemPrivate::filterChange (change=..., this=<optimized out>) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/libtaskmanager/taskitem.cpp:73
#21 TaskManager::TaskItem::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/obj-x86_64-linux-gnu/libtaskmanager/moc_taskitem.cpp:147
#22 0x00007fb8b6a5afca in QMetaObject::activate (sender=sender@entry=0x3e091c0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd195b670) at kernel/qobject.cpp:3713
#23 0x00007fb8b6a5b7d7 in QMetaObject::activate (sender=sender@entry=0x3e091c0, m=m@entry=0x7fb7fbe0c600 <TaskManager::Task::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd195b670) at kernel/qobject.cpp:3578
#24 0x00007fb7fbbeec58 in TaskManager::Task::changed (this=this@entry=0x3e091c0, _t1=...) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/obj-x86_64-linux-gnu/libtaskmanager/moc_task.cpp:359
#25 0x00007fb7fbbccd5b in TaskManager::Task::setActive (this=this@entry=0x3e091c0, a=a@entry=true) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/libtaskmanager/task.cpp:178
#26 0x00007fb7fbbe13e9 in TaskManager::TaskManager::activeWindowChanged (this=0x7fb7fbe0df90 <TaskManager::(anonymous namespace)::Q_QGS_privateTaskManagerSelf::innerFunction()::holder>, w=<optimized out>) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/libtaskmanager/taskmanager.cpp:412
#27 0x00007fb8b6a5ae4f in QtPrivate::QSlotObjectBase::call (a=0x7ffcd195b800, r=0x7fb7fbe0df90 <TaskManager::(anonymous namespace)::Q_QGS_privateTaskManagerSelf::innerFunction()::holder>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#28 QMetaObject::activate (sender=sender@entry=0x7fb8b8e14c00 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcd195b800) at kernel/qobject.cpp:3698
#29 0x00007fb8b6a5b7d7 in QMetaObject::activate (sender=sender@entry=0x7fb8b8e14c00 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, m=m@entry=0x7fb8b8e13ba0 <KWindowSystem::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcd195b800) at kernel/qobject.cpp:3578
#30 0x00007fb8b8c05682 in KWindowSystem::activeWindowChanged (this=this@entry=0x7fb8b8e14c00 <(anonymous namespace)::Q_QGS_g_kwmInstanceContainer::innerFunction()::holder>, _t1=10485764) at moc_kwindowsystem.cpp:303
#31 0x00007fb8a45de25b in NETEventFilter::nativeEventFilter (this=0x3cf9c70, ev=0x7fb8a0007060) at ../../../../src/platforms/xcb/kwindowsystem.cpp:208
#32 0x00007fb8b6a28f9f in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7fb8a0007060, result=result@entry=0x7ffcd195b938) at kernel/qabstracteventdispatcher.cpp:460
#33 0x00007fb8a8d280a4 in QXcbConnection::handleXcbEvent (this=this@entry=0x168d980, event=event@entry=0x7fb8a0007060) at qxcbconnection.cpp:1044
#34 0x00007fb8a8d28e53 in QXcbConnection::processXcbEvents (this=0x168d980) at qxcbconnection.cpp:1532
#35 0x00007fb8b6a5bea1 in QObject::event (this=0x168d980, e=<optimized out>) at kernel/qobject.cpp:1239
#36 0x00007fb8b752f05c in QApplicationPrivate::notify_helper (this=this@entry=0x1682680, receiver=receiver@entry=0x168d980, e=e@entry=0x7fb8a0004420) at kernel/qapplication.cpp:3716
#37 0x00007fb8b7534516 in QApplication::notify (this=0x7ffcd195c0c0, receiver=0x168d980, e=0x7fb8a0004420) at kernel/qapplication.cpp:3499
#38 0x00007fb8b6a2c62b in QCoreApplication::notifyInternal (this=0x7ffcd195c0c0, receiver=0x168d980, event=event@entry=0x7fb8a0004420) at kernel/qcoreapplication.cpp:965
#39 0x00007fb8b6a2ea26 in QCoreApplication::sendEvent (event=0x7fb8a0004420, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1678600) at kernel/qcoreapplication.cpp:1593
#41 0x00007fb8b6a2ef08 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#42 0x00007fb8b6a82673 in postEventSourceDispatch (s=0x16bb2f0) at kernel/qeventdispatcher_glib.cpp:271
#43 0x00007fb8b2eec1a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fb8b2eec400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fb8b2eec4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fb8b6a82a7f in QEventDispatcherGlib::processEvents (this=0x16bb520, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#47 0x00007fb8b6a29dea in QEventLoop::exec (this=this@entry=0x7ffcd195bf60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#48 0x00007fb8b6a31e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#49 0x00007fb8b6d65c3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542
#50 0x00007fb8b752b495 in QApplication::exec () at kernel/qapplication.cpp:2976
#51 0x0000000000432d4a in main (argc=3, argv=<optimized out>) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/main.cpp:181

Possible duplicates by query: bug 366228, bug 366193, bug 366118, bug 365860, bug 364815.

Reported using DrKonqi
Comment 1 Marco Martin 2016-08-18 15:03:58 UTC
libtaskmanager got rewritten for 5.7 so this issue in particular should be fixed
Comment 2 Marco Martin 2016-08-26 09:16:21 UTC
*** Bug 367823 has been marked as a duplicate of this bug. ***
Comment 3 rnet723 2016-08-26 10:33:11 UTC
Still crashes for me. Plasma 5.7.3
I'm using 'Icons-only taskbar' and 'window list' widgets if that matters.