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

            Bug ID: 488709
           Summary: Plasma crashed when connecting to a network with the
                    plasma-nm applet
    Classification: Plasma
           Product: plasmashell
           Version: 5.20.5
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: santiagopi...@gmail.com
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0

Application: plasmashell (5.20.5)

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.0-22-686-pae i686
Windowing system: X11
Distribution: Debian GNU/Linux 11 (bullseye)

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

I opened KRunner to write a password there because the plasma-nm applet changes
the network selected to connect to while writing the password: if the network
list refreshes, the selected network is the one that happens to end in the same
position as the previously selected one.  This happens consistently on this
version of KDE/Plasma, which is outdated and I don't know if the issue has been
corrected already, so I'm not reporting that issue.

The issue here happened when I selected the password in KRunner, copied it,
closed KRunner with the Escape key, then clicked on the plasma-nm tray icon,
selected the network I wanted to connect to, and quickly pasted the password in
the field with Ctrl+V and pressed Enter.  The whole desktop flickered a bit and
DrKonqui informed me that Plasma crashed; the connection to the network didn't
succeed.

- Unusual behavior I noticed:

The problem with changing selected networks in plasma-nm applet.


I could connect to the network later with no problems.  Also, I couldn't
reproduce the issue again by doing the same.  One particular thing to note is
that I experience frequent disconnects from WiFi, possibly related to this
driver bug: https://bugzilla.kernel.org/show_bug.cgi?id=203709

I reviewed the other bug reports suggested as possible duplicates, both the
suggested ones and the ones originally reporting the same bug; while the stack
trace is very similar at the top and in the middle compared to those reports,
they are not exactly equal; also the context of the crashes are rather
different.  As such, I am reporting this crash as a separate bug report since I
am not sure whether the suggested duplicates are really that.

PD:  KDE is great, good work!

