Bug 362054

Summary: Plasmashell crashes when starting VPN via KNetworkManager
Product: [Plasma] plasmashell Reporter: Florian Westphal <florian.westphal>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs, poofeg
Priority: NOR Keywords: drkonqi
Version: 5.5.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Florian Westphal 2016-04-21 21:44:43 UTC
Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-21-generic x86_64
Distribution: Ubuntu 16.04 LTS

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

Almost every time I start a previously saved VPN-Connection via the KNetworkManager applet in the systray my plasmashell crashes. This is quite annoying. Sometimes the crash does not occur but I'd say at least 80% of all the times plasmashell crashes.

The crash can be reproduced every time.

-- 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 0x7fa8994c18c0 (LWP 3213))]

Thread 8 (Thread 0x7fa88465f700 (LWP 3222)):
#0  0x00007fa893bcfe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa897c94c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa897c968d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa8867ad629 in QXcbEventReader::run (this=0x1913850) at qxcbconnection.cpp:1253
#4  0x00007fa8942c584e in QThreadPrivate::start (arg=0x1913850) at thread/qthread_unix.cpp:331
#5  0x00007fa8933b26fa in start_thread (arg=0x7fa88465f700) at pthread_create.c:333
#6  0x00007fa893bdbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fa881df8700 (LWP 3281)):
#0  0x00007fa8909a9a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa8909648a0 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa89096524b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa89096542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa8944fca9b in QEventDispatcherGlib::processEvents (this=0x7fa8740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fa8944a3dea in QEventLoop::exec (this=this@entry=0x7fa881df7ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fa8942c08a4 in QThread::exec (this=this@entry=0x19e5ee0) at thread/qthread.cpp:503
#7  0x00007fa896b683c5 in QQmlThreadPrivate::run (this=0x19e5ee0) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fa8942c584e in QThreadPrivate::start (arg=0x19e5ee0) at thread/qthread_unix.cpp:331
#9  0x00007fa8933b26fa in start_thread (arg=0x7fa881df8700) at pthread_create.c:333
#10 0x00007fa893bdbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fa8726b2700 (LWP 3291)):
#0  0x00007fa8909a9a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa8909651cd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa89096542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa8944fca9b in QEventDispatcherGlib::processEvents (this=0x7fa86c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fa8944a3dea in QEventLoop::exec (this=this@entry=0x7fa8726b1ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fa8942c08a4 in QThread::exec (this=this@entry=0x1d43780) at thread/qthread.cpp:503
#6  0x00007fa896b683c5 in QQmlThreadPrivate::run (this=0x1d43780) at qml/ftw/qqmlthread.cpp:141
#7  0x00007fa8942c584e in QThreadPrivate::start (arg=0x1d43780) at thread/qthread_unix.cpp:331
#8  0x00007fa8933b26fa in start_thread (arg=0x7fa8726b2700) at pthread_create.c:333
#9  0x00007fa893bdbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fa8708f3700 (LWP 3292)):
#0  0x00007fa8909a9a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa890964b89 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa890965297 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa89096542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa8944fca9b in QEventDispatcherGlib::processEvents (this=0x7fa8640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fa8944a3dea in QEventLoop::exec (this=this@entry=0x7fa8708f2ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fa8942c08a4 in QThread::exec (this=this@entry=0x1e0bbc0) at thread/qthread.cpp:503
#7  0x00007fa896b683c5 in QQmlThreadPrivate::run (this=0x1e0bbc0) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fa8942c584e in QThreadPrivate::start (arg=0x1e0bbc0) at thread/qthread_unix.cpp:331
#9  0x00007fa8933b26fa in start_thread (arg=0x7fa8708f3700) at pthread_create.c:333
#10 0x00007fa893bdbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fa86af94700 (LWP 3293)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa898f0dbd4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fa898f0dc19 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fa8933b26fa in start_thread (arg=0x7fa86af94700) at pthread_create.c:333
#4  0x00007fa893bdbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fa7e3fff700 (LWP 3294)):
#0  0x00007fa8909a9a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa890965311 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa89096542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa8944fca9b in QEventDispatcherGlib::processEvents (this=0x7fa7dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fa8944a3dea in QEventLoop::exec (this=this@entry=0x7fa7e3ffec90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fa8942c08a4 in QThread::exec (this=this@entry=0x20a7880) at thread/qthread.cpp:503
#6  0x00007fa8974eeed6 in QQuickPixmapReader::run (this=0x20a7880) at util/qquickpixmapcache.cpp:817
#7  0x00007fa8942c584e in QThreadPrivate::start (arg=0x20a7880) at thread/qthread_unix.cpp:331
#8  0x00007fa8933b26fa in start_thread (arg=0x7fa7e3fff700) at pthread_create.c:333
#9  0x00007fa893bdbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fa7d63d3700 (LWP 3304)):
#0  0x00007fa8909a9a64 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa8909651cd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa89096542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa8944fca9b in QEventDispatcherGlib::processEvents (this=0x7fa7d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fa8944a3dea in QEventLoop::exec (this=this@entry=0x7fa7d63d2cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fa8942c08a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fa7d88b37d7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007fa8942c584e in QThreadPrivate::start (arg=0x438b070) at thread/qthread_unix.cpp:331
#8  0x00007fa8933b26fa in start_thread (arg=0x7fa7d63d3700) at pthread_create.c:333
#9  0x00007fa893bdbb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fa8994c18c0 (LWP 3213)):
[KCrash Handler]
#6  QMetaObject::methodOffset (this=this@entry=0x0) at kernel/qmetaobject.cpp:382
#7  0x00007fa8944d580b in QMetaObject::activate (sender=sender@entry=0x5796860, signal_index=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3760
#8  0x00007fa896938132 in VDMModelDelegateDataType::notify (this=<optimized out>, items=..., index=0, count=14, roles=...) at util/qqmladaptormodel.cpp:171
#9  0x00007fa896ba9ada in QQmlAdaptorModel::notify (roles=..., count=14, index=0, items=..., this=0x53782b8) at ../../include/QtQml/5.5.1/QtQml/private/../../../../../src/qml/util/qqmladaptormodel_p.h:118
#10 QQmlDelegateModel::_q_itemsChanged (this=this@entry=0x5377bf0, index=index@entry=0, count=14, roles=...) at types/qqmldelegatemodel.cpp:1144
#11 0x00007fa896bae6f2 in QQmlDelegateModel::_q_layoutChanged (this=0x5377bf0, parents=..., hint=<optimized out>) at types/qqmldelegatemodel.cpp:1608
#12 0x00007fa896bd11af in QQmlDelegateModel::qt_static_metacall (_o=_o@entry=0x5377bf0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=14, _a=_a@entry=0x7ffc77288280) at .moc/moc_qqmldelegatemodel_p.cpp:205
#13 0x00007fa896bd1968 in QQmlDelegateModel::qt_metacall (this=0x5377bf0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7ffc77288280) at .moc/moc_qqmldelegatemodel_p.cpp:344
#14 0x00007fa8944d5180 in QMetaObject::activate (sender=sender@entry=0x4537af0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc77288280) at kernel/qobject.cpp:3728
#15 0x00007fa8944d57d7 in QMetaObject::activate (sender=sender@entry=0x4537af0, m=m@entry=0x7fa8946eeec0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc77288280) at kernel/qobject.cpp:3578
#16 0x00007fa8945511e6 in QAbstractItemModel::layoutChanged (this=this@entry=0x4537af0, _t1=..., _t2=_t2@entry=QAbstractItemModel::VerticalSortHint) at .moc/moc_qabstractitemmodel.cpp:562
#17 0x00007fa894475dea in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=<optimized out>, source_top_left=..., source_bottom_right=..., roles=...) at itemmodels/qsortfilterproxymodel.cpp:1207
#18 0x00007fa894477898 in QSortFilterProxyModel::qt_static_metacall (_o=_o@entry=0x4537af0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=5, _a=_a@entry=0x7ffc77288580) at .moc/moc_qsortfilterproxymodel.cpp:202
#19 0x00007fa8944d4fca in QMetaObject::activate (sender=sender@entry=0x3ab9d20, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc77288580) at kernel/qobject.cpp:3713
#20 0x00007fa8944d57d7 in QMetaObject::activate (sender=sender@entry=0x3ab9d20, m=m@entry=0x7fa8946eeec0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc77288580) at kernel/qobject.cpp:3578
#21 0x00007fa8945510fc in QAbstractItemModel::dataChanged (this=this@entry=0x3ab9d20, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:548
#22 0x00007fa7cb463fbd in NetworkModel::updateItem (this=this@entry=0x3ab9d20, item=item@entry=0x5335d50) at /build/plasma-nm-0GjglL/plasma-nm-5.5.5/libs/models/networkmodel.cpp:566
#23 0x00007fa7cb469bbf in NetworkModel::addActiveConnection (this=this@entry=0x3ab9d20, activeConnection=...) at /build/plasma-nm-0GjglL/plasma-nm-5.5.5/libs/models/networkmodel.cpp:294
#24 0x00007fa7cb46a073 in NetworkModel::activeConnectionAdded (this=0x3ab9d20, activeConnection=...) at /build/plasma-nm-0GjglL/plasma-nm-5.5.5/libs/models/networkmodel.cpp:589
#25 0x00007fa8944d4e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc77288880, r=0x3ab9d20, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#26 QMetaObject::activate (sender=sender@entry=0x7fa7cb44c9a0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffc77288880) at kernel/qobject.cpp:3698
#27 0x00007fa8944d57d7 in QMetaObject::activate (sender=sender@entry=0x7fa7cb44c9a0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>, m=m@entry=0x7fa7cb44a820 <NetworkManager::Notifier::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffc77288880) at kernel/qobject.cpp:3578
#28 0x00007fa7cb200755 in NetworkManager::Notifier::activeConnectionAdded (this=this@entry=0x7fa7cb44c9a0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>, _t1=...) at moc_manager.cpp:408
#29 0x00007fa7cb186e70 in NetworkManager::NetworkManagerPrivate::propertiesChanged (this=0x7fa7cb44c9a0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>, changedProperties=...) at ../../src/manager.cpp:706
#30 0x00007fa8944d4e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc77288b90, r=0x7fa7cb44c9a0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#31 QMetaObject::activate (sender=sender@entry=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc77288b90) at kernel/qobject.cpp:3698
#32 0x00007fa8944d57d7 in QMetaObject::activate (sender=sender@entry=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, m=m@entry=0x7fa7cb44aca0 <OrgFreedesktopNetworkManagerInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc77288b90) at kernel/qobject.cpp:3578
#33 0x00007fa7cb20b900 in OrgFreedesktopNetworkManagerInterface::PropertiesChanged (_t1=..., this=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>) at moc_nm-managerinterface.cpp:440
#34 OrgFreedesktopNetworkManagerInterface::qt_static_metacall (_o=_o@entry=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7ffc77288d30) at moc_nm-managerinterface.cpp:206
#35 0x00007fa7cb2120a0 in OrgFreedesktopNetworkManagerInterface::qt_metacall (this=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffc77288d30) at moc_nm-managerinterface.cpp:389
#36 0x00007fa899607913 in QDBusConnectionPrivate::deliverCall (this=0x7fa8640bf7d0, object=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:978
#37 0x00007fa8944d5ea1 in QObject::event (this=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, e=<optimized out>) at kernel/qobject.cpp:1239
#38 0x00007fa894fa905c in QApplicationPrivate::notify_helper (this=this@entry=0x18fc6a0, receiver=receiver@entry=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, e=e@entry=0x5e54700) at kernel/qapplication.cpp:3716
#39 0x00007fa894fae516 in QApplication::notify (this=0x7ffc77289450, receiver=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, e=0x5e54700) at kernel/qapplication.cpp:3499
#40 0x00007fa8944a662b in QCoreApplication::notifyInternal (this=0x7ffc77289450, receiver=0x7fa7cb44c9c0 <(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, event=event@entry=0x5e54700) at kernel/qcoreapplication.cpp:965
#41 0x00007fa8944a8a26 in QCoreApplication::sendEvent (event=0x5e54700, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x18f2600) at kernel/qcoreapplication.cpp:1593
#43 0x00007fa8944a8f08 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#44 0x00007fa8944fc673 in postEventSourceDispatch (s=0x1932740) at kernel/qeventdispatcher_glib.cpp:271
#45 0x00007fa890965127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fa890965380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fa89096542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fa8944fca7f in QEventDispatcherGlib::processEvents (this=0x1931b90, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#49 0x00007fa8944a3dea in QEventLoop::exec (this=this@entry=0x7ffc772892f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#50 0x00007fa8944abe8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#51 0x00007fa8947dfc3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542
#52 0x00007fa894fa5495 in QApplication::exec () at kernel/qapplication.cpp:2976
#53 0x0000000000432d4a in main (argc=4, argv=<optimized out>) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/main.cpp:181

Possible duplicates by query: bug 361749, bug 361649, bug 360915, bug 359419, bug 357622.

Reported using DrKonqi
Comment 1 David Edmundson 2016-04-29 13:49:17 UTC

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