Summary: | Plasmashell crash when disconnecting/reconnecting my WiFi connection after changing MTU | ||
---|---|---|---|
Product: | [Plasma] plasma-nm | Reporter: | Simon <simon.vizzini83> |
Component: | applet | Assignee: | Jan Grulich <jgrulich> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | a.e.brownlee.iv, a.steffan, adaminnj, admin, adnanthp, alilotfi3, alnaami.nawar, antonio.jr.ssouza, apo, aspotashev, atanasb, blackmetalowiec, bloodlegion, bruno.leon, bymask, byron, camtecmx, carl.erwin, carlo.toniolo, cesare.cugnasco, chrismarine, cunio, detlev.casanova, dgphys, diego.ml, dougt901-2012, eshillman, eugene.shalygin+bugzilla.kde, fabio.coatti, fedoraisgreat, florian.westphal, fox.kyong, frederic.raber, friberg.joachim, g3702451, gajjfullin, georges, germano.massullo, gpawelczak, hanjz96, heri+kde, hicham.baroudet, iamgroot, info, jakob.braun, jarlgjessing, jgrulich, jlmoya, jmohsenm, jperrygodfrey, juampa2345, juanrr.ar, juergen.scholz.84, julius.schwartzenberg, kde, kde, kde, kde, kdebugs, kdyves, lamarque, lld.panos, lucidlytwisted, ludo.aelbrecht+kde, lukas, madcatx, mailshader-debug, marcelo.gabriel, marcin, matt.luker001, maxwell.p.bottiger.civ, memarenco, miguel.armandolb, minikontointernetowe, mrdocs, mschiff, nancengka, nandoreisbr, null, opensourcecat, pedron.alexandre, pereira.alex, peter.sutta.ml, plasma-bugs, poofeg, rafneq, ralf.habacker, ralf.habacker, rdieter, rectifier04, registrazioni, robby.engelmann, root.dillan, rysic, samuelmaudo, silp1054, solomonirailoa, suse1, t.rother, thesourcehim, tsuther, tuxtard, valdikss, vcato1701, virgolus, Wattos, web-kde, wengxt, whatifgodwasoneofus, whites11, yousuckyoujackass, yzhernand |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.2.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=342763 | ||
Latest Commit: | http://commits.kde.org/plasma-nm/ee14918070204deabcf48a669edf97a427f1d0f2 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
attachment-28836-0.html
Add debug into dodgy Qt function debug patch against v5.51 command line output Patch 2 - new debug video about connection name corruption .tar.bz2 archive of /home/aspotashev/.local/share/plasma/desktoptheme/111 Fix crash in libQt5Qml Fix problem without changing libQt5Qml. |
Description
Simon
2015-04-12 19:44:17 UTC
How is this a Task Manager crash, David? NetworkManager, TaskManager. Close enough. Actually interestingly it's very very similar to that open task manager bug, 342763. model does a datachange then we have a Qt crashes. Hmm, I'm not able to reproduce it, but I guess it will crash even when you change something else. Looks like a Qt issues rather than a bug in plasma-nm. One thing I forgot to mention and that might be relevant is that I have installed a new USB WiFi adapter (replacing my old USB WiFi adapter). I've had some issues with the plasma-nm widget after installing the new adapter, I made a bug report about it: 345876 I think somehow my old WiFi adapter might still be "there" somewhere, causing these kind of troubles. For example I get now two checkboxes (I still need to install a proper icon set) in the plasma-nm widget, and clicking on them will cause trouble. I suppose those checkboxes are there to activate/deactivate my adapters, but since I only have 1 WiFi adapter plugged in I wonder why there are two checkboxes at all. Not sure if this is really relevant to the crash at hand. I don't think this has something to do with your USB WiFi adapter. Reason why you have there two checkboxes is that one is for flight mode and the second one is to turn off/on wireless. Ok, understood! (I really should install proper icons, I wasn't even aware that there is a flight mode) *** Bug 346240 has been marked as a duplicate of this bug. *** *** Bug 347218 has been marked as a duplicate of this bug. *** *** Bug 347173 has been marked as a duplicate of this bug. *** *** Bug 347869 has been marked as a duplicate of this bug. *** *** Bug 348312 has been marked as a duplicate of this bug. *** *** Bug 349580 has been marked as a duplicate of this bug. *** Probably this is due to this bug in Qt https://bugreports.qt.io/browse/QTBUG-43827 Upgrading to Qt >= 5.4.2 solves the problem. *** Bug 350204 has been marked as a duplicate of this bug. *** *** Bug 350618 has been marked as a duplicate of this bug. *** Fixed in Qt 5.4.2. (In reply to Jan Grulich from comment #16) > Fixed in Qt 5.4.2. Sorry, not fixed yet, but it's still an issue in Qt. *** Bug 352946 has been marked as a duplicate of this bug. *** *** Bug 353191 has been marked as a duplicate of this bug. *** Previous reports are missing a few bits of the call stack. Kubuntu 15.10 with Qt 5.4.2 Thread 1 (Thread 0x7f7b557d4800 (LWP 1872)): [KCrash Handler] #6 QMetaObject::methodOffset (this=this@entry=0x0) at kernel/qmetaobject.cpp:381 #7 0x00007f7b508b4fbb in QMetaObject::activate (sender=sender@entry=0xdd6fcc0, signal_index=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3764 #8 0x00007f7b52c86e72 in VDMModelDelegateDataType::notify (this=<optimized out>, items=..., index=0, count=23, roles=...) at util/qqmladaptormodel.cpp:171 #9 0x00007f7b52ee5c2a in QQmlAdaptorModel::notify (roles=..., count=23, index=<optimized out>, items=..., this=0x8454c38) at ../../include/QtQml/5.4.2/QtQml/private/../../../../../src/qml/util/qqmladaptormodel_p.h:118 #10 QQmlDelegateModel::_q_itemsChanged (this=this@entry=0x8436fd0, index=index@entry=0, count=23, roles=...) at types/qqmldelegatemodel.cpp:1121 #11 0x00007f7b52eea5f2 in QQmlDelegateModel::_q_layoutChanged (this=0x8436fd0, parents=..., hint=<optimized out>) at types/qqmldelegatemodel.cpp:1585 #12 0x00007f7b52f0c25f in QQmlDelegateModel::qt_static_metacall (_o=_o@entry=0x8436fd0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=14, _a=_a@entry=0x7ffe962dc580) at .moc/moc_qqmldelegatemodel_p.cpp:204 #13 0x00007f7b52f0c605 in QQmlDelegateModel::qt_metacall (this=0x8436fd0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7ffe962dc580) at .moc/moc_qqmldelegatemodel_p.cpp:293 #14 0x00007f7b508b4940 in QMetaObject::activate (sender=sender@entry=0x74c26f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe962dc580) at kernel/qobject.cpp:3732 #15 0x00007f7b508b4f87 in QMetaObject::activate (sender=sender@entry=0x74c26f0, m=m@entry=0x7f7b50ab6e40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe962dc580) at kernel/qobject.cpp:3582 #16 0x00007f7b5092b736 in QAbstractItemModel::layoutChanged (this=this@entry=0x74c26f0, _t1=..., _t2=_t2@entry=QAbstractItemModel::VerticalSortHint) at .moc/moc_qabstractitemmodel.cpp:407 #17 0x00007f7b5085389b in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x82034b0, source_top_left=..., source_bottom_right=...) at itemmodels/qsortfilterproxymodel.cpp:1205 #18 0x00007f7b508b478a in QMetaObject::activate (sender=sender@entry=0x6b7f120, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe962dc850) at kernel/qobject.cpp:3717 #19 0x00007f7b508b4f87 in QMetaObject::activate (sender=sender@entry=0x6b7f120, m=m@entry=0x7f7b50ab6e40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe962dc850) at kernel/qobject.cpp:3582 #20 0x00007f7b5092b64c in QAbstractItemModel::dataChanged (this=this@entry=0x6b7f120, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:393 #21 0x00007f7a69687cdd in NetworkModel::updateItem (this=this@entry=0x6b7f120, item=item@entry=0xd319d20) at ../../libs/models/networkmodel.cpp:566 #22 0x00007f7a69689095 in NetworkModel::activeConnectionStateChanged (this=0x6b7f120, state=NetworkManager::ActiveConnection::Activated) at ../../libs/models/networkmodel.cpp:610 #23 0x00007f7b508b4617 in QtPrivate::QSlotObjectBase::call (a=0x7ffe962dcad0, r=0x6b7f120, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #24 QMetaObject::activate (sender=sender@entry=0xdfd5de0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe962dcad0) at kernel/qobject.cpp:3702 #25 0x00007f7b508b4f87 in QMetaObject::activate (sender=sender@entry=0xdfd5de0, m=m@entry=0x7f7a6966f4e0 <NetworkManager::ActiveConnection::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7ffe962dcad0) at kernel/qobject.cpp:3582 #26 0x00007f7a69421bb1 in NetworkManager::ActiveConnection::stateChanged (this=this@entry=0xdfd5de0, _t1=NetworkManager::ActiveConnection::Activated) at moc_activeconnection.cpp:360 #27 0x00007f7a69392481 in NetworkManager::ActiveConnectionPrivate::propertiesChanged (this=0xda67760, properties=...) at ../../src/activeconnection.cpp:321 #28 0x00007f7b508b4617 in QtPrivate::QSlotObjectBase::call (a=0x7ffe962dcd80, r=0xda67760, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #29 QMetaObject::activate (sender=0xda67798, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=argv@entry=0x7ffe962dcd80) at kernel/qobject.cpp:3702 #30 0x00007f7b508b4f87 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f7a6966f2a0 <OrgFreedesktopNetworkManagerConnectionActiveInterface::staticMetaObject>, local_signal_index=<optimized out>, argv=argv@entry=0x7ffe962dcd80) at kernel/qobject.cpp:3582 #31 0x00007f7a69429013 in OrgFreedesktopNetworkManagerConnectionActiveInterface::PropertiesChanged (_t1=..., this=<optimized out>) at moc_nm-active-connectioninterface.cpp:222 #32 OrgFreedesktopNetworkManagerConnectionActiveInterface::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_nm-active-connectioninterface.cpp:110 #33 0x00007f7a6943107f in OrgFreedesktopNetworkManagerConnectionActiveInterface::qt_metacall (this=0xda67798, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffe962dcf30) at moc_nm-active-connectioninterface.cpp:166 #34 0x00007f7b55913d4e in QDBusConnectionPrivate::deliverCall (this=0x7f7b1c3ae340, object=0xda67798, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:992 #35 0x00007f7b508b5651 in QObject::event (this=0xda67798, e=<optimized out>) at kernel/qobject.cpp:1245 #36 0x00007f7b51361b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1d83cb0, receiver=receiver@entry=0xda67798, e=e@entry=0x8022630) at kernel/qapplication.cpp:3720 #37 0x00007f7b51367230 in QApplication::notify (this=0x7ffe962dd660, receiver=0xda67798, e=0x8022630) at kernel/qapplication.cpp:3503 #38 0x00007f7b50883f1b in QCoreApplication::notifyInternal (this=0x7ffe962dd660, receiver=0xda67798, event=event@entry=0x8022630) at kernel/qcoreapplication.cpp:935 #39 0x00007f7b50886057 in QCoreApplication::sendEvent (event=0x8022630, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228 #40 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1d791f0) at kernel/qcoreapplication.cpp:1552 #41 0x00007f7b50886588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410 #42 0x00007f7b508dae73 in postEventSourceDispatch (s=0x1de6990) at kernel/qeventdispatcher_glib.cpp:271 #43 0x00007f7b4cd5dff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #44 0x00007f7b4cd5e250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #45 0x00007f7b4cd5e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #46 0x00007f7b508db27f in QEventDispatcherGlib::processEvents (this=0x1ddcfd0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #47 0x00007f7b5088175a in QEventLoop::exec (this=this@entry=0x7ffe962dd4e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #48 0x00007f7b508892cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188 #49 0x00007f7b50b9e09c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510 #50 0x00007f7b5135e025 in QApplication::exec () at kernel/qapplication.cpp:2956 #51 0x00000000004322c3 in main (argc=2, argv=<optimized out>) at ../../shell/main.cpp:176 *** Bug 353772 has been marked as a duplicate of this bug. *** Created attachment 94957 [details] attachment-28836-0.html Please would you remove my address from this mailing list? Thanks Amedeo On Sun, Oct 11, 2015 at 9:41 PM, David Edmundson <kde@davidedmundson.co.uk> wrote: > https://bugs.kde.org/show_bug.cgi?id=346118 > > David Edmundson <kde@davidedmundson.co.uk> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |matt.luker001@gmail.com > > --- Comment #21 from David Edmundson <kde@davidedmundson.co.uk> --- > *** Bug 353772 has been marked as a duplicate of this bug. *** > > -- > You are receiving this mail because: > You are on the CC list for the bug. > *** Bug 354930 has been marked as a duplicate of this bug. *** *** Bug 355128 has been marked as a duplicate of this bug. *** *** Bug 356207 has been marked as a duplicate of this bug. *** *** Bug 356892 has been marked as a duplicate of this bug. *** *** Bug 356713 has been marked as a duplicate of this bug. *** *** Bug 356982 has been marked as a duplicate of this bug. *** *** Bug 357056 has been marked as a duplicate of this bug. *** *** Bug 357482 has been marked as a duplicate of this bug. *** *** Bug 357512 has been marked as a duplicate of this bug. *** *** Bug 357729 has been marked as a duplicate of this bug. *** *** Bug 357949 has been marked as a duplicate of this bug. *** *** Bug 357948 has been marked as a duplicate of this bug. *** *** Bug 358072 has been marked as a duplicate of this bug. *** *** Bug 358236 has been marked as a duplicate of this bug. *** *** Bug 358407 has been marked as a duplicate of this bug. *** *** Bug 358613 has been marked as a duplicate of this bug. *** Just got this crash with Qt 5.5.1. I have a quite poor trace: Thread 1 (Thread 0x7fab8b04b800 (LWP 916)): [KCrash Handler] #6 0x00007fab98e3c070 in QMetaObject::methodOffset() const () from /usr/lib64/libQt5Core.so.5 #7 0x00007fab98e5c6fb in QMetaObject::activate(QObject*, int, void**) () from /usr/lib64/libQt5Core.so.5 #8 0x00007fab9b242052 in ?? () from /usr/lib64/libQt5Qml.so.5 #9 0x00007fab9b4c4388 in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () from /usr/lib64/libQt5Qml.so.5 #10 0x00007fab9b4ca192 in QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib64/libQt5Qml.so.5 #11 0x00007fab9b4ec8f7 in ?? () from /usr/lib64/libQt5Qml.so.5 #12 0x00007fab9b4ed77b in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Qml.so.5 #13 0x00007fab98e5c0d5 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #14 0x00007fab98ece456 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib64/libQt5Core.so.5 #15 0x00007fab98e0db35 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib64/libQt5Core.so.5 #16 0x00007fab98e0e6d8 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Core.so.5 #17 0x00007fab98e5bfd4 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #18 0x00007fab98ece36c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib64/libQt5Core.so.5 #19 0x00007faada92113d in NetworkModel::updateItem(NetworkModelItem*) () from /usr/lib64/libplasmanm_internal.so #20 0x00007faada925e9a in NetworkModel::addActiveConnection(QSharedPointer<NetworkManager::ActiveConnection> const&) () from /usr/lib64/libplasmanm_internal.so #21 0x00007faada926523 in NetworkModel::activeConnectionAdded(QString const&) () from /usr/lib64/libplasmanm_internal.so #22 0x00007fab98e5ba53 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #23 0x00007faada6b21c5 in NetworkManager::Notifier::activeConnectionAdded(QString const&) () from /usr/lib64/libKF5NetworkManagerQt.so.6 #24 0x00007faada63832b in NetworkManager::NetworkManagerPrivate::propertiesChanged(QMap<QString, QVariant> const&) () from /usr/lib64/libKF5NetworkManagerQt.so.6 #25 0x00007fab98e5ba53 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #26 0x00007faada6be028 in OrgFreedesktopNetworkManagerInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libKF5NetworkManagerQt.so.6 #27 0x00007faada6c3803 in OrgFreedesktopNetworkManagerInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libKF5NetworkManagerQt.so.6 #28 0x00007fab9df5cf8c in ?? () from /usr/lib64/libQt5DBus.so.5 #29 0x00007fab98e5d08a in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5 #30 0x00007fab9989669c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #31 0x00007fab9989bb10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #32 0x00007fab98e33d8d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #33 0x00007fab98e36b63 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5 #34 0x00007fab98e81713 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5 #35 0x00007fab946c77d4 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #36 0x00007fab946c7a28 in ?? () from /usr/lib64/libglib-2.0.so.0 #37 0x00007fab946c7acc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #38 0x00007fab98e81787 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #39 0x00007fab98e329aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #40 0x00007fab98e39d8c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #41 0x0000000000432bbd in main () Should I reopen it in Qt bug tracker ? >Should I reopen it in Qt bug tracker ?
Yes please
*** Bug 359011 has been marked as a duplicate of this bug. *** *** Bug 359335 has been marked as a duplicate of this bug. *** *** Bug 359419 has been marked as a duplicate of this bug. *** *** Bug 359343 has been marked as a duplicate of this bug. *** *** Bug 359573 has been marked as a duplicate of this bug. *** *** Bug 359606 has been marked as a duplicate of this bug. *** *** Bug 359497 has been marked as a duplicate of this bug. *** *** Bug 359663 has been marked as a duplicate of this bug. *** This bug is marked at resolved upstream. What version of KDE or QT do I need to not run into this issue? This is a very annoying bug as I run into this daily because I need to connect to VPN networks. Plasma crashes each time I connect to my VPN connection. I am on: KDE Frameworks 5.18.0 Qt 5.5.1 (built against 5.5.1) I don't know. It's marked as upstream because the code is crashing in Qt code, not ours. I met someone who had this crash with their VPN, I set mine up to be the exact same VPN on the same network and for me with latest Qt5.6 didn't crash. I've not seen a report of this with Qt 5.6 yet..but that doesn't necesarily prove anything. *** Bug 359852 has been marked as a duplicate of this bug. *** *** Bug 359884 has been marked as a duplicate of this bug. *** Someone managed to reproduce this under valgrind. It was /almost/ perfect. ==11595== Use of uninitialised value of size 8 ==11595== at 0x771F078: ??? (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x7995899: QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x799A4B1: QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x79BCF3E: ??? (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x79BD6F7: QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x9F644CF: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9FE0F05: QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9F0552B: ??? (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9F07007: ??? (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9F64319: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9FE0E1B: QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0xBF70A11C: NetworkModel::updateItem(NetworkModelItem*) (in /usr/lib/libplasmanm_internal.so) ==11595== ==11595== Invalid read of size 4 ==11595== at 0x771F078: ??? (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x7995899: QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x799A4B1: QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x79BCF3E: ??? (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x79BD6F7: QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libQt5Qml.so.5.5.1) ==11595== by 0x9F644CF: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9FE0F05: QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9F0552B: ??? (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9F07007: ??? (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9F64319: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQt5Core.so.5.5.1) ==11595== by 0x9FE0E1B: QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (in /usr/lib/libQt5Core.so.5.5.1) If I can find out where exactly in ==11595== at 0x771F078: ??? (in /usr/lib/libQt5Qml.so.5.5.1) we'd be sorted in no time. Can someone who can reproduce this please get a Qt with a full debug symbols and run under valgrind. There are only 3 possibilities: QQmlListCompositor::listItemsChanged QQmlAdaptorModel::notify QQmlDelegateModelPrivate::itemsChanged but they're all too big to follow without narrowing it down some more. For me the crash seems to be fixed in the latest Qt build in OpenSUSE Tumbleweed, 5.5.1 (libQt5Core5-5.5.1-3.1.x86_64) (In reply to David Edmundson from comment #53) > If I can find out where exactly in > ==11595== at 0x771F078: ??? (in /usr/lib/libQt5Qml.so.5.5.1) we'd be > sorted in no time. David, Can you please request libQt5Qml.so.5.5.1 from that person so that we could disassemble and see which line in the source code causes problem? Btw, I have this crash with Plasma 5.5.4, KF 5.19.0 and Qt 5.5.1 on Gentoo. Judging from the comments, nobody looked at the command line output. Here it is: [...] networkmanager-qt: void NetworkManager::ActiveConnectionPrivate::propertiesChanged(const QVariantMap&) Unhandled property "VpnState" networkmanager-qt: void NetworkManager::VpnConnectionPrivate::propertiesChanged(const QVariantMap&) Unhandled property "State" networkmanager-qt: void NetworkManager::ActiveConnectionPrivate::propertiesChanged(const QVariantMap&) Unhandled property "VpnState" networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Metered" networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "Metered" ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt5/QtCore/qlist.h, line 510 Application::crashHandler() called with signal 6; recent crashes: 1 [...] ====== Top of stack trace: Thread 1 (Thread 0x7ffc5be2a7c0 (LWP 25461)): [KCrash Handler] #6 0x00007ffc68a110d7 in raise () from /lib64/libc.so.6 #7 0x00007ffc68a1243a in abort () from /lib64/libc.so.6 #8 0x00007ffc6918a9fe in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5 #9 0x00007ffc69185d27 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib64/libQt5Core.so.5 #10 0x00007ffc6b7b76bc in VDMModelDelegateDataType::notify(QQmlAdaptorModel const&, QList<QQmlDelegateModelItem*> const&, int, int, QVector<int> const&) const () from /usr/lib64/libQt5Qml.so.5 #11 0x00007ffc6ba50f09 in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () from /usr/lib64/libQt5Qml.so.5 #12 0x00007ffc6ba56710 in QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib64/libQt5Qml.so.5 #13 0x00007ffc6ba7ad9f in QQmlDelegateModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Qml.so.5 #14 0x00007ffc6ba7b43b in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Qml.so.5 #15 0x00007ffc6937676b in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #16 0x00007ffc693ebfe6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib64/libQt5Core.so.5 #17 0x00007ffc69322444 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib64/libQt5Core.so.5 #18 0x00007ffc69322a38 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Core.so.5 #19 0x00007ffc6937664e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #20 0x00007ffc693ebf3c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib64/libQt5Core.so.5 #21 0x00007ffba5ae196f in NetworkModel::updateItem(NetworkModelItem*) () from /usr/lib64/libplasmanm_internal.so #22 0x00007ffba5ae2ba9 in NetworkModel::activeConnectionStateChanged(NetworkManager::ActiveConnection::State) () from /usr/lib64/libplasmanm_internal.so [...] Created attachment 97653 [details]
Add debug into dodgy Qt function
Attached is a patch for Qt that prints out a lot of information at the place with the problem.
Can someone who can reproduce the problem please apply this and include the output of this.
Patch is against 5.6.0 branch, but it should apply cleanly on 5.5 too
I tried to apply the patch under gentoo, but I the patch is rejected; maybe I'm applying it to a wrong file? PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch --dry-run -f < '/etc/portage/patches//dev-qt/qtdeclarative-5.5.1-r1/nm_crash_debug.patch' ================================ checking file src/qml/util/qqmladaptormodel.cpp Hunk #1 FAILED at 148. Hunk #2 succeeded at 171 (offset -2 lines). 1 out of 2 hunks FAILED patch program exited with status 1 ================================ Created attachment 97655 [details]
debug patch against v5.51
Ah, it doesn't apply against 5.5.1, I've made one that does
Fabio, did that apply? Created attachment 97704 [details]
command line output
David, I applied your patch to qtdeclarative-5.5.1 and reproduced the crash. Please see the command line output in the attachment.
Below is the stacktrace, but I think it's did not change:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7d9655f7c0 (LWP 6881))]
Thread 7 (Thread 0x7f7d94dcd700 (LWP 6882)):
#0 0x00007f7da31f1aed in poll () from /lib64/libc.so.6
#1 0x00007f7da72e1a92 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2 0x00007f7da72e367f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3 0x00007f7d962d3159 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4 0x00007f7da38d2246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5 0x00007f7da29fc314 in start_thread () from /lib64/libpthread.so.0
#6 0x00007f7da31fa6dd in clone () from /lib64/libc.so.6
Thread 6 (Thread 0x7f7d8dbcb700 (LWP 6915)):
#0 0x00007f7d9f2f9879 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1 0x00007f7d9f2b6bf0 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2 0x00007f7d9f2b7a35 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#3 0x00007f7d9f2b7c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4 0x00007f7da3ad364b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5 0x00007f7da3a7eabb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6 0x00007f7da38ccdfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7 0x00007f7da6147138 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#8 0x00007f7da38d2246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9 0x00007f7da29fc314 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7da31fa6dd in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7f7d840bf700 (LWP 6933)):
#0 0x00007f7da31f1aed in poll () from /lib64/libc.so.6
#1 0x00007f7d9f2b7b74 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2 0x00007f7d9f2b7c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3 0x00007f7da3ad364b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4 0x00007f7da3a7eabb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5 0x00007f7da38ccdfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6 0x00007f7da6147138 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#7 0x00007f7da38d2246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8 0x00007f7da29fc314 in start_thread () from /lib64/libpthread.so.0
#9 0x00007f7da31fa6dd in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7f7d82603700 (LWP 6940)):
#0 0x00007f7d9f2f9894 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1 0x00007f7d9f2b71b0 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2 0x00007f7d9f2b7a90 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#3 0x00007f7d9f2b7c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4 0x00007f7da3ad364b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5 0x00007f7da3a7eabb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6 0x00007f7da38ccdfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7 0x00007f7da6147138 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#8 0x00007f7da38d2246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9 0x00007f7da29fc314 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7da31fa6dd in clone () from /lib64/libc.so.6
Thread 3 (Thread 0x7f7d7a85b700 (LWP 6983)):
#0 0x00007f7da32069bf in __libc_enable_asynccancel () from /lib64/libc.so.6
#1 0x00007f7da31f1ae2 in poll () from /lib64/libc.so.6
#2 0x00007f7d9f2b7b74 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#3 0x00007f7d9f2b7c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4 0x00007f7da3ad364b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5 0x00007f7da3a7eabb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6 0x00007f7da38ccdfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7 0x00007f7da6b04712 in QQuickPixmapReader::run() () from /usr/lib64/libQt5Quick.so.5
#8 0x00007f7da38d2246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9 0x00007f7da29fc314 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7da31fa6dd in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7f7ce757b700 (LWP 7154)):
#0 0x00007f7d9f2f9894 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1 0x00007f7d9f2b7b1e in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2 0x00007f7d9f2b7c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3 0x00007f7da3ad364b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4 0x00007f7da3a7eabb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5 0x00007f7da38ccdfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6 0x00007f7ce8427767 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#7 0x00007f7da38d2246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8 0x00007f7da29fc314 in start_thread () from /lib64/libpthread.so.0
#9 0x00007f7da31fa6dd in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f7d9655f7c0 (LWP 6881)):
[KCrash Handler]
#6 0x00007f7da31470d7 in raise () from /lib64/libc.so.6
#7 0x00007f7da314843a in abort () from /lib64/libc.so.6
#8 0x00007f7da38c09fe in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5
#9 0x00007f7da38bbd27 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib64/libQt5Core.so.5
#10 0x00007f7da5ed5786 in QList<QQmlDelegateModelItem*>::at(int) const [clone .part.41] () from /usr/lib64/libQt5Qml.so.5
#11 0x00007f7da5eee09c in VDMModelDelegateDataType::notify(QQmlAdaptorModel const&, QList<QQmlDelegateModelItem*> const&, int, int, QVector<int> const&) const () from /usr/lib64/libQt5Qml.so.5
#12 0x00007f7da6187eb9 in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () from /usr/lib64/libQt5Qml.so.5
#13 0x00007f7da618d6c0 in QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib64/libQt5Qml.so.5
#14 0x00007f7da61b1d4f in QQmlDelegateModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Qml.so.5
#15 0x00007f7da61b23eb in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Qml.so.5
#16 0x00007f7da3aac76b in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#17 0x00007f7da3b21fe6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib64/libQt5Core.so.5
#18 0x00007f7da3a58444 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib64/libQt5Core.so.5
#19 0x00007f7da3a58a38 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f7da3aac64e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#21 0x00007f7da3b21f3c in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib64/libQt5Core.so.5
#22 0x00007f7ce40bd96f in NetworkModel::updateItem(NetworkModelItem*) () from /usr/lib64/libplasmanm_internal.so
#23 0x00007f7ce40c281a in NetworkModel::addActiveConnection(QSharedPointer<NetworkManager::ActiveConnection> const&) () from /usr/lib64/libplasmanm_internal.so
#24 0x00007f7ce40c2e13 in NetworkModel::activeConnectionAdded(QString const&) () from /usr/lib64/libplasmanm_internal.so
#25 0x00007f7da3aac0d3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f7cdfdae2b5 in NetworkManager::Notifier::activeConnectionAdded(QString const&) () from /usr/lib64/libKF5NetworkManagerQt.so.6
#27 0x00007f7cdfd36873 in NetworkManager::NetworkManagerPrivate::propertiesChanged(QMap<QString, QVariant> const&) () from /usr/lib64/libKF5NetworkManagerQt.so.6
#28 0x00007f7da3aac0d3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#29 0x00007f7cdfdb7820 in OrgFreedesktopNetworkManagerInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libKF5NetworkManagerQt.so.6
#30 0x00007f7cdfdbdb4b in OrgFreedesktopNetworkManagerInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libKF5NetworkManagerQt.so.6
#31 0x00007f7da8d3fe35 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) () from /usr/lib64/libQt5DBus.so.5
#32 0x00007f7da3aad91e in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#33 0x00007f7da453b8dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007f7da4540750 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007f7da3a8073d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#36 0x00007f7da3a836ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#37 0x00007f7da3ad3e73 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#38 0x00007f7d9f2b7994 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f7d9f2b7be8 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f7d9f2b7c8c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f7da3ad362c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#42 0x00007f7da3a7eabb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#43 0x00007f7da3a864e6 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#44 0x0000000000432816 in main ()
(In reply to David Edmundson from comment #61) > Fabio, did that apply? Well, the patch applied just fine; now I'm having some trouble in getting a crash dump :) Created attachment 97724 [details]
Patch 2 - new debug
OK good news, that really helped I know what it could be to within a few options.
If a model emits a data changed which in turn has qml that deletes the model we'll get a crash.
New patch adds a line of debug proving it's that cause. Once we know what we can make a patch or workaround.
Patch is against qt5.5.0 as I'm on holiday with super limited internet and that's what I had. If patch doesn't apply please just copy the three lines by hand.
Created attachment 97732 [details]
video about connection name corruption
The patch "Patch 2 - new debug" applied cleanly, but I could not reproduce the crash using the same proceduce (by clicking "Connect" for Wi-Fi connection and then for VPN connection). I guess it's because of massive debug output which shades the thread synchronization issues.
With qtdeclarative-5.5.1 + both of the attached patches I found another data integrity issue, see the attached video. In this video, "Tenda_283748" is a Wi-Fi access point, "rnet-cell-client" is a VPN connection. Here is what I do:
1. Connect to Wi-Fi AP.
2. When Wi-Fi connection is up, connect to VPN.
3. While VPN is setting up, quickly click the button against "Tenda_xxxxxx" to disconnect from Wi-Fi. You would expect this button to be named "Disconnect", but it's still named "Connect".
4. Now "Tenda_xxxxxx" is visually gone from the list, but in fact it's still here, but now entitled "rnet-cell-client".
I'm afraid this might be a different bug existing solely in plasma-pa, but I'm letting you know about it for a more complete picture.
Now I have the same crash with plasmathemeeditor: ===== aspotashev@cell ~ $ gdb plasmathemeexplorer GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from plasmathemeexplorer...Reading symbols from /usr/lib64/debug//usr/bin/plasmathemeexplorer.debug...(no debugging symbols found)...done. (no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/plasmathemeexplorer [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. [New Thread 0x7fffe599a700 (LWP 12784)] [New Thread 0x7fffdfb86700 (LWP 12785)] org.kde.kwindowsystem: Loaded plugin "/usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so" for platform "xcb" Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json" QCommandLineParser: option not defined: "default" Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json" Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json" Start of DAVE debug no role explicitly changed, notifying all the properties we want to emit 8 signals signal ids are QVector(6, 7, 8, 9, 10, 11, 12, 13) listing items QQmlDMAbstractItemModelData(0xa6d750) QQmlDMAbstractItemModelData(0x75bb50) DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates kf5.kcoreaddons.kdirwatch: "KDirWatch-1" emitting deleted "/home/aspotashev/.config/plasmarc" Loading theme description file "/usr/share/kpackage/genericqml/org.kde.plasma.themeexplorer/contents/data/themeDescription.json" Start of DAVE debug no role explicitly changed, notifying all the properties we want to emit 8 signals signal ids are QVector(6, 7, 8, 9, 10, 11, 12, 13) listing items QQmlDMAbstractItemModelData(0x2851b80) QQmlDMAbstractItemModelData(0xbf6780) QQmlDMAbstractItemModelData(0x28c5bb0) QQmlDMAbstractItemModelData(0x28d71e0) QQmlDMAbstractItemModelData(0x27c8a40) QQmlDMAbstractItemModelData(0x27cd7b0) QQmlDMAbstractItemModelData(0x291c020) QQmlDMAbstractItemModelData(0x292c8d0) QQmlDMAbstractItemModelData(0x2952110) DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates ASSERT failure in QVector<T>::at: "index out of range", file /usr/include/qt5/QtCore/qvector.h, line 393 Program received signal SIGABRT, Aborted. 0x00007ffff4bd60d7 in raise () from /lib64/libc.so.6 (gdb) thread apply all bt Thread 3 (Thread 0x7fffdfb86700 (LWP 12785)): #0 0x00007ffff4c80aed in poll () from /lib64/libc.so.6 #1 0x00007ffff068cf14 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ffff068d02c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007ffff556262c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff550dabb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff535bdfc in QThread::exec() () from /usr/lib64/libQt5Core.so.5 #6 0x00007ffff6d455f8 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5 #7 0x00007ffff5361246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #8 0x00007ffff1f04314 in start_thread () from /lib64/libpthread.so.0 #9 0x00007ffff4c896dd in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fffe599a700 (LWP 12784)): #0 0x00007ffff4c80aed in poll () from /lib64/libc.so.6 #1 0x00007ffff422da92 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1 #2 0x00007ffff422f67f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007fffe6ea0159 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007ffff5361246 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5 #5 0x00007ffff1f04314 in start_thread () from /lib64/libpthread.so.0 #6 0x00007ffff4c896dd in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7ffff7e187c0 (LWP 12779)): #0 0x00007ffff4bd60d7 in raise () from /lib64/libc.so.6 #1 0x00007ffff4bd743a in abort () from /lib64/libc.so.6 #2 0x00007ffff534f9fe in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5 #3 0x00007ffff534ad27 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib64/libQt5Core.so.5 #4 0x00007ffff6ad37a6 in QVector<int>::at(int) const [clone .part.53] () from /usr/lib64/libQt5Qml.so.5 #5 0x00007ffff6aec966 in VDMModelDelegateDataType::notify(QQmlAdaptorModel const&, QList<QQmlDelegateModelItem*> const&, int, int, QVector<int> const&) const () from /usr/lib64/libQt5Qml.so.5 #6 0x00007ffff6d86469 in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () from /usr/lib64/libQt5Qml.so.5 #7 0x00007ffff6d8bb60 in QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib64/libQt5Qml.so.5 #8 0x00007ffff6db029f in QQmlDelegateModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Qml.so.5 #9 0x00007ffff6db093b in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Qml.so.5 #10 0x00007ffff553b76b in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #11 0x00007ffff55b0fe6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib64/libQt5Core.so.5 #12 0x00007ffff54e5593 in QSortFilterProxyModelPrivate::sort() () from /usr/lib64/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #13 0x00007ffff54e574a in QSortFilterProxyModelPrivate::_q_sourceReset() () from /usr/lib64/libQt5Core.so.5 #14 0x00007ffff54e7a81 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Core.so.5 #15 0x00007ffff553b64e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5 #16 0x00007ffff54bf5d5 in QAbstractItemModel::endResetModel() () from /usr/lib64/libQt5Core.so.5 #17 0x0000000000410a94 in ThemeModel::load() () #18 0x00000000004117d7 in ThemeModel::setTheme(QString const&) () #19 0x000000000041282f in ThemeModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () #20 0x0000000000412a7b in ThemeModel::qt_metacall(QMetaObject::Call, int, void**) () #21 0x00007ffff6c7bf31 in QV4::QObjectWrapper::setProperty(QObject*, QV4::ExecutionContext*, QQmlPropertyData*, QV4::Value const&) () from /usr/lib64/libQt5Qml.so.5 #22 0x00007ffff6c7caae in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () from /usr/lib64/libQt5Qml.so.5 #23 0x00007ffff6c7cc82 in QV4::QObjectWrapper::put(QV4::Managed*, QV4::String*, QV4::Value const&) () from /usr/lib64/libQt5Qml.so.5 #24 0x00007ffff6c8f26f in QV4::Runtime::setProperty(QV4::ExecutionEngine*, QV4::Value const&, int, QV4::Value const&) () from /usr/lib64/libQt5Qml.so.5 #25 0x00007fffdcca895a in ?? () #26 0x0000000000000000 in ?? () (gdb) (In reply to Alexander Potashev from comment #66) > Now I have the same crash with plasmathemeeditor: To get this plasmathemeeditor crash, I had to create a new Plasma theme. Please unpack the attached plasma-theme-111.tar.bz2 into ~/.local/share/plasma/desktoptheme/ and try running plasmathemeeditor. Created attachment 97843 [details]
.tar.bz2 archive of /home/aspotashev/.local/share/plasma/desktoptheme/111
*** Bug 360412 has been marked as a duplicate of this bug. *** *** Bug 360375 has been marked as a duplicate of this bug. *** (In reply to Alexander Potashev from comment #56) > Btw, I have this crash with Plasma 5.5.4, KF 5.19.0 and Qt 5.5.1 on Gentoo. Cannot reproduce the crash after update to Plasma-5.5.95 and Qt 5.6.0-RC (without David's patch). (In reply to Alexander Potashev from comment #66) > Now I have the same crash with plasmathemeeditor: Cannot reproduce this crash after update to Plasma-5.5.95 and Qt 5.6.0-RC (without David's patch). *** Bug 356703 has been marked as a duplicate of this bug. *** Unfortunately now I get this crash again with qt 5.6.0, kf 5.20.0, plasma 5.6.0. I see the bug again too qt 5.6.0, kf 5.20.0, plasma 5.5.5 Fedora23 I see the bug again too qt 5.6.0, kf 5.20.0, plasma 5.5.5 Fedora23 *** Bug 361015 has been marked as a duplicate of this bug. *** *** Bug 360930 has been marked as a duplicate of this bug. *** *** Bug 361245 has been marked as a duplicate of this bug. *** *** Bug 361238 has been marked as a duplicate of this bug. *** *** Bug 361304 has been marked as a duplicate of this bug. *** *** Bug 361444 has been marked as a duplicate of this bug. *** *** Bug 361687 has been marked as a duplicate of this bug. *** *** Bug 361649 has been marked as a duplicate of this bug. *** *** Bug 361544 has been marked as a duplicate of this bug. *** *** Bug 361555 has been marked as a duplicate of this bug. *** *** Bug 361808 has been marked as a duplicate of this bug. *** Thanks for pointing me to this bug. I did a little investigation on my own, although I'm not sure how useful it was. I discovered a few things. Dave's "debug 2" patch appears to be wrong. The patch leads to this code: for (int i = 0; i < signalIndexes.count(); ++i) qDebug() << "DAVE notifying delegates"; QMetaObject::activate(item, signalIndexes.at(i), 0); which I assume is supposed to look like this instead: qDebug() << "DAVE notifying delegates"; for (int i = 0; i < signalIndexes.count(); ++i) QMetaObject::activate(item, signalIndexes.at(i), 0); I believe that's what's caused the odd behavior noticed by Alexander. I modified the patch and replaced qDebug() with fputs(), hoping that if there is a threading issue the simpler nature of fputs() might not mess with the timing too much to mask the problem. qt5-declarative package with my patch still crashes the plasma for me with the following output in the terminal. To trigger the crash I had my laptop connect to network "labak" and once the link was up I tried to connect to another available network: DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates Currrent active notifications: QHash() Guessing partOf as: 0 New Notification: "labak" "Connection 'labak' activated." -1 & Part of: 0 DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates KCrash: Attempting to start /usr/bin/plasmashell from kdeinit sock_file=/run/user/1000/kdeinit5__0 KCrash: Application 'plasmashell' crashing... KCrash: Attempting to start /usr/lib/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0 QSocketNotifier: Invalid socket 8 and type 'Read', disabling... QSocketNotifier: Invalid socket 18 and type 'Read', disabling... zsh: suspended (signal) plasmashell Hi, I deeply appreciate your interest and response in this matter, I'm really not an expert, I can hardly understand what you wrote, and I can simply understand programming code, going through it, but that's about it... I am a dedicated linux user, I am as "expert" as that can take me, without investing any more extra time on it. I am a network engineer, so linux is a natural choice/environment for me. Anyway, I'm afraid I can't help you much, unless you specify files and logs that you need, or further config details. What I can tell you, is that after I read your mail, I performed all offered upgrades in my system, and then tried it again. Just before I write this mail: 1. Disconnect manually from Network Manager GUI my work cable Ethernet connection. 2. Choose a wifi connection, select, then "connect". It automatically produced a crash. 3. Once I see the menu bars again, I open the NM again, and select my VPN profile to connect at work (the Wifi is an external connection). As soon as I select it, it crashes again: Graphical interface goes, and comes back: Same visual effect as if "Explorer" process has crashed in Windows. You see your desktop background empty, with nothing on it for a short while, then things come back again. 4. Give up, disconnect VPN and WiFi, connect back to Ethernet connection : To be honest, I was expecting another crash, but it didn't. It seems to go back to Wired Ethernet, OK. However, applications of wifi and VPN profiles make the GUI crash. If I could bet money on it, I would bet that wifi doesn't always fail, but aplication of VPN profile still always does. Curiously enough, (it doesn't always occur, but) some of the times, when the crash occurs, Thunderbird goes as well. However, this does not occur always, this is why I cannot insist on it, I just mention it in case it provides a hint. If you need any further info from my system, please do not hesitate to ask, I'd be happy to provide as much info as I can. But once I opened the bug through the reporting tool, I do not keep reporting, because I do not want to stuff the system with duplicate info. Kind Regards, Panos K On 18/04/16 18:37, via KDE Bugzilla wrote: > https://bugs.kde.org/show_bug.cgi?id=346118 > > --- Comment #88 from madcatx@atlas.cz --- > Thanks for pointing me to this bug. I did a little investigation on my own, > although I'm not sure how useful it was. I discovered a few things. > > Dave's "debug 2" patch appears to be wrong. The patch leads to this code: > > for (int i = 0; i < signalIndexes.count(); ++i) > qDebug() << "DAVE notifying delegates"; > QMetaObject::activate(item, signalIndexes.at(i), 0); > > which I assume is supposed to look like this instead: > > qDebug() << "DAVE notifying delegates"; > for (int i = 0; i < signalIndexes.count(); ++i) > QMetaObject::activate(item, signalIndexes.at(i), 0); > > > I believe that's what's caused the odd behavior noticed by Alexander. > > I modified the patch and replaced qDebug() with fputs(), hoping that if there > is a threading issue the simpler nature of fputs() might not mess with the > timing too much to mask the problem. qt5-declarative package with my patch > still crashes the plasma for me with the following output in the terminal. To > trigger the crash I had my laptop connect to network "labak" and once the link > was up I tried to connect to another available network: > > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > Currrent active notifications: QHash() > Guessing partOf as: 0 > New Notification: "labak" "Connection 'labak' activated." -1 & Part of: 0 > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > DAVE notifying delegates > KCrash: Attempting to start /usr/bin/plasmashell from kdeinit > sock_file=/run/user/1000/kdeinit5__0 > KCrash: Application 'plasmashell' crashing... > KCrash: Attempting to start /usr/lib/drkonqi from kdeinit > sock_file=/run/user/1000/kdeinit5__0 > QSocketNotifier: Invalid socket 8 and type 'Read', disabling... > QSocketNotifier: Invalid socket 18 and type 'Read', disabling... > zsh: suspended (signal) plasmashell > I gave it another go, this time with plasmashell running in a debugger. I'm afraid that this is the best I can do for now: DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates Thread 1 "plasmashell" received signal SIGBUS, Bus error. 0x00007ffff4bec6c6 in ?? () from /usr/lib/libQt5Qml.so.5 (gdb) bt #0 0x00007ffff4bec6c6 in ?? () from /usr/lib/libQt5Qml.so.5 #1 0x00007ffff4e3600a in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () from /usr/lib/libQt5Qml.so.5 #2 0x00007ffff4e3a7d0 in QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib/libQt5Qml.so.5 #3 0x00007ffff4e5daff in ?? () from /usr/lib/libQt5Qml.so.5 #4 0x00007ffff4e5e298 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQt5Qml.so.5 #5 0x00007ffff1c729f0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #6 0x00007ffff1cebac6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib/libQt5Core.so.5 #7 0x00007ffff1c148d1 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007ffff1c16458 in ?? () from /usr/lib/libQt5Core.so.5 #9 0x00007ffff1c72870 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #10 0x00007ffff1ceb9dc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib/libQt5Core.so.5 #11 0x00007fff2b29ec1d in NetworkModel::updateItem(NetworkModelItem*) () from /usr/lib/libplasmanm_internal.so #12 0x00007fff2b29fc34 in NetworkModel::activeConnectionStateChanged(NetworkManager::ActiveConnection::State) () from /usr/lib/libplasmanm_internal.so #13 0x00007ffff1c72bae in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #14 0x00007fff2b034f91 in NetworkManager::ActiveConnection::stateChanged(NetworkManager::ActiveConnection::State) () from /usr/lib/libKF5NetworkManagerQt.so.6 #15 0x00007fff2af7bc4a in ?? () from /usr/lib/libKF5NetworkManagerQt.so.6 #16 0x00007ffff1c72bae in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #17 0x00007fff2b03db93 in ?? () from /usr/lib/libKF5NetworkManagerQt.so.6 #18 0x00007fff2b045583 in ?? () from /usr/lib/libKF5NetworkManagerQt.so.6 #19 0x00007ffff2a3a643 in ?? () from /usr/lib/libQt5DBus.so.5 #20 0x00007ffff1c73659 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #21 0x00007ffff2df768c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007ffff2dfc8f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #23 0x00007ffff1c46518 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #24 0x00007ffff1c483da in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #25 0x00007ffff1c9b883 in ?? () from /usr/lib/libQt5Core.so.5 #26 0x00007fffed803f07 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #27 0x00007fffed804160 in ?? () from /usr/lib/libglib-2.0.so.0 #28 0x00007fffed80420c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #29 0x00007ffff1c9bc8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #30 0x00007ffff1c446fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #31 0x00007ffff1c4cb7c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #32 0x000000000041c176 in ?? () #33 0x00007ffff12c5710 in __libc_start_main () from /usr/lib/libc.so.6 #34 0x000000000041c2d9 in _start () *** Bug 361749 has been marked as a duplicate of this bug. *** I finally managed to get a good backtrace. This looks a lot like a threading issue. Something seems to modify the "items" QVector while the notify() function in QQmlAdaptorModel is iterating over it. I removed the pass by reference to the nofity() function and with that removed I don't get the crash anymore but the notifications are sent to wrong targets. Let's hope that the Qt folk can sort this out. --- Backtrace --- DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates DAVE notifying delegates ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt/QtCore/qlist.h, line 531 Thread 1 "plasmashell" received signal SIGABRT, Aborted. 0x00007ffff122c2a8 in raise () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff122c2a8 in raise () from /usr/lib/libc.so.6 #1 0x00007ffff122d72a in abort () from /usr/lib/libc.so.6 #2 0x00007ffff19aef41 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5 #3 0x00007ffff19aa2d1 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/libQt5Core.so.5 #4 0x00007ffff4b4aeb7 in QList<int>::at (i=10, this=0x360cf08) at /usr/include/qt/QtCore/qlist.h:531 #5 VDMModelDelegateDataType::notify (this=<optimized out>, items=..., index=<optimized out>, count=<optimized out>, roles=...) at /home/madcat/abs/qt5-declarative/src/qtdeclarative-opensource-src-5.6.0/src/qml/util/qqmladaptormodel.cpp:172 #6 0x00007ffff4dbe36a in QQmlAdaptorModel::notify (roles=..., count=10, index=<optimized out>, items=..., this=0x360cdc8) at /home/madcat/abs/qt5-declarative/src/qtdeclarative-opensource-src-5.6.0/include/QtQml/5.6.0/QtQml/private/../../../../../src/qml/util/qqmladaptormodel_p.h:129 #7 QQmlDelegateModel::_q_itemsChanged (this=this@entry=0x360c6c0, index=index@entry=0, count=10, roles=...) at /home/madcat/abs/qt5-declarative/src/qtdeclarative-opensource-src-5.6.0/src/qml/types/qqmldelegatemodel.cpp:1142 #8 0x00007ffff4dc319c in QQmlDelegateModel::_q_layoutChanged (this=0x360c6c0, parents=..., hint=<optimized out>) at /home/madcat/abs/qt5-declarative/src/qtdeclarative-opensource-src-5.6.0/src/qml/types/qqmldelegatemodel.cpp:1606 #9 0x00007ffff4deb0bf in QQmlDelegateModel::qt_static_metacall (_o=_o@entry=0x360c6c0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=14, _a=_a@entry=0x7fffffffd300) at .moc/moc_qqmldelegatemodel_p.cpp:205 #10 0x00007ffff4deb8b8 in QQmlDelegateModel::qt_metacall (this=0x360c6c0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffffffd300) at .moc/moc_qqmldelegatemodel_p.cpp:347 #11 0x00007ffff1bc69f0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #12 0x00007ffff1c3fac6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib/libQt5Core.so.5 #13 0x00007ffff1b688d1 in ?? () from /usr/lib/libQt5Core.so.5 #14 0x00007ffff1b6a458 in ?? () from /usr/lib/libQt5Core.so.5 #15 0x00007ffff1bc6870 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #16 0x00007ffff1c3f9dc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib/libQt5Core.so.5 #17 0x00007fff2b1cac1d in NetworkModel::updateItem(NetworkModelItem*) () from /usr/lib/libplasmanm_internal.so #18 0x00007fff2b1cbc34 in NetworkModel::activeConnectionStateChanged(NetworkManager::ActiveConnection::State) () from /usr/lib/libplasmanm_internal.so #19 0x00007ffff1bc6bae in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #20 0x00007fff2af60f91 in NetworkManager::ActiveConnection::stateChanged(NetworkManager::ActiveConnection::State) () from /usr/lib/libKF5NetworkManagerQt.so.6 #21 0x00007fff2aea7c4a in ?? () from /usr/lib/libKF5NetworkManagerQt.so.6 #22 0x00007ffff1bc6bae in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #23 0x00007fff2af69b93 in ?? () from /usr/lib/libKF5NetworkManagerQt.so.6 #24 0x00007fff2af71583 in ?? () from /usr/lib/libKF5NetworkManagerQt.so.6 #25 0x00007ffff298e643 in ?? () from /usr/lib/libQt5DBus.so.5 #26 0x00007ffff1bc7659 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #27 0x00007ffff2d4b68c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #28 0x00007ffff2d508f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #29 0x00007ffff1b9a518 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #30 0x00007ffff1b9c3da in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #31 0x00007ffff1bef883 in ?? () from /usr/lib/libQt5Core.so.5 #32 0x00007fffed757f07 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #33 0x00007fffed758160 in ?? () from /usr/lib/libglib-2.0.so.0 #34 0x00007fffed75820c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #35 0x00007ffff1befc8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #36 0x00007ffff1b986fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #37 0x00007ffff1ba0b7c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #38 0x000000000041c176 in ?? () #39 0x00007ffff1219710 in __libc_start_main () from /usr/lib/libc.so.6 #40 0x000000000041c2d9 in _start () *** Bug 362072 has been marked as a duplicate of this bug. *** *** Bug 358245 has been marked as a duplicate of this bug. *** *** Bug 362054 has been marked as a duplicate of this bug. *** *** Bug 362159 has been marked as a duplicate of this bug. *** *** Bug 362574 has been marked as a duplicate of this bug. *** *** Bug 362633 has been marked as a duplicate of this bug. *** Taking the liberty of re-opening this bug, at least until some Qt upstream bug gets (re)opened (In reply to Rex Dieter from comment #99) > Taking the liberty of re-opening this bug, at least until some Qt upstream > bug gets (re)opened I've commented on: https://bugreports.qt.io/browse/QTBUG-43827 Hope it's the correct report. (In reply to Diego from comment #100) > (In reply to Rex Dieter from comment #99) > > Taking the liberty of re-opening this bug, at least until some Qt upstream > > bug gets (re)opened > > I've commented on: > https://bugreports.qt.io/browse/QTBUG-43827 > Hope it's the correct report. Looks like it wasn't the correct one. Giuseppe D'Angelo from Qt wrote: "I don't think it's about this bug. This is about a specific regression introduced in a commit, which led to reverting the code to the previous version. Hence either you're talking about the bug that was meant to be fixed (QTBUG-1548), or about some other bug, which is quite likely since QTBUG-1548 is not about fixing some crash. " So is this KDE crash a consequence of modified sorting caused by the (open) QTBUG-1548? https://bugreports.qt.io/browse/QTBUG-1548 *** Bug 362819 has been marked as a duplicate of this bug. *** *** Bug 362781 has been marked as a duplicate of this bug. *** *** Bug 362753 has been marked as a duplicate of this bug. *** *** Bug 362737 has been marked as a duplicate of this bug. *** *** Bug 363208 has been marked as a duplicate of this bug. *** *** Bug 363101 has been marked as a duplicate of this bug. *** Created attachment 99222 [details]
Fix crash in libQt5Qml
This patch against qtdeclarative-opensource-src-5.5.1 fixes the problem for me. Somehow the items QList shrinks from 12 items to 10 items during the for loop, which causes the crash. Please test this patch and report if it fixes the problem for you too.
(In reply to Lamarque V. Souza from comment #108) > Created attachment 99222 [details] > Fix crash in libQt5Qml > > This patch against qtdeclarative-opensource-src-5.5.1 fixes the problem for > me. Somehow the items QList shrinks from 12 items to 10 items during the for > loop, which causes the crash. Please test this patch and report if it fixes > the problem for you too. Here are Fedora 23 packages including the patch, for those interested in testing: https://cloud.wyffy.com/index.php/s/C4zaHblCObJaxIr I'll report my testing results soon. (In reply to Diego from comment #109) > (In reply to Lamarque V. Souza from comment #108) > > Created attachment 99222 [details] > > Fix crash in libQt5Qml > > > > This patch against qtdeclarative-opensource-src-5.5.1 fixes the problem for > > me. Somehow the items QList shrinks from 12 items to 10 items during the for > > loop, which causes the crash. Please test this patch and report if it fixes > > the problem for you too. > > Here are Fedora 23 packages including the patch, for those interested in > testing: > https://cloud.wyffy.com/index.php/s/C4zaHblCObJaxIr > I'll report my testing results soon. @Lamarque: so far so good; I haven't been able to reproduce the crash with your patch applied. For those on Fedora 23/24, please don't use my packages, as now an official package has been submitted for testing: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e78000fedc https://bugzilla.redhat.com/show_bug.cgi?id=1259472 Somewhat off topic: I wanted to try out Lamarque's proposed fix but I ran into what seems to be problem with GCC 6. No matter whether I build the qt5-declarative package (Arch Linux) with our without the patch I always get a segfault in libQt5Qml.so. It's difficult to debug because I cannot even log in since the problem takes down the sddm-greeter. Original package from Arch Linux repo which was built with GCC 5 works. Has anybody else experienced this? Check our Fedora package, we have GCC 6 for a while in Fedora 24+ and had some troubles with that if I remember correctly. Link: http://pkgs.fedoraproject.org/cgit/rpms/qt5-qtdeclarative.git/log/?h=f24 (In reply to madcatx from comment #111) > Somewhat off topic: > > I wanted to try out Lamarque's proposed fix but I ran into what seems to be > problem with GCC 6. No matter whether I build the qt5-declarative package > (Arch Linux) with our without the patch I always get a segfault in > libQt5Qml.so. It's difficult to debug because I cannot even log in since the > problem takes down the sddm-greeter. Original package from Arch Linux repo > which was built with GCC 5 works. Has anybody else experienced this? What you see is probably the results of undefined behaviour, which in GCC 6 results in crashes due to more aggressive optimisations: https://bugreports.qt.io/browse/QTBUG-52057 I am having the same issue, on ubuntu 16.04. Plasma-nm crashes when i press connect on an excisting pre-configured vpn. Kind regards Created attachment 99393 [details] Fix problem without changing libQt5Qml. Can someone test this patch against Plasma NM? You must revert the patch to qtdeclarative. This is another attempt to fix the crash, it works for me. The issue with the other patch is that it probably fixes a symptom instead of the real problem: https://codereview.qt-project.org/#/c/160884/ *** Bug 364032 has been marked as a duplicate of this bug. *** *** Bug 363996 has been marked as a duplicate of this bug. *** (In reply to Lamarque V. Souza from comment #115) > Created attachment 99393 [details] > Fix problem without changing libQt5Qml. > > Can someone test this patch against Plasma NM? You must revert the patch to > qtdeclarative. This is another attempt to fix the crash, it works for me. > The issue with the other patch is that it probably fixes a symptom instead > of the real problem: https://codereview.qt-project.org/#/c/160884/ This patch refelcts the plasama-nm crashes when connecting to a vpn? How do i apply this patch? This matter is new for me. (In reply to Roland from comment #118) > (In reply to Lamarque V. Souza from comment #115) > > Created attachment 99393 [details] > > Fix problem without changing libQt5Qml. > > > > Can someone test this patch against Plasma NM? You must revert the patch to > > qtdeclarative. This is another attempt to fix the crash, it works for me. > > The issue with the other patch is that it probably fixes a symptom instead > > of the real problem: https://codereview.qt-project.org/#/c/160884/ > > This patch refelcts the plasama-nm crashes when connecting to a vpn? > > How do i apply this patch? This matter is new for me. This bug entry is about the crash when changing MTU value. You have to open another bug report about other bugs. (In reply to Lamarque V. Souza from comment #119) > > This bug entry is about the crash when changing MTU value. You have to open > another bug report about other bugs. Weird thing is that: - VPN crash reports get marked (for example by Jan Grulich) as a duplicate of this bug - you previous patch against qtdeclarative fixed the problem with VPN too. So there's probably no need to open separate reports yet (or we can just "unduplicate" one of the VPN ones). (In reply to Diego from comment #120) > (In reply to Lamarque V. Souza from comment #119) > > > > This bug entry is about the crash when changing MTU value. You have to open > > another bug report about other bugs. > > Weird thing is that: > - VPN crash reports get marked (for example by Jan Grulich) as a duplicate > of this bug > - you previous patch against qtdeclarative fixed the problem with VPN too. > > So there's probably no need to open separate reports yet (or we can just > "unduplicate" one of the VPN ones). If the vpn crash has simular backtrace as this one then they are the same bug and there is no need to open a new bug report. *** Bug 360842 has been marked as a duplicate of this bug. *** *** Bug 363095 has been marked as a duplicate of this bug. *** *** Bug 363145 has been marked as a duplicate of this bug. *** *** Bug 363241 has been marked as a duplicate of this bug. *** *** Bug 363469 has been marked as a duplicate of this bug. *** *** Bug 363661 has been marked as a duplicate of this bug. *** *** Bug 363745 has been marked as a duplicate of this bug. *** *** Bug 364255 has been marked as a duplicate of this bug. *** I applied the patch to plasma-nm a few days ago and things seem good so far. I tried to juggle with various wired, wireless and VPN network this morning to give it a bit of a stress test and plasma-nm handled everything perfectly. I don't move around with my laptop a lot these days so I cannot replicate the conditions where I was noticing the problems well enough; on the other hand I was always getting a few plasma crashes a week because of this and plasma stayed rock-solid since I applied the patch. Git commit ee14918070204deabcf48a669edf97a427f1d0f2 by Lamarque V. Souza. Committed on 15/06/2016 at 18:08. Pushed by lvsouza into branch 'master'. Reset the whole model instead of emitting dataChanged() for each item. Emitting several dataChanged() in a row, without going back to Qt's event loop in between seems to cause reentrancy problems in the QML delegates connected to this model. Upstream version of our bug #346118: https://bugreports.qt.io/browse/QTBUG-53677 Tentative patch to fix the bug above: https://codereview.qt-project.org/#/c/160884/ M +9 -3 libs/models/networkmodel.cpp http://commits.kde.org/plasma-nm/ee14918070204deabcf48a669edf97a427f1d0f2 *** Bug 364344 has been marked as a duplicate of this bug. *** Perhaps it's not that you can't send multiple dataChanged signals without returning to event loop, but dataChanged is not correct signal here. dataChanged must be sent if only data of items is changed, but since order of the items in the list is also changing, beginResetModel-endResetModel pair or layoutAboutToBeChanged-layoutChanged are both correct solutions here. *** Bug 364377 has been marked as a duplicate of this bug. *** *** Bug 364484 has been marked as a duplicate of this bug. *** *** Bug 364671 has been marked as a duplicate of this bug. *** *** Bug 364442 has been marked as a duplicate of this bug. *** *** Bug 365583 has been marked as a duplicate of this bug. *** *** Bug 365592 has been marked as a duplicate of this bug. *** *** Bug 365341 has been marked as a duplicate of this bug. *** *** Bug 365730 has been marked as a duplicate of this bug. *** *** Bug 365860 has been marked as a duplicate of this bug. *** *** Bug 365902 has been marked as a duplicate of this bug. *** For me this bug appeared a few days ago. My system details: up-to-date arch linux. plasma-nm: 5.7.2 plasma-workspace: 5.7.2 qt: 5.7.0 when I try to connect to a VPN using networkmanager the whole plasmashell crashes. I recompiled plasma-desktop and plasma-nm with debug enabled but I must have done something wrong because I cannot produce a significative backtrace. If you guide me I can reproduce the problem very precisely to get the backtrace. # coredumpctl gdb plasmashell PID: 19230 (plasmashell) UID: 1000 (whites) GID: 100 (users) Signal: 11 (SEGV) Timestamp: lun 2016-07-25 15:23:17 CEST (1 day 3h ago) Command Line: /usr/bin/plasmashell Executable: /usr/bin/plasmashell Control Group: /user.slice/user-1000.slice/session-c2.scope Unit: session-c2.scope Slice: user-1000.slice Session: c2 Owner UID: 1000 (whites) Boot ID: a9d393454c334abbbc38526fe46a6eed Machine ID: 33cac937ea1a406db83de0e81f0d58af Hostname: whitesbook Coredump: /var/lib/systemd/coredump/core.plasmashell.1000.a9d393454c334abbbc38526fe46a6eed.19230.1469452997000000000000.lz4 Message: Process 19230 (plasmashell) of user 1000 dumped core. Stack trace of thread 19230: #0 0x00007fe55ce10179 operator() (/usr/lib/qt/qml/org/kde/plasma/networkmanagement/libplasmanm_qmlplugins.so) GNU gdb (GDB) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/plasmashell...done. BFD: Warning: /var/tmp/coredump-ur2o55 is truncated: expected core file size >= 2350624768, found: 2147483648. [New LWP 19230] [New LWP 19235] [New LWP 19233] [New LWP 19236] [New LWP 19237] [New LWP 19238] [New LWP 19239] Cannot access memory at address 0x7fe61bb470e8 Cannot access memory at address 0x7fe61bb470e0 Failed to read a valid object file image from memory. Core was generated by `/usr/bin/plasmashell'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fe55ce10179 in ?? () [Current thread is 1 (LWP 19230)] (gdb) bt #0 0x00007fe55ce10179 in ?? () Backtrace stopped: Cannot access memory at address 0x7ffe81ea8b30 (In reply to whites11 from comment #144) > I recompiled plasma-desktop and plasma-nm with debug enabled but I must have > done something wrong because I cannot produce a significative backtrace. > If you guide me I can reproduce the problem very precisely to get the > backtrace. The assert triggered here is in QtDeclarative, so you must load Qt's symbols to get a good backtrace. Have you tried this? https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces > Stack trace of thread 19230: > #0 0x00007fe55ce10179 operator() > (/usr/lib/qt/qml/org/kde/plasma/networkmanagement/libplasmanm_qmlplugins.so) This indicates a problem in an operator() function. I do not recall any operator() in the backtraces about this bug. I installed the debug version of qt-declarative but still no backtrace. Which of the packages at the following link could be the correct one in your opinion? https://github.com/The-Compiler/qt-debug-pkgbuild You need both qt5-declarative and plasma-nm package built with debugging symbols to get a useful backtrace. Are you sure you set options=("!strip") in plasma-nm's PKGBUILD? Without it the debugging symbols get stripped away. I'm not sure what is the point to run gdb through codedumpctl, running just plain gdb worked perfectly fine for me. (In reply to madcatx from comment #147) > You need both qt5-declarative and plasma-nm package built with debugging > symbols to get a useful backtrace. Are you sure you set options=("!strip") > in plasma-nm's PKGBUILD? Without it the debugging symbols get stripped away. > I'm not sure what is the point to run gdb through codedumpctl, running just > plain gdb worked perfectly fine for me. Thanks for reply. plasma-nm is not stripped: /usr/lib/libplasmanm_internal.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=dbdc42f144e99d59f1e83c1b331bcf50234db6cc, not stripped qt is not stripped: /usr/lib/libQt5Gui.so.5.7.0: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=62cb08d718d538911260b1462f9f5b34dcdd4b94, not stripped qt5-declarative is not stripped /usr/lib/libQt5Qml.so.5.7.0: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=849296eda22a1f1d6ef416f95b8983efdf9bd8f4, not stripped anyway I still see no backtrace. Could you help me using gdb directly without coredumpctl? (In reply to whites11 from comment #148) > anyway I still see no backtrace. > Could you help me using gdb directly without coredumpctl? In konsole: $ kquitapp5 plasmashell $ gdb plasmashell gdb> run (In reply to Lamarque V. Souza from comment #149) > (In reply to whites11 from comment #148) > > anyway I still see no backtrace. > > Could you help me using gdb directly without coredumpctl? > > In konsole: > > $ kquitapp5 plasmashell > $ gdb plasmashell > gdb> run Thanks. this is a (kind of) backtrace I got from the above procedure: Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault. 0x00007fff39443179 in NetworkStatus::<lambda(const Ptr&, const Ptr&)>::operator() (__closure=<optimized out>, right=..., left=...) at /home/whites/Downloads/plasma-nm/src/plasma-nm-5.7.2/libs/declarative/networkstatus.cpp:168 168 return NetworkStatus::connectionTypeToSortedType(left->type()) <= NetworkStatus::connectionTypeToSortedType(right->type()); (In reply to whites11 from comment #150) > (In reply to Lamarque V. Souza from comment #149) > > (In reply to whites11 from comment #148) > > > anyway I still see no backtrace. > > > Could you help me using gdb directly without coredumpctl? > > > > In konsole: > > > > $ kquitapp5 plasmashell > > $ gdb plasmashell > > gdb> run > > Thanks. > this is a (kind of) backtrace I got from the above procedure: > > Thread 1 "plasmashell" received signal SIGSEGV, Segmentation fault. > 0x00007fff39443179 in NetworkStatus::<lambda(const Ptr&, const > Ptr&)>::operator() (__closure=<optimized out>, right=..., left=...) > at > /home/whites/Downloads/plasma-nm/src/plasma-nm-5.7.2/libs/declarative/ > networkstatus.cpp:168 > 168 return > NetworkStatus::connectionTypeToSortedType(left->type()) <= > NetworkStatus::connectionTypeToSortedType(right->type()); This is definitely a different bug than this one. Please open a different bug report to continue this conversation there. (In reply to Lamarque V. Souza from comment #151) > This is definitely a different bug than this one. Please open a different > bug report to continue this conversation there. Ok, my apologies, I opened a new bug report https://bugs.kde.org/show_bug.cgi?id=366164 *** Bug 366287 has been marked as a duplicate of this bug. *** *** Bug 366270 has been marked as a duplicate of this bug. *** *** Bug 366228 has been marked as a duplicate of this bug. *** *** Bug 366193 has been marked as a duplicate of this bug. *** *** Bug 366145 has been marked as a duplicate of this bug. *** *** Bug 366369 has been marked as a duplicate of this bug. *** *** Bug 366439 has been marked as a duplicate of this bug. *** *** Bug 368667 has been marked as a duplicate of this bug. *** *** Bug 368781 has been marked as a duplicate of this bug. *** *** Bug 369282 has been marked as a duplicate of this bug. *** *** Bug 369583 has been marked as a duplicate of this bug. *** *** Bug 370539 has been marked as a duplicate of this bug. *** *** Bug 372368 has been marked as a duplicate of this bug. *** *** Bug 372595 has been marked as a duplicate of this bug. *** *** Bug 372303 has been marked as a duplicate of this bug. *** *** Bug 373196 has been marked as a duplicate of this bug. *** *** Bug 373594 has been marked as a duplicate of this bug. *** *** Bug 374580 has been marked as a duplicate of this bug. *** *** Bug 374634 has been marked as a duplicate of this bug. *** *** Bug 378141 has been marked as a duplicate of this bug. *** The duplicate bug 374634 was encountered in Plasma Ver. 5.8.3, Frameworks 5.26.0, Qt 5.6.1, kernel 4.4.49-16-default, os 64-bit, and a patched plasma-nm5 5.8.2-1.1. Continues to be encountered. *** Bug 378609 has been marked as a duplicate of this bug. *** *** Bug 379032 has been marked as a duplicate of this bug. *** *** Bug 379370 has been marked as a duplicate of this bug. *** *** Bug 385511 has been marked as a duplicate of this bug. *** *** Bug 386121 has been marked as a duplicate of this bug. *** *** Bug 392627 has been marked as a duplicate of this bug. *** |