The crash does not seem to be reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#5  std::__atomic_base<QObjectPrivate::SignalVector*>::load
(__m=std::memory_order_relaxed, this=0x9) at
/usr/include/c++/10/bits/atomic_base.h:741
#6  std::atomic<QObjectPrivate::SignalVector*>::load
(__m=std::memory_order_relaxed, this=0x9) at /usr/include/c++/10/atomic:523
#7 
QAtomicOps<QObjectPrivate::SignalVector*>::loadRelaxed<QObjectPrivate::SignalVector*>
(_q_value=...) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#8  QBasicAtomicPointer<QObjectPrivate::SignalVector>::loadRelaxed (this=0x9)
at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#9  QObjectPrivate::maybeSignalConnected (this=0x40aa0e0, signalIndex=19) at
kernel/qobject.cpp:482
#10 0xb5abf3b7 in doActivate<false> (sender=0x3829b70, signal_index=19,
argv=0xbffe4a18) at kernel/qobject.cpp:3788
#11 0xb5ab848f in QMetaObject::activate (sender=<optimized out>, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3946
#12 0xb5ab84fc in QMetaObject::activate (sender=0x3829b70, signal_index=21,
argv=0x0) at kernel/qobject.cpp:3971
#13 0xb4d5c9fd in VDMModelDelegateDataType::notify (this=<optimized out>,
items=..., index=<optimized out>, count=<optimized out>, roles=...) at
qqmladaptormodel.cpp:175
#14 0xb4d6519b in QQmlAdaptorModel::notify (roles=..., count=33, index=0,
items=..., this=0x3b050ac) at
../../include/QtQmlModels/5.15.2/QtQmlModels/private/../../../../../src/qmlmodels/qqmladaptormodel_p.h:159
#15 QQmlDelegateModel::_q_itemsChanged (this=0x3ae6ff0, index=0, count=33,
roles=...) at qqmldelegatemodel.cpp:1472
#16 0xb4d6e1bb in QQmlDelegateModel::_q_layoutChanged (this=0x3ae6ff0,
parents=..., hint=QAbstractItemModel::VerticalSortHint) at
qqmldelegatemodel.cpp:1987
#17 0xb4d6e471 in QQmlDelegateModel::qt_static_metacall (_o=0x3ae6ff0,
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbffe5d00) at
.moc/moc_qqmldelegatemodel_p.cpp:219
#18 0xb4d6e95e in QQmlDelegateModel::qt_metacall (this=0x3ae6ff0,
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbffe5d00) at
.moc/moc_qqmldelegatemodel_p.cpp:357
#19 0xb5abf517 in doActivate<false> (sender=<optimized out>,
signal_index=<optimized out>, argv=0xbffe5d00) at kernel/qobject.cpp:3912
#20 0xb5ab848f in QMetaObject::activate (sender=<optimized out>, m=<optimized
out>, local_signal_index=<optimized out>, argv=0xbffe5d00) at
kernel/qobject.cpp:3946
#21 0xb5a1be06 in QAbstractItemModel::layoutChanged (this=0x3bc79e0, _t1=...,
_t2=<optimized out>) at .moc/moc_qabstractitemmodel.cpp:571
#22 0xb5a5893f in QSortFilterProxyModelPrivate::_q_sourceDataChanged
(this=<optimized out>, source_top_left=..., source_bottom_right=..., roles=...)
at itemmodels/qsortfilterproxymodel.cpp:1473
#23 0xb5abf7b2 in doActivate<false> (sender=<optimized out>,
signal_index=<optimized out>, argv=0xbffe5ee8) at kernel/qobject.cpp:3898
#24 0xb5ab848f in QMetaObject::activate (sender=<optimized out>, m=<optimized
out>, local_signal_index=<optimized out>, argv=0xbffe5ee8) at
kernel/qobject.cpp:3946
#25 0xb5a1bd17 in QAbstractItemModel::dataChanged (this=0x3acd6c0, _t1=...,
_t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#26 0x9455f244 in NetworkModel::updateItem (this=0x3acd6c0, item=0x4cad500) at
./libs/models/networkmodel.cpp:575
#27 0x945671af in NetworkModel::addActiveConnection (this=0x3acd6c0,
activeConnection=...) at ./libs/models/networkmodel.cpp:313
#28 0x9456789a in NetworkModel::activeConnectionAdded (this=0x3acd6c0,
activeConnection=...) at ./libs/models/networkmodel.cpp:601
#29 0xb5abf77e in QtPrivate::QSlotObjectBase::call (a=0xbffe6114, r=<optimized
out>, this=0x3e03b00) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#30 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>,
argv=0xbffe6114) at kernel/qobject.cpp:3886
#31 0xb5ab848f in QMetaObject::activate (sender=<optimized out>, m=<optimized
out>, local_signal_index=<optimized out>, argv=0xbffe6114) at
kernel/qobject.cpp:3946
#32 0x93f70631 in NetworkManager::Notifier::activeConnectionAdded
(this=0x940dc140 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>, _t1=...) at
./obj-i686-linux-gnu/src/KF5NetworkManagerQt_autogen/EWIEGA46WW/moc_manager.cpp:464
#33 0x93fb5364 in NetworkManager::NetworkManagerPrivate::propertiesChanged
(this=<optimized out>, changedProperties=...) at ./src/manager.cpp:759
#34 0x93fb8bd0 in NetworkManager::NetworkManagerPrivate::dbusPropertiesChanged
(this=<optimized out>, interfaceName=..., properties=...,
invalidatedProperties=...) at ./src/manager.cpp:734
#35 0x93f7ba9a in NetworkManager::NetworkManagerPrivate::qt_static_metacall
(_o=0x940dc140 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>,
_c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbffe6374) at
./obj-i686-linux-gnu/src/KF5NetworkManagerQt_autogen/EWIEGA46WW/moc_manager_p.cpp:107
#36 0x93f8880e in NetworkManager::NetworkManagerPrivate::qt_metacall
(this=0x940dc140 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>,
_c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbffe6374) at
./obj-i686-linux-gnu/src/KF5NetworkManagerQt_autogen/EWIEGA46WW/moc_manager_p.cpp:171
#37 0xb64e2b4f in QDBusConnectionPrivate::deliverCall (this=<optimized out>,
object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at
qdbusintegrator.cpp:1001
#38 0xb64edf51 in QDBusCallDeliveryEvent::placeMetaCall (this=0xaf7638b0,
object=0x940dc140 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>) at
qdbusintegrator_p.h:114
#39 0xb5ab49e3 in QObject::event (this=<optimized out>, e=<optimized out>) at
kernel/qobject.cpp:1314
#40 0xb67bb976 in QApplicationPrivate::notify_helper (this=0x22d4c80,
receiver=0x940dc140 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>, e=0xaf7638b0)
at kernel/qapplication.cpp:3632
#41 0xb67c2ad4 in QApplication::notify (this=0xbffe6a30, receiver=0x940dc140
<(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>,
e=0xaf7638b0) at kernel/qapplication.cpp:3156
#42 0xb5a859ca in QCoreApplication::notifyInternal2 (receiver=0x940dc140
<(anonymous namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>,
event=0xaf7638b0) at kernel/qcoreapplication.cpp:1063
#43 0xb5a85c38 in QCoreApplication::sendEvent (receiver=0x940dc140 <(anonymous
namespace)::Q_QGS_globalNetworkManager::innerFunction()::holder>,
event=0xaf7638b0) at kernel/qcoreapplication.cpp:1458
#44 0xb5a886fd in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0,
event_type=0, data=0x22cf120) at kernel/qcoreapplication.cpp:1817
#45 0xb5a88b67 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1676
#46 0xb5ae4473 in postEventSourceDispatch (s=0x2378e40) at
kernel/qeventdispatcher_glib.cpp:277
#47 0xb3dff8cd in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb3dffb69 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0xb3dffc34 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#50 0xb5ae39b2 in QEventDispatcherGlib::processEvents (this=0x2378010,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#51 0xb0ea0371 in QXcbGlibEventDispatcher::processEvents (this=0x2378010,
flags=...) at qxcbeventdispatcher.cpp:143
#52 0xb5a8402e in QEventLoop::exec (this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#53 0xb5a8ccff in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#54 0xb5e57921 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#55 0xb67bb8e4 in QApplication::exec () at kernel/qapplication.cpp:2824
#56 0x004b5739 in main (argc=<optimized out>, argv=0xbffe6b34) at
./shell/main.cpp:252
[Inferior 1 (process 1314) detached]

The reporter indicates this bug may be a duplicate of or related to bug 438588,
bug 434719.

Possible duplicates by query: bug 438588, bug 434719.

Reported using DrKonqi

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

Reply via email to