https://bugs.kde.org/show_bug.cgi?id=361238

            Bug ID: 361238
           Summary: plasma crash when applying a vpn profile from network
                    manager
           Product: plasmashell
           Version: 5.5.5
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: lld.pa...@gmail.com
                CC: bhus...@gmail.com, plasma-b...@kde.org

Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
I apply OK without incidents a network profile using the Network Manager in the
task bar. Then, I try to apply a VPN profile. I don't try to modify anything,
and I don't have any "strange" config at vpn profile: IPs, usernames,
passwords. It wasn't happening before, then one day with LEAP it just started
happening every time without exceptions, using any of the vpn tunnels I have.

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7ff33171e700 (LWP 12687)):
#0  0x00007ff3411bbbbd in poll () from /lib64/libc.so.6
#1  0x00007ff346104422 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007ff34610600f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ff33386f3c9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007ff3418b432f in QThreadPrivate::start (arg=0xaa5590) at
thread/qthread_unix.cpp:331
#5  0x00007ff3409c50a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff3411c3fed in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7ff32a93b700 (LWP 12749)):
#0  0x00007ff3418acbfa in testAndSetRelaxed<QMutexData*>
(currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0,
_q_value=@0xb90438: 0x1) at ../../src/corelib/arch/qatomic_x86.h:259
#1  testAndSetAcquire<QMutexData*, QMutexData*> (currentValue=<synthetic
pointer>, newValue=0x1, expectedValue=0x0, _q_value=@0xb90438: 0x1) at
../../src/corelib/thread/qgenericatomic.h:166
#2  testAndSetAcquire (currentValue=<synthetic pointer>, newValue=0x1,
expectedValue=0x0, this=0xb90438, this@entry=0x0) at
../../src/corelib/thread/qbasicatomic.h:278
#3  fastTryLock (current=<synthetic pointer>, this=0xb90438, this@entry=0x0) at
thread/qmutex.h:82
#4  QMutex::lock (this=this@entry=0xb90438) at thread/qmutex.cpp:212
#5  0x00007ff341ae6cb5 in QMutexLocker (m=0xb90438, this=<synthetic pointer>)
at ../../src/corelib/thread/qmutex.h:128
#6  canWaitLocked (this=0xb90410) at ../../src/corelib/thread/qthread_p.h:240
#7  postEventSourcePrepare (s=0x7ff3240012d0, timeout=0x7ff32a93ac34) at
kernel/qeventdispatcher_glib.cpp:254
#8  0x00007ff33d89c4ad in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#9  0x00007ff33d89cd80 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007ff33d89cf7c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#11 0x00007ff341ae6d8b in QEventDispatcherGlib::processEvents
(this=0x7ff3240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#12 0x00007ff341a8dd53 in QEventLoop::exec (this=this@entry=0x7ff32a93adf0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#13 0x00007ff3418af61a in QThread::exec (this=this@entry=0xb90260) at
thread/qthread.cpp:503
#14 0x00007ff344bc1df8 in QQmlThreadPrivate::run (this=0xb90260) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#15 0x00007ff3418b432f in QThreadPrivate::start (arg=0xb90260) at
thread/qthread_unix.cpp:331
#16 0x00007ff3409c50a4 in start_thread () from /lib64/libpthread.so.0
#17 0x00007ff3411c3fed in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7ff31d709700 (LWP 12896)):
#0  0x00007ff3411bbbbd in poll () from /lib64/libc.so.6
#1  0x00007ff33d89ce64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff33d89cf7c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ff341ae6d8b in QEventDispatcherGlib::processEvents
(this=0x7ff3180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff341a8dd53 in QEventLoop::exec (this=this@entry=0x7ff31d708df0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff3418af61a in QThread::exec (this=this@entry=0xdf4cb0) at
thread/qthread.cpp:503
#6  0x00007ff344bc1df8 in QQmlThreadPrivate::run (this=0xdf4cb0) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007ff3418b432f in QThreadPrivate::start (arg=0xdf4cb0) at
thread/qthread_unix.cpp:331
#8  0x00007ff3409c50a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff3411c3fed in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7ff317dc7700 (LWP 12897)):
#0  0x00007ff3411bbbbd in poll () from /lib64/libc.so.6
#1  0x00007ff33d89ce64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff33d89cf7c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ff341ae6d8b in QEventDispatcherGlib::processEvents
(this=0x7ff3100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff341a8dd53 in QEventLoop::exec (this=this@entry=0x7ff317dc6df0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff3418af61a in QThread::exec (this=this@entry=0xffda90) at
thread/qthread.cpp:503
#6  0x00007ff344bc1df8 in QQmlThreadPrivate::run (this=0xffda90) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007ff3418b432f in QThreadPrivate::start (arg=0xffda90) at
thread/qthread_unix.cpp:331
#8  0x00007ff3409c50a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff3411c3fed in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7ff3164ea700 (LWP 12907)):
#0  0x00007ff3409c903f in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007ff34738986b in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007ff347389899 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007ff3409c50a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff3411c3fed in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7ff28f71e700 (LWP 12910)):
#0  0x00007ff33d8ded14 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff33d89ca5a in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007ff33d89ced8 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff33d89cf7c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007ff341ae6d8b in QEventDispatcherGlib::processEvents
(this=0x7ff28800cf40, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007ff341a8dd53 in QEventLoop::exec (this=this@entry=0x7ff28f71ddb0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff3418af61a in QThread::exec (this=this@entry=0x1272b50) at
thread/qthread.cpp:503
#7  0x00007ff34575b282 in QQuickPixmapReader::run (this=0x1272b50) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/util/qquickpixmapcache.cpp:760
#8  0x00007ff3418b432f in QThreadPrivate::start (arg=0x1272b50) at
thread/qthread_unix.cpp:331
#9  0x00007ff3409c50a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff3411c3fed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff28d71d700 (LWP 12914)):
#0  0x00007ff3411bbbbd in poll () from /lib64/libc.so.6
#1  0x00007ff33d89ce64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff33d89cf7c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ff341ae6d8b in QEventDispatcherGlib::processEvents
(this=0x7ff280002d90, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff341a8dd53 in QEventLoop::exec (this=this@entry=0x7ff28d71cdd0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff3418af61a in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:503
#6  0x00007ff27a7afcf7 in KCupsConnection::run() () from
/usr/lib64/libkcupslib.so
#7  0x00007ff3418b432f in QThreadPrivate::start (arg=0x3bf3930) at
thread/qthread_unix.cpp:331
#8  0x00007ff3409c50a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff3411c3fed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff347cb47c0 (LWP 12661)):
[KCrash Handler]
#6  QMetaObject::methodOffset (this=this@entry=0x7ff341b48b90
<QListData::shared_null>) at kernel/qmetaobject.cpp:384
#7  0x00007ff341ac031b in QMetaObject::activate (sender=sender@entry=0x4d94b70,
signal_index=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3760
#8  0x00007ff344993372 in VDMModelDelegateDataType::notify (this=<optimized
out>, items=..., index=0, count=<optimized out>, roles=...) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/util/qqmladaptormodel.cpp:171
#9  0x00007ff344c01009 in notify (roles=..., count=23, index=0, items=...,
this=0x46db938) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/util/qqmladaptormodel_p.h:118
#10 QQmlDelegateModel::_q_itemsChanged (this=this@entry=0x46db270,
index=index@entry=0, count=23, roles=...) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/types/qqmldelegatemodel.cpp:1144
#11 0x00007ff344c06a41 in QQmlDelegateModel::_q_layoutChanged (this=0x46db270,
parents=..., hint=<optimized out>) at
/usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/types/qqmldelegatemodel.cpp:1608
#12 0x00007ff344c28abf in QQmlDelegateModel::qt_static_metacall
(_o=_o@entry=0x46db270, _c=_c@entry=QMetaObject::InvokeMetaMethod,
_id=_id@entry=14, _a=_a@entry=0x7ffcb5223c90) at
.moc/moc_qqmldelegatemodel_p.cpp:205
#13 0x00007ff344c2930b in QQmlDelegateModel::qt_metacall (this=0x46db270,
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7ffcb5223c90) at
.moc/moc_qqmldelegatemodel_p.cpp:344
#14 0x00007ff341abfdc1 in QMetaObject::activate (sender=sender@entry=0x35367b0,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3,
argv=argv@entry=0x7ffcb5223c90) at kernel/qobject.cpp:3728
#15 0x00007ff341ac02e7 in QMetaObject::activate (sender=sender@entry=0x35367b0,
m=m@entry=0x7ff341edde00 <QAbstractItemModel::staticMetaObject>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcb5223c90)
at kernel/qobject.cpp:3578
#16 0x00007ff341b3e8d6 in QAbstractItemModel::layoutChanged
(this=this@entry=0x35367b0, _t1=...,
_t2=_t2@entry=QAbstractItemModel::VerticalSortHint) at
.moc/moc_qabstractitemmodel.cpp:562
#17 0x00007ff341a5f3c5 in QSortFilterProxyModelPrivate::_q_sourceDataChanged
(this=0x44b6c40, source_top_left=..., source_bottom_right=..., roles=...) at
itemmodels/qsortfilterproxymodel.cpp:1207
#18 0x00007ff341a61248 in QSortFilterProxyModel::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at .moc/moc_qsortfilterproxymodel.cpp:202
#19 0x00007ff341abfcc6 in QMetaObject::activate (sender=sender@entry=0x3ca3e90,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffcb5223fc0) at kernel/qobject.cpp:3713
#20 0x00007ff341ac02e7 in QMetaObject::activate (sender=sender@entry=0x3ca3e90,
m=m@entry=0x7ff341edde00 <QAbstractItemModel::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcb5223fc0)
at kernel/qobject.cpp:3578
#21 0x00007ff341b3e82c in QAbstractItemModel::dataChanged
(this=this@entry=0x3ca3e90, _t1=..., _t2=..., _t3=...) at
.moc/moc_qabstractitemmodel.cpp:548
#22 0x00007ff2780ffeef in NetworkModel::updateItem (this=this@entry=0x3ca3e90,
item=item@entry=0x4410170) at
/usr/src/debug/plasma-nm-5.5.5/libs/models/networkmodel.cpp:566
#23 0x00007ff278105a5d in NetworkModel::addActiveConnection
(this=this@entry=0x3ca3e90, activeConnection=...) at
/usr/src/debug/plasma-nm-5.5.5/libs/models/networkmodel.cpp:294
#24 0x00007ff278105ff3 in NetworkModel::activeConnectionAdded (this=0x3ca3e90,
activeConnection=...) at
/usr/src/debug/plasma-nm-5.5.5/libs/models/networkmodel.cpp:589
#25 0x00007ff341abf73f in call (a=0x7ffcb52242b0, r=0x3ca3e90, this=0x44b6200)
at ../../src/corelib/kernel/qobject_impl.h:124
#26 QMetaObject::activate (sender=sender@entry=0x7ff2780e69e0 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10,
argv=argv@entry=0x7ffcb52242b0) at kernel/qobject.cpp:3698
#27 0x00007ff341ac02e7 in QMetaObject::activate
(sender=sender@entry=0x7ff2780e69e0 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>,
m=m@entry=0x7ff2780e46a0 <NetworkManager::Notifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7ffcb52242b0)
at kernel/qobject.cpp:3578
#28 0x00007ff277e97ff5 in NetworkManager::Notifier::activeConnectionAdded
(this=this@entry=0x7ff2780e69e0 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>, _t1=...) at
/usr/src/debug/networkmanager-qt-5.19.0/build/src/moc_manager.cpp:422
#29 0x00007ff277e205b3 in
NetworkManager::NetworkManagerPrivate::propertiesChanged (this=0x7ff2780e69e0
<(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>,
changedProperties=...) at
/usr/src/debug/networkmanager-qt-5.19.0/src/manager.cpp:706
#30 0x00007ff341abf73f in call (a=0x7ffcb52245b0, r=0x7ff2780e69e0 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>,
this=0x41b71b0) at ../../src/corelib/kernel/qobject_impl.h:124
#31 QMetaObject::activate (sender=sender@entry=0x7ff2780e6a00 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3,
argv=argv@entry=0x7ffcb52245b0) at kernel/qobject.cpp:3698
#32 0x00007ff341ac02e7 in QMetaObject::activate
(sender=sender@entry=0x7ff2780e6a00 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>,
m=m@entry=0x7ff2780e4c20
<OrgFreedesktopNetworkManagerInterface::staticMetaObject>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcb52245b0)
at kernel/qobject.cpp:3578
#33 0x00007ff277ea1560 in PropertiesChanged (_t1=..., this=0x7ff2780e6a00
<(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>) at
/usr/src/debug/networkmanager-qt-5.19.0/build/src/moc_nm-managerinterface.cpp:440
#34 OrgFreedesktopNetworkManagerInterface::qt_static_metacall
(_o=_o@entry=0x7ff2780e6a00 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>,
_c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3,
_a=_a@entry=0x7ffcb5224740) at
/usr/src/debug/networkmanager-qt-5.19.0/build/src/moc_nm-managerinterface.cpp:206
#35 0x00007ff277ea788b in OrgFreedesktopNetworkManagerInterface::qt_metacall
(this=0x7ff2780e6a00 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>,
_c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffcb5224740) at
/usr/src/debug/networkmanager-qt-5.19.0/build/src/moc_nm-managerinterface.cpp:389
#36 0x00007ff342837da4 in QDBusConnectionPrivate::deliverCall
(this=0x7ff310118080, object=0x7ff2780e6a00 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>, msg=...,
metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:979
#37 0x00007ff341ac0ac6 in QObject::event (this=0x7ff2780e6a00 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>,
e=<optimized out>) at kernel/qobject.cpp:1239
#38 0x00007ff342e08e7c in QApplicationPrivate::notify_helper
(this=this@entry=0xa8a580, receiver=receiver@entry=0x7ff2780e6a00 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>,
e=e@entry=0x4e94500) at kernel/qapplication.cpp:3716
#39 0x00007ff342e0dcc8 in QApplication::notify (this=0x7ffcb5224f10,
receiver=0x7ff2780e6a00 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>,
e=0x4e94500) at kernel/qapplication.cpp:3499
#40 0x00007ff341a8fe95 in QCoreApplication::notifyInternal
(this=0x7ffcb5224f10, receiver=0x7ff2780e6a00 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder+32>,
event=event@entry=0x4e94500) at kernel/qcoreapplication.cpp:965
#41 0x00007ff341a92057 in sendEvent (event=0x4e94500, receiver=<optimized out>)
at kernel/qcoreapplication.h:224
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0xa7fac0) at
kernel/qcoreapplication.cpp:1593
#43 0x00007ff341a92608 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1451
#44 0x00007ff341ae78f3 in postEventSourceDispatch (s=0xac86b0) at
kernel/qeventdispatcher_glib.cpp:271
#45 0x00007ff33d89cc84 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#46 0x00007ff33d89ced8 in ?? () from /usr/lib64/libglib-2.0.so.0
#47 0x00007ff33d89cf7c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#48 0x00007ff341ae6d6c in QEventDispatcherGlib::processEvents (this=0xac9900,
flags=...) at kernel/qeventdispatcher_glib.cpp:418
#49 0x00007ff341a8dd53 in QEventLoop::exec (this=this@entry=0x7ffcb5224da0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#50 0x00007ff341a958f6 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1229
#51 0x0000000000436b3d in main (argc=4, argv=<optimized out>) at
/usr/src/debug/plasma-workspace-5.5.5/shell/main.cpp:184

Possible duplicates by query: bug 361015, bug 360915, bug 360088, bug 359776,
bug 359606.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to