Bug 360842

Summary: Crash after successful VPN connection via NetworkManager
Product: [Plasma] plasmashell Reporter: Markus <web-kde>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR    
Version: 5.5.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Markus 2016-03-22 10:07:11 UTC
Hi,

I see plasmashell crashing every time I connect to VPN with NetworkManager. There has been a similar issue a couple of years ago:
https://bugs.kde.org/show_bug.cgi?id=324016


Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.4.5-1-ARCH x86_64
Distribution: "Arch Linux"

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa60941d800 (LWP 13283))]

Thread 8 (Thread 0x7fa5f42cd700 (LWP 13342)):
#0  0x00007fa603a6ac3d in poll () from /usr/lib/libc.so.6
#1  0x00007fa607bd0ae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fa607bd2757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fa5f59e80a9 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fa6041549ae in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fa60326d424 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fa603a73cbd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fa5f1a90700 (LWP 13504)):
#0  0x00007fa600a24644 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007fa6009df500 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa6009dfeab in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa6009e008c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fa60438c35b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fa60433337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007fa60414f9f4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007fa606a661b5 in ?? () from /usr/lib/libQt5Qml.so.5
#8  0x00007fa6041549ae in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007fa60326d424 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007fa603a73cbd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fa5e9107700 (LWP 13699)):
#0  0x00007fa603a6ac3d in poll () from /usr/lib/libc.so.6
#1  0x00007fa6009dff7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa6009e008c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa60438c35b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fa60433337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fa60414f9f4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fa606a661b5 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007fa6041549ae in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fa60326d424 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fa603a73cbd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fa5df3c9700 (LWP 13748)):
#0  0x00007fa600a24620 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007fa6009df731 in g_main_context_query () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa6009dfef7 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa6009e008c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007fa60438c35b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fa60433337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007fa60414f9f4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007fa606a661b5 in ?? () from /usr/lib/libQt5Qml.so.5
#8  0x00007fa6041549ae in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007fa60326d424 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007fa603a73cbd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fa5dda93700 (LWP 14157)):
#0  0x00007fa60327303f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa608e89984 in ?? () from /usr/lib/libQt5Script.so.5
#2  0x00007fa608e899c9 in ?? () from /usr/lib/libQt5Script.so.5
#3  0x00007fa60326d424 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa603a73cbd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fa554e7a700 (LWP 15421)):
#0  0x00007fa603a6ac3d in poll () from /usr/lib/libc.so.6
#1  0x00007fa6009dff7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa6009e008c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa60438c35b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fa60433337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fa60414f9f4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fa607415ce6 in ?? () from /usr/lib/libQt5Quick.so.5
#7  0x00007fa6041549ae in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fa60326d424 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fa603a73cbd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fa542c1f700 (LWP 17862)):
#0  0x00007fa603a6ac3d in poll () from /usr/lib/libc.so.6
#1  0x00007fa6009dff7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa6009e008c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa60438c35b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fa60433337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fa60414f9f4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fa5451235b7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#7  0x00007fa6041549ae in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fa60326d424 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fa603a73cbd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fa60941d800 (LWP 13283)):
[KCrash Handler]
#5  0x00007fa604364925 in QMetaObject::activate(QObject*, int, void**) () from /usr/lib/libQt5Core.so.5
#6  0x00007fa6068312f2 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007fa606aa7a0a in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () from /usr/lib/libQt5Qml.so.5
#8  0x00007fa606aac622 in QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib/libQt5Qml.so.5
#9  0x00007fa606acf0af in ?? () from /usr/lib/libQt5Qml.so.5
#10 0x00007fa606acf868 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQt5Qml.so.5
#11 0x00007fa6043642c0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#12 0x00007fa6043e0cf6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib/libQt5Core.so.5
#13 0x00007fa60430532c in ?? () from /usr/lib/libQt5Core.so.5
#14 0x00007fa604306e08 in ?? () from /usr/lib/libQt5Core.so.5
#15 0x00007fa60436410a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#16 0x00007fa6043e0c0c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib/libQt5Core.so.5
#17 0x00007fa557dd3d4d in NetworkModel::updateItem(NetworkModelItem*) () from /usr/lib/libplasmanm_internal.so
#18 0x00007fa557dd9627 in NetworkModel::addActiveConnection(QSharedPointer<NetworkManager::ActiveConnection> const&) () from /usr/lib/libplasmanm_internal.so
#19 0x00007fa557dd9b33 in NetworkModel::activeConnectionAdded(QString const&) () from /usr/lib/libplasmanm_internal.so
#20 0x00007fa604363f97 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#21 0x00007fa557b6ce55 in NetworkManager::Notifier::activeConnectionAdded(QString const&) () from /usr/lib/libKF5NetworkManagerQt.so.6
#22 0x00007fa557ae07c1 in ?? () from /usr/lib/libKF5NetworkManagerQt.so.6
#23 0x00007fa604363f97 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#24 0x00007fa557b77a80 in ?? () from /usr/lib/libKF5NetworkManagerQt.so.6
#25 0x00007fa557b7daa0 in ?? () from /usr/lib/libKF5NetworkManagerQt.so.6
#26 0x00007fa6095648d3 in ?? () from /usr/lib/libQt5DBus.so.5
#27 0x00007fa604364fd1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007fa604e38fcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007fa604e3e4a6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007fa6043359ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#31 0x00007fa604337da6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#32 0x00007fa60438bf33 in ?? () from /usr/lib/libQt5Core.so.5
#33 0x00007fa6009dfd87 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007fa6009dffe0 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x00007fa6009e008c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007fa60438c33f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#37 0x00007fa60433337a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#38 0x00007fa60433b33c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#39 0x0000000000431b4a in main ()


Reproducible: Always

Steps to Reproduce:
1. Connect to VPN either by using the widget in systray or the desktop widget.

Actual Results:  
plasmashell crashes giving me the backtrace as provided. It restarts properly, so you can continue using the system. It's just annoying.

Expected Results:  
not crash :)
Comment 1 Marco Martin 2016-03-22 11:05:52 UTC
debug symbols for qtdeclarative and plasma-nm would produce a better backtrace
Comment 2 Christoph Feck 2016-06-13 14:26:56 UTC

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