Bug 354168

Summary: Plasmashell crashed after switch desktop (TaskManager::TasksModelPrivate::itemRemoved)
Product: [Plasma] plasmashell Reporter: Lukáš Karas <lukas.karas>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.2   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lukáš Karas 2015-10-21 11:06:05 UTC
Application: plasmashell (5.4.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.3 x86_64
Distribution: Ubuntu 15.10

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

I switched from second desktop to first one and then plasmashell crashed. It seems that this crash is not reproducible.

The crash does not seem to be reproducible.

-- 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 0x7f1fd8117800 (LWP 4051))]

Thread 9 (Thread 0x7f1fbbfff700 (LWP 4061)):
#0  0x00007f1fd28d08dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1fcf67d1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1fcf67d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1fd31fa29b in QEventDispatcherGlib::processEvents (this=0x7f1fb00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f1fd31a075a in QEventLoop::exec (this=this@entry=0x7f1fbbffeda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1fd2fbe3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f1fd57e6f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f1fd2fc32be in QThreadPrivate::start (arg=0x123b4a0) at thread/qthread_unix.cpp:337
#8  0x00007f1fd20b26aa in start_thread (arg=0x7f1fbbfff700) at pthread_create.c:333
#9  0x00007f1fd28dbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f1fad14d700 (LWP 4067)):
#0  0x00007f1fd28d08dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1fcf67d1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1fcf67d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1fd31fa29b in QEventDispatcherGlib::processEvents (this=0x7f1fa80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f1fd31a075a in QEventLoop::exec (this=this@entry=0x7f1fad14cda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1fd2fbe3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f1fd57e6f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f1fd2fc32be in QThreadPrivate::start (arg=0x15cbd70) at thread/qthread_unix.cpp:337
#8  0x00007f1fd20b26aa in start_thread (arg=0x7f1fad14d700) at pthread_create.c:333
#9  0x00007f1fd28dbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f1fa6f7a700 (LWP 4082)):
#0  0x00007f1fd2fbb4ea in QBasicAtomicOps<8>::testAndSetRelaxed<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0x16ba4d8: 0x1) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86.h:259
#1  QGenericAtomicOps<QBasicAtomicOps<8> >::testAndSetAcquire<QMutexData*, QMutexData*> (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, _q_value=@0x16ba4d8: 0x1) at ../../include/QtCore/../../src/corelib/thread/qgenericatomic.h:166
#2  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, this=0x16ba4d8, this@entry=0x1) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:270
#3  QBasicMutex::fastTryLock (current=<synthetic pointer>, this=0x16ba4d8, this@entry=0x1) at thread/qmutex.h:82
#4  QMutex::lock (this=this@entry=0x16ba4d8) at thread/qmutex.cpp:212
#5  0x00007f1fd31f981f in QMutexLocker::QMutexLocker (m=0x16ba4d8, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:128
#6  QThreadData::canWaitLocked (this=0x16ba4b0) at ../../include/QtCore/5.4.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:243
#7  postEventSourcePrepare (s=0x7f1fa00012d0, timeout=0x7f1fa6f79be4) at kernel/qeventdispatcher_glib.cpp:254
#8  0x00007f1fcf67c77d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f1fcf67d11b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f1fcf67d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f1fd31fa29b in QEventDispatcherGlib::processEvents (this=0x7f1fa00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#12 0x00007f1fd31a075a in QEventLoop::exec (this=this@entry=0x7f1fa6f79da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#13 0x00007f1fd2fbe3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#14 0x00007f1fd57e6f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007f1fd2fc32be in QThreadPrivate::start (arg=0x170d100) at thread/qthread_unix.cpp:337
#16 0x00007f1fd20b26aa in start_thread (arg=0x7f1fa6f7a700) at pthread_create.c:333
#17 0x00007f1fd28dbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f1fa5685700 (LWP 4084)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1fd7b72114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f1fd7b72159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f1fd20b26aa in start_thread (arg=0x7f1fa5685700) at pthread_create.c:333
#4  0x00007f1fd28dbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f1f1e438700 (LWP 4090)):
#0  0x00007f1fd28d08dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1fcf67d1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1fcf67d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1fd31fa29b in QEventDispatcherGlib::processEvents (this=0x7f1f10002c70, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f1fd31a075a in QEventLoop::exec (this=this@entry=0x7f1f1e437d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1fd2fbe3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f1fd6162ef6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f1fd2fc32be in QThreadPrivate::start (arg=0x18c46e0) at thread/qthread_unix.cpp:337
#8  0x00007f1fd20b26aa in start_thread (arg=0x7f1f1e438700) at pthread_create.c:333
#9  0x00007f1fd28dbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f1f1ec39700 (LWP 4092)):
#0  0x00007f1fcf6c1869 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1fcf67d1d2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1fcf67d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1fd31fa29b in QEventDispatcherGlib::processEvents (this=0x7f1f180236c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f1fd31a075a in QEventLoop::exec (this=this@entry=0x7f1f1ec38dc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1fd2fbe3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f1fd2fc32be in QThreadPrivate::start (arg=0x3556110) at thread/qthread_unix.cpp:337
#7  0x00007f1fd20b26aa in start_thread (arg=0x7f1f1ec39700) at pthread_create.c:333
#8  0x00007f1fd28dbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f1f1625f700 (LWP 4093)):
#0  0x00007f1fd28d08dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1fcf67d1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1fcf67d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1fd31fa29b in QEventDispatcherGlib::processEvents (this=0x7f1f0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f1fd31a075a in QEventLoop::exec (this=this@entry=0x7f1f1625eda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1fd2fbe3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f1f1c0f7035 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/XmlListModel/libqmlxmllistmodelplugin.so
#7  0x00007f1fd2fc32be in QThreadPrivate::start (arg=0x35ba1f0) at thread/qthread_unix.cpp:337
#8  0x00007f1fd20b26aa in start_thread (arg=0x7f1f1625f700) at pthread_create.c:333
#9  0x00007f1fd28dbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f1f0443c700 (LWP 4103)):
#0  0x00007f1fd28d08dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1fcf67d1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1fcf67d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1fd31fa29b in QEventDispatcherGlib::processEvents (this=0x7f1efc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f1fd31a075a in QEventLoop::exec (this=this@entry=0x7f1f0443bd80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1fd2fbe3d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f1f066d68f7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f1fd2fc32be in QThreadPrivate::start (arg=0x3ab70a0) at thread/qthread_unix.cpp:337
#8  0x00007f1fd20b26aa in start_thread (arg=0x7f1f0443c700) at pthread_create.c:333
#9  0x00007f1fd28dbeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f1fd8117800 (LWP 4051)):
[KCrash Handler]
#4  0x00007f1fd3151108 in QAbstractItemModelPrivate::Change::Change (c=..., this=0x55b7fe0) at ../../include/QtCore/5.4.2/QtCore/private/../../../../../src/corelib/itemmodels/qabstractitemmodel_p.h:128
#5  QVector<QAbstractItemModelPrivate::Change>::reallocData (this=this@entry=0x33609e0, asize=-1, aalloc=<optimized out>, options=...) at ../../include/QtCore/../../src/corelib/tools/qvector.h:517
#6  0x00007f1fd314c04a in QVector<QAbstractItemModelPrivate::Change>::resize (asize=<optimized out>, this=0x33609e0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:383
#7  QStack<QAbstractItemModelPrivate::Change>::pop (this=0x33609e0) at ../../include/QtCore/../../src/corelib/tools/qstack.h:58
#8  QAbstractItemModel::endRemoveRows (this=0x3360140) at itemmodels/qabstractitemmodel.cpp:2675
#9  0x00007f1f17dda1ec in TaskManager::TasksModelPrivate::itemRemoved (item=<optimized out>, this=<optimized out>) at ../../libtaskmanager/tasksmodel.cpp:484
#10 TaskManager::TasksModel::qt_static_metacall (_o=_o@entry=0x3360140, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7ffe41647a50) at ./moc_tasksmodel.cpp:210
#11 0x00007f1fd31d378a in QMetaObject::activate (sender=0x3365170, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe41647a50) at kernel/qobject.cpp:3717
#12 0x00007f1fd31d3f87 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f1f17ffc980 <TaskManager::TaskGroup::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe41647a50) at kernel/qobject.cpp:3582
#13 0x00007f1f17dcafd2 in TaskManager::TaskGroup::itemRemoved (this=<optimized out>, _t1=0x5237a50) at ./moc_taskgroup.cpp:418
#14 0x00007f1f17dcbd10 in TaskManager::TaskGroup::Private::signalRemovals (this=0x337b050) at ../../libtaskmanager/taskgroup.cpp:271
#15 0x00007f1f17dcd509 in TaskManager::TaskGroup::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_taskgroup.cpp:213
#16 0x00007f1fd31d4651 in QObject::event (this=0x3365170, e=<optimized out>) at kernel/qobject.cpp:1245
#17 0x00007f1fd3c80b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1137810, receiver=receiver@entry=0x3365170, e=e@entry=0x46f4880) at kernel/qapplication.cpp:3720
#18 0x00007f1fd3c86230 in QApplication::notify (this=0x7ffe416481a0, receiver=0x3365170, e=0x46f4880) at kernel/qapplication.cpp:3503
#19 0x00007f1fd31a2f1b in QCoreApplication::notifyInternal (this=0x7ffe416481a0, receiver=0x3365170, event=event@entry=0x46f4880) at kernel/qcoreapplication.cpp:935
#20 0x00007f1fd31a5057 in QCoreApplication::sendEvent (event=0x46f4880, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x112cd70) at kernel/qcoreapplication.cpp:1552
#22 0x00007f1fd31a5588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#23 0x00007f1fd31f9e73 in postEventSourceDispatch (s=0x116de00) at kernel/qeventdispatcher_glib.cpp:271
#24 0x00007f1fcf67cff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f1fcf67d250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f1fcf67d2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f1fd31fa27f in QEventDispatcherGlib::processEvents (this=0x116d710, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#28 0x00007f1fd31a075a in QEventLoop::exec (this=this@entry=0x7ffe41648020, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#29 0x00007f1fd31a82cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#30 0x00007f1fd34bd00c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#31 0x00007f1fd3c7d025 in QApplication::exec () at kernel/qapplication.cpp:2956
#32 0x00000000004322c3 in main (argc=3, argv=<optimized out>) at ../../shell/main.cpp:176

Reported using DrKonqi
Comment 1 David Edmundson 2015-10-21 14:35:04 UTC

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