Bug 364484

Summary: KDE panel crash on connecting to VPN (pptp)
Product: [Plasma] plasmashell Reporter: kawanokami <mailshader-debug>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
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 kawanokami 2016-06-19 08:58:01 UTC
Application: plasmashell (5.5.5)

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

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

I selected the VPN (pptp) connection from the network selection tool in KDE's system tray. At that point the panel disappeared (crashed, since the crash assistant popped up), while the window with request for password  (I have not stored the passord for the VPN connection) is correctly shown and, upon password input, allows for the activation of a working VPN connection.
While the debug tool and password window are being shown, Kde panel is authomatically restarted and appears then to function properly (but deactivating and reactivating the VPN makes the panel crash again).
I'm on a wi-fi connection and that also is manually selected from the network selection tool, but that selection doesn't crash the panel.

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 0x7f1df93d38c0 (LWP 1458))]

Thread 8 (Thread 0x7f1de46f3700 (LWP 1466)):
#0  0x00007f1df3ae9e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f1df7baec62 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f1de46f2c00) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f1df7baec62 in _xcb_conn_wait (c=c@entry=0x1498160, cond=cond@entry=0x14981a0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f1df7bb08d7 in xcb_wait_for_event (c=0x1498160) at ../../src/xcb_in.c:693
#4  0x00007f1de6841629 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007f1df41df84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f1df32cc6fa in start_thread (arg=0x7f1de46f3700) at pthread_create.c:333
#7  0x00007f1df3af5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f1de1eaa700 (LWP 1486)):
#0  0x00007f1df3b03fda in __GI___clock_gettime (clock_id=<optimized out>, tp=0x7f1de1ea9a50) at ../sysdeps/unix/clock_gettime.c:134
#1  0x00007f1df428fc16 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f1df4414529 in QTimerInfoList::updateCurrentTime() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f1df4414a95 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1df4415e7e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1df087e92d in g_main_context_prepare (context=context@entry=0x7f1dd4000990, priority=priority@entry=0x7f1de1ea9bb0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3442
#6  0x00007f1df087f2cb in g_main_context_iterate (context=context@entry=0x7f1dd4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3820
#7  0x00007f1df087f4ac in g_main_context_iteration (context=0x7f1dd4000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#8  0x00007f1df4416a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f1df43bddea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f1df41da8a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f1df6a823c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007f1df41df84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f1df32cc6fa in start_thread (arg=0x7f1de1eaa700) at pthread_create.c:333
#14 0x00007f1df3af5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f1dd28c0700 (LWP 1503)):
#0  0x00007f1df08c3ae4 in g_mutex_unlock (mutex=0x7f1dcc000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gthread-posix.c:1347
#1  0x00007f1df087f24d in g_main_context_iterate (context=context@entry=0x7f1dcc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3788
#2  0x00007f1df087f4ac in g_main_context_iteration (context=0x7f1dcc000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#3  0x00007f1df4416a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1df43bddea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1df41da8a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f1df6a823c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f1df41df84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f1df32cc6fa in start_thread (arg=0x7f1dd28c0700) at pthread_create.c:333
#9  0x00007f1df3af5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f1dd0a22700 (LWP 1514)):
#0  0x00007f1df3ae9e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f1df087f39c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f1dc4003070, timeout=<optimized out>, context=0x7f1dc4000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:4135
#2  0x00007f1df087f39c in g_main_context_iterate (context=context@entry=0x7f1dc4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3835
#3  0x00007f1df087f4ac in g_main_context_iteration (context=0x7f1dc4000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007f1df4416a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1df43bddea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f1df41da8a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f1df6a823c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f1df41df84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f1df32cc6fa in start_thread (arg=0x7f1dd0a22700) at pthread_create.c:333
#10 0x00007f1df3af5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f1dcafbc700 (LWP 1521)):
#0  0x00007f1df32d23a0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1df8e27bd4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f1df8e27c19 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f1df32cc6fa in start_thread (arg=0x7f1dcafbc700) at pthread_create.c:333
#4  0x00007f1df3af5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f1d43fff700 (LWP 1531)):
#0  0x00007f1df08c3ac9 in g_mutex_lock (mutex=mutex@entry=0x7f1d3c000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gthread-posix.c:1335
#1  0x00007f1df087f498 in g_main_context_iteration (context=0x7f1d3c000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3900
#2  0x00007f1df4416a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f1df43bddea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1df41da8a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1df7408ed6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f1df41df84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f1df32cc6fa in start_thread (arg=0x7f1d43fff700) at pthread_create.c:333
#8  0x00007f1df3af5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f1d36b94700 (LWP 1738)):
#0  0x00007f1df087ee43 in g_main_context_check (context=context@entry=0x7f1d30000990, max_priority=2147483647, fds=fds@entry=0x7f1d300048c0, n_fds=n_fds@entry=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3709
#1  0x00007f1df087f340 in g_main_context_iterate (context=context@entry=0x7f1d30000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3837
#2  0x00007f1df087f4ac in g_main_context_iteration (context=0x7f1d30000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#3  0x00007f1df4416a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f1df43bddea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f1df41da8a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f1d390737d7 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f1df41df84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f1df32cc6fa in start_thread (arg=0x7f1d36b94700) at pthread_create.c:333
#9  0x00007f1df3af5b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f1df93d38c0 (LWP 1458)):
[KCrash Handler]
#6  0x000000000000005e in  ()
#7  0x00007f1df43ef7f7 in QMetaObject::activate(QObject*, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f1df6852132 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f1df6ac3ada in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f1df6ac86f2 in QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007f1df6aeb1af in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007f1df6aeb968 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007f1df43ef180 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f1df446b1e6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f1df438fdea in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f1df4391898 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f1df43eefca in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f1df446b0fc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f1d3598bfbd in NetworkModel::updateItem(NetworkModelItem*) () at /usr/lib/x86_64-linux-gnu/libplasmanm_internal.so
#20 0x00007f1d35991bbf in NetworkModel::addActiveConnection(QSharedPointer<NetworkManager::ActiveConnection> const&) () at /usr/lib/x86_64-linux-gnu/libplasmanm_internal.so
#21 0x00007f1d35992073 in NetworkModel::activeConnectionAdded(QString const&) () at /usr/lib/x86_64-linux-gnu/libplasmanm_internal.so
#22 0x00007f1df43eee4f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f1d35727f85 in NetworkManager::Notifier::activeConnectionAdded(QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#24 0x00007f1d356ae5a0 in  () at /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#25 0x00007f1df43eee4f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f1d35733210 in  () at /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#27 0x00007f1d357399b0 in  () at /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#28 0x00007f1df9519913 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#29 0x00007f1df43efea1 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f1df4ec305c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f1df4ec8516 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f1df43c062b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f1df43c2a26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f1df4416673 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007f1df087f1a7 in g_main_context_dispatch (context=0x7f1ddc0016f0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3154
#36 0x00007f1df087f1a7 in g_main_context_dispatch (context=context@entry=0x7f1ddc0016f0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3769
#37 0x00007f1df087f400 in g_main_context_iterate (context=context@entry=0x7f1ddc0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3840
#38 0x00007f1df087f4ac in g_main_context_iteration (context=0x7f1ddc0016f0, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#39 0x00007f1df4416a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f1df43bddea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f1df43c5e8c in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x0000000000432d4a in main ()

Reported using DrKonqi
Comment 1 David Edmundson 2016-06-20 23:06:52 UTC

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