Bug 373196

Summary: Plasma crashes on networkchange when more than 5 networks are used
Product: [Plasma] plasmashell Reporter: Joachim 'Joshi' Friberg <friberg.joachim>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aj, bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joachim 'Joshi' Friberg 2016-12-02 18:08:59 UTC
Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-47-generic x86_64
Distribution: Ubuntu 16.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I have dockerswarm running on my dev-machine. It creates about 5 network adapters for my environment. If I close docker then I can switch network no problem. But with docker active then NetworkManager kills Plasma, or vice versa.

- Custom settings of the application:
create a docker swarm with docker 1.12 or above. I have no running containers and it still crashes.
KDE installed by default  as I'm running Kubuntu.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd2770c38c0 (LWP 2774))]

Thread 8 (Thread 0x7fd1afedb700 (LWP 3216)):
#0  0x00007fd2717d3b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd26e56939c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd26e5694ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd272100a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd2720a7dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd271ec48a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd2750f2ed6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007fd271ec984e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd270fb670a in start_thread (arg=0x7fd1afedb700) at pthread_create.c:333
#9  0x00007fd2717df82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fd2461bb700 (LWP 3213)):
#0  0x00007fd2717d3b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd26e56939c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd26e5694ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd272100a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd2720a7dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd271ec48a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd1b29cc7d7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007fd271ec984e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd270fb670a in start_thread (arg=0x7fd2461bb700) at pthread_create.c:333
#9  0x00007fd2717df82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fd24ccf9700 (LWP 2838)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd276b11bd4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fd276b11c19 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fd270fb670a in start_thread (arg=0x7fd24ccf9700) at pthread_create.c:333
#4  0x00007fd2717df82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fd24e657700 (LWP 2827)):
#0  0x00007fd2717d3b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd26e56939c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd26e5694ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd272100a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd2720a7dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd271ec48a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd27476c3c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fd271ec984e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd270fb670a in start_thread (arg=0x7fd24e657700) at pthread_create.c:333
#9  0x00007fd2717df82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fd25040f700 (LWP 2826)):
#0  0x00007fd26e5adae4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd26e568920 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd26e5692cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd26e5694ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd272100a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd2720a7dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd271ec48a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd27476c3c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fd271ec984e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fd270fb670a in start_thread (arg=0x7fd25040f700) at pthread_create.c:333
#10 0x00007fd2717df82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fd25b9d9700 (LWP 2797)):
#0  0x00007fd2717d3b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd26e56939c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd26e5694ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd272100a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fd2720a7dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd271ec48a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fd27476c3c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fd271ec984e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd270fb670a in start_thread (arg=0x7fd25b9d9700) at pthread_create.c:333
#9  0x00007fd2717df82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd262267700 (LWP 2775)):
#0  0x00007fd2717d3b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd275898c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd27589a8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd2643b5629 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fd271ec984e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fd270fb670a in start_thread (arg=0x7fd262267700) at pthread_create.c:333
#6  0x00007fd2717df82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd2770c38c0 (LWP 2774)):
[KCrash Handler]
#6  0x00007fd2720b23b0 in QMetaObject::methodOffset() const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd2720d980b in QMetaObject::activate(QObject*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fd27453c132 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fd2747adada in QQmlDelegateModel::_q_itemsChanged(int, int, QVector<int> const&) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007fd2747b26f2 in QQmlDelegateModel::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007fd2747d51af in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007fd2747d5968 in QQmlDelegateModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007fd2720d9180 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fd2721551e6 in QAbstractItemModel::layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fd272079dea in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fd27207b898 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fd2720d8fca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fd2721550fc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fd1ad04afbd in NetworkModel::updateItem(NetworkModelItem*) () from /usr/lib/x86_64-linux-gnu/libplasmanm_internal.so
#20 0x00007fd1ad050bbf in NetworkModel::addActiveConnection(QSharedPointer<NetworkManager::ActiveConnection> const&) () from /usr/lib/x86_64-linux-gnu/libplasmanm_internal.so
#21 0x00007fd1ad051073 in NetworkModel::activeConnectionAdded(QString const&) () from /usr/lib/x86_64-linux-gnu/libplasmanm_internal.so
#22 0x00007fd2720d8e4f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fd1acde6f85 in NetworkManager::Notifier::activeConnectionAdded(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#24 0x00007fd1acd6c7b3 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#25 0x00007fd1acd6c9b7 in NetworkManager::activatingConnection() () from /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#26 0x00007fd1ad281994 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/networkmanagement/libplasmanm_qmlplugins.so
#27 0x00007fd2720d8e4f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fd1acde7135 in NetworkManager::Notifier::activatingConnectionChanged(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#29 0x00007fd1acd6dd69 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#30 0x00007fd2720d8e4f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fd1acdf2210 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#32 0x00007fd1acdf89b0 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5NetworkManagerQt.so.6
#33 0x00007fd277209913 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#34 0x00007fd2720d9ea1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fd272bad05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007fd272bb2516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007fd2720aa62b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fd2720aca26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007fd272100673 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007fd26e5691a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fd26e569400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fd26e5694ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fd272100a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007fd2720a7dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007fd2720afe8c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x0000000000432d4a in main ()

Possible duplicates by query: bug 372595, bug 372368, bug 370539, bug 369583, bug 369282.

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2016-12-05 08:52:32 UTC
*** Bug 373261 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2016-12-11 23:22:41 UTC

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