Bug 378635

Summary: Plasma crashes when switching desktops if using konversation
Product: [Plasma] plasmashell Reporter: Joshua Clayton <stillcompiling>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, edwardb_kde, nickeforos, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.7.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joshua Clayton 2017-04-10 21:19:31 UTC
Application: plasmashell (5.7.5)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.8.0-46-generic x86_64
Distribution: Ubuntu 16.10

-- Information about the crash:
- What I was doing when the application crashed:
chatting in konversation with desktop notifications.
switched desktops using the mouse scroller.
plasma restarted

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 0x7f07571e08c0 (LWP 1990))]

Thread 7 (Thread 0x7f068c7c2700 (LWP 2523)):
#0  0x00007f0751a790bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f074e7b89d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f074e7b8aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07523a74ab in QEventDispatcherGlib::processEvents (this=0x7f06840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f075234f0fa in QEventLoop::exec (this=this@entry=0x7f068c7c1cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f0752174d43 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f068ecd15c7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f0752179c68 in QThreadPrivate::start (arg=0x5654a8529570) at thread/qthread_unix.cpp:341
#8  0x00007f07512596ca in start_thread (arg=0x7f068c7c2700) at pthread_create.c:333
#9  0x00007f0751a850af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7f069f1dd700 (LWP 2407)):
#0  0x00007ffdc0172b02 in clock_gettime ()
#1  0x00007f0751a93846 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7f069f1dc9f0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f0752225726 in qt_clock_gettime (ts=0x7f069f1dc9f0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f07523a5039 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f0698002ed0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f07523a55e5 in QTimerInfoList::timerWait (this=0x7f0698002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f07523a699e in timerSourcePrepareHelper (timeout=0x7f069f1dcac4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f069f1dcac4) at kernel/qeventdispatcher_glib.cpp:159
#9  0x00007f074e7b7ed9 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f074e7b88fb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f074e7b8aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f07523a74ab in QEventDispatcherGlib::processEvents (this=0x7f06980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007f075234f0fa in QEventLoop::exec (this=this@entry=0x7f069f1dcc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f0752174d43 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#15 0x00007f07553ff706 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f0752179c68 in QThreadPrivate::start (arg=0x5654a7485c90) at thread/qthread_unix.cpp:341
#17 0x00007f07512596ca in start_thread (arg=0x7f069f1dd700) at pthread_create.c:333
#18 0x00007f0751a850af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7f072f581700 (LWP 2341)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0756c3f574 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f0756c3f5b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f07512596ca in start_thread (arg=0x7f072f581700) at pthread_create.c:333
#4  0x00007f0751a850af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7f073521b700 (LWP 2340)):
#0  0x00007f0751a790bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f074e7b89d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f074e7b8aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07523a74ab in QEventDispatcherGlib::processEvents (this=0x7f07280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f075234f0fa in QEventLoop::exec (this=this@entry=0x7f073521ace0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f0752174d43 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#6  0x00007f0754a77c65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f0752179c68 in QThreadPrivate::start (arg=0x5654a7029ba0) at thread/qthread_unix.cpp:341
#8  0x00007f07512596ca in start_thread (arg=0x7f073521b700) at pthread_create.c:333
#9  0x00007f0751a850af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7f0736fc4700 (LWP 2006)):
#0  0x00007ffdc0172b02 in clock_gettime ()
#1  0x00007f0751a93846 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7f0736fc3a40) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f0752225726 in qt_clock_gettime (ts=0x7f0736fc3a40, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f07523a5039 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f0730002cd0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f07523a55e5 in QTimerInfoList::timerWait (this=0x7f0730002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f07523a699e in timerSourcePrepareHelper (timeout=0x7f0736fc3b14, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f0736fc3b14) at kernel/qeventdispatcher_glib.cpp:159
#9  0x00007f074e7b7ed9 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f074e7b88fb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f074e7b8aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f07523a74ab in QEventDispatcherGlib::processEvents (this=0x7f07300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007f075234f0fa in QEventLoop::exec (this=this@entry=0x7f0736fc3ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f0752174d43 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#15 0x00007f0754a77c65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007f0752179c68 in QThreadPrivate::start (arg=0x5654a6f4bf40) at thread/qthread_unix.cpp:341
#17 0x00007f07512596ca in start_thread (arg=0x7f0736fc4700) at pthread_create.c:333
#18 0x00007f0751a850af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7f0744a8d700 (LWP 1996)):
#0  0x00007f0751a790bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f074e7b89d6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f074e7b8aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07523a74ab in QEventDispatcherGlib::processEvents (this=0x7f07400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f075234f0fa in QEventLoop::exec (this=this@entry=0x7f0744a8ccd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f0752174d43 in QThread::exec (this=this@entry=0x7f0757392d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#6  0x00007f075731e575 in QDBusConnectionManager::run (this=0x7f0757392d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:171
#7  0x00007f0752179c68 in QThreadPrivate::start (arg=0x7f0757392d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#8  0x00007f07512596ca in start_thread (arg=0x7f0744a8d700) at pthread_create.c:333
#9  0x00007f0751a850af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f07571e08c0 (LWP 1990)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x5654a7bc55b0, source_parent=..., parent_mapping=parent_mapping@entry=0x5654a93deda0, start=start@entry=0, end=end@entry=0, delta_item_count=delta_item_count@entry=1, remove=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:969
#7  0x00007f07523174b1 in QSortFilterProxyModelPrivate::source_items_removed (orient=Qt::Vertical, end=<optimized out>, start=0, source_parent=..., this=0x5654a7bc55b0) at itemmodels/qsortfilterproxymodel.cpp:911
#8  QSortFilterProxyModelPrivate::_q_sourceRowsRemoved (this=0x5654a7bc55b0, source_parent=..., start=0, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1416
#9  0x00007f075231f8a9 in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:211
#10 0x00007f075237eb49 in QMetaObject::activate (sender=sender@entry=0x5654a7bf0d40, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffdc0073690) at kernel/qobject.cpp:3730
#11 0x00007f075237f0f7 in QMetaObject::activate (sender=sender@entry=0x5654a7bf0d40, m=m@entry=0x7f075259ce00 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7ffdc0073690) at kernel/qobject.cpp:3595
#12 0x00007f07523f8654 in QAbstractItemModel::rowsRemoved (this=this@entry=0x5654a7bf0d40, _t1=..., _t2=<optimized out>, _t3=<optimized out>) at .moc/moc_qabstractitemmodel.cpp:615
#13 0x00007f07522f7e8b in QAbstractItemModel::endRemoveRows (this=0x5654a7bf0d40) at itemmodels/qabstractitemmodel.cpp:2678
#14 0x00007f069674f148 in ?? () from /usr/lib/x86_64-linux-gnu/libtaskmanager.so.6
#15 0x00007f0696752119 in ?? () from /usr/lib/x86_64-linux-gnu/libtaskmanager.so.6
#16 0x00007f075237eb49 in QMetaObject::activate (sender=sender@entry=0x5654a7bee540, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffdc0073980) at kernel/qobject.cpp:3730
#17 0x00007f075237f0f7 in QMetaObject::activate (sender=sender@entry=0x5654a7bee540, m=m@entry=0x7f075259ce00 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffdc0073980) at kernel/qobject.cpp:3595
#18 0x00007f07523f85e4 in QAbstractItemModel::rowsAboutToBeRemoved (this=this@entry=0x5654a7bee540, _t1=..., _t2=<optimized out>, _t2@entry=0, _t3=<optimized out>, _t3@entry=16) at .moc/moc_qabstractitemmodel.cpp:608
#19 0x00007f07522f7733 in QAbstractItemModel::beginRemoveRows (this=0x5654a7bee540, parent=..., first=0, last=16) at itemmodels/qabstractitemmodel.cpp:2661
#20 0x00007f075231d005 in QSortFilterProxyModelPrivate::remove_proxy_interval (emit_signal=true, orient=Qt::Vertical, proxy_parent=..., proxy_end=16, proxy_start=0, proxy_to_source=..., source_to_proxy=..., this=0x5654a7beef70) at itemmodels/qsortfilterproxymodel.cpp:577
#21 QSortFilterProxyModelPrivate::remove_source_items (this=this@entry=0x5654a7beef70, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=true) at itemmodels/qsortfilterproxymodel.cpp:559
#22 0x00007f075231e494 in QSortFilterProxyModelPrivate::handle_filter_changed (orient=Qt::Vertical, source_parent=..., proxy_to_source=..., source_to_proxy=..., this=0x5654a7beef70) at itemmodels/qsortfilterproxymodel.cpp:1143
#23 QSortFilterProxyModelPrivate::filter_changed (this=0x5654a7beef70, source_parent=...) at itemmodels/qsortfilterproxymodel.cpp:1075
#24 0x00007f075231ee21 in QSortFilterProxyModel::invalidateFilter (this=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:2604
#25 0x00007f069674aec5 in TaskManager::TaskFilterProxyModel::setVirtualDesktop(unsigned int) () from /usr/lib/x86_64-linux-gnu/libtaskmanager.so.6
#26 0x00007f0696771ae9 in ?? () from /usr/lib/x86_64-linux-gnu/libtaskmanager.so.6
#27 0x00007f069677295b in TaskManager::TasksModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/libtaskmanager.so.6
#28 0x00007f07549dfaf0 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#29 0x00007f0754a629d5 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#30 0x00007f0754a63b67 in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#31 0x00007f0754a6403e in QQmlBinding::refresh() () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#32 0x00007f0754a39bd4 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#33 0x00007f07549e44a4 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#34 0x00007f075237e2b0 in QMetaObject::activate (sender=0x5654a7bfd6b0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3616
#35 0x00007f075237ebec in QtPrivate::QSlotObjectBase::call (a=0x7ffdc0075b20, r=0x5654a7bfd6b0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#36 QMetaObject::activate (sender=0x7f07547a7c20, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3715
#37 0x00007f07545983de in KWindowSystem::currentDesktopChanged(int) () from /usr/lib/x86_64-linux-gnu/libKF5WindowSystem.so.5
#38 0x00007f07373e35ff in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#39 0x00007f075234e23f in QAbstractEventDispatcher::filterNativeEvent (this=<optimized out>, eventType=..., message=message@entry=0x7f073802a570, result=result@entry=0x7ffdc0075c58) at kernel/qabstracteventdispatcher.cpp:460
#40 0x00007f074419fc75 in QXcbConnection::handleXcbEvent (this=this@entry=0x5654a6e38040, event=event@entry=0x7f073802a570) at qxcbconnection.cpp:1091
#41 0x00007f07441a0c0b in QXcbConnection::processXcbEvents (this=0x5654a6e38040) at qxcbconnection.cpp:1723
#42 0x00007f075237f699 in QObject::event (this=0x5654a6e38040, e=<optimized out>) at kernel/qobject.cpp:1256
#43 0x00007f0752c8c8ac in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5654a6e38040, e=0x7f073802a8d0) at kernel/qapplication.cpp:3804
#44 0x00007f0752c91d4f in QApplication::notify (this=0x7ffdc00763f0, receiver=0x5654a6e38040, e=0x7f073802a8d0) at kernel/qapplication.cpp:3561
#45 0x00007f07523513b0 in QCoreApplication::notifyInternal2 (receiver=0x5654a6e38040, event=event@entry=0x7f073802a8d0) at kernel/qcoreapplication.cpp:1015
#46 0x00007f075235333c in QCoreApplication::sendEvent (event=0x7f073802a8d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5654a6e365a0) at kernel/qcoreapplication.cpp:1650
#48 0x00007f07523537f8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#49 0x00007f07523a7083 in postEventSourceDispatch (s=0x5654a6e9f610) at kernel/qeventdispatcher_glib.cpp:270
#50 0x00007f074e7b87d7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f074e7b8a40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f074e7b8aec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f07523a748f in QEventDispatcherGlib::processEvents (this=0x5654a6e9a470, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#54 0x00007f075234f0fa in QEventLoop::exec (this=this@entry=0x7ffdc0076280, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#55 0x00007f075235790c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#56 0x00005654a6515f1f in ?? ()
#57 0x00007f075199d3f1 in __libc_start_main (main=0x5654a65153b0, argc=2, argv=0x7ffdc0076598, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdc0076588) at ../csu/libc-start.c:291
#58 0x00005654a651629a in _start ()

Possible duplicates by query: bug 378516, bug 378380, bug 378052, bug 375589, bug 373265.

Reported using DrKonqi
Comment 1 Marco Martin 2017-04-11 14:07:28 UTC

*** This bug has been marked as a duplicate of bug 342763 ***
Comment 2 Christoph Feck 2017-05-07 11:33:11 UTC
*** Bug 379340 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2017-05-07 11:34:59 UTC
*** Bug 379357 has been marked as a duplicate of this bug. ***