Bug 376109

Summary: Connections crash/bug on disconnect
Product: [Unmaintained] plasma-nm Reporter: Frieder <codewing>
Component: kcmAssignee: Jan Grulich <jgrulich>
Status: RESOLVED INTENTIONAL    
Severity: crash CC: jgrulich
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.9.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frieder 2017-02-06 17:14:02 UTC
Application: kcmshell5 (5.9.0)

Qt Version: 5.8.0
Frameworks Version: 5.30.0
Operating System: Linux 4.9.7-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
Disconnected from a network

- Unusual behavior I noticed:
Everytime I disconnect from a network the connection screen shows all avalilable connections and each of them multiple times.

The crash can be reproduced sometimes.

-- Backtrace:
Application: System Settings Module (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3d2250f800 (LWP 2201))]

Thread 4 (Thread 0x7f3cfde71700 (LWP 2204)):
#0  0x00007f3d21f2348d in poll () from /usr/lib/libc.so.6
#1  0x00007f3d1a122786 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f3d1a12289c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f3d1f5fe46b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f3d1f5a7c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f3d1f3c9a73 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f3d1def0025 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007f3d1f3ce6d8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f3d1c347454 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f3d21f2c7df in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f3d06295700 (LWP 2203)):
#0  0x00007f3d1f3c5c49 in QMutex::unlock() () from /usr/lib/libQt5Core.so.5
#1  0x00007f3d1f5fdbf1 in ?? () from /usr/lib/libQt5Core.so.5
#2  0x00007f3d1a121c89 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0x00007f3d1a1226ab in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f3d1a12289c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f3d1f5fe46b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f3d1f5a7c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007f3d1f3c9a73 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007f3d20fad125 in ?? () from /usr/lib/libQt5DBus.so.5
#9  0x00007f3d1f3ce6d8 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007f3d1c347454 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007f3d21f2c7df in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f3d0e7bc700 (LWP 2202)):
#0  0x00007f3d21f2348d in poll () from /usr/lib/libc.so.6
#1  0x00007f3d1c76c8e0 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f3d1c76e679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f3d10d20239 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f3d1f3ce6d8 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f3d1c347454 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f3d21f2c7df in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f3d2250f800 (LWP 2201)):
[KCrash Handler]
#6  0x00007f3d045347be in NetworkManager::WirelessSecuritySetting::psk() const () from /usr/lib/libKF5NetworkManagerQt.so.6
#7  0x00007f3d048150ea in WifiSecurity::loadSecrets(QSharedPointer<NetworkManager::Setting> const&) () from /usr/lib/libplasmanm_editor.so
#8  0x00007f3d04832303 in ConnectionEditorBase::replyFinished(QDBusPendingCallWatcher*) () from /usr/lib/libplasmanm_editor.so
#9  0x00007f3d1f5d54be in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#10 0x00007f3d21004d9f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib/libQt5DBus.so.5
#11 0x00007f3d21004e98 in ?? () from /usr/lib/libQt5DBus.so.5
#12 0x00007f3d1f5d5fa9 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007f3d2028b34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f3d20292b61 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f3d1f5a9840 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#16 0x00007f3d1f5abfcd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#17 0x00007f3d1f5fe043 in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007f3d1a122587 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007f3d1a1227f0 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007f3d1a12289c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007f3d1f5fe44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#22 0x00007f3d1f5a7c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#23 0x00007f3d1f5b01e4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#24 0x00007f3d221e9f93 in kdemain () from /usr/lib/libkdeinit5_kcmshell5.so
#25 0x00007f3d21e64291 in __libc_start_main () from /usr/lib/libc.so.6
#26 0x000000000040066a in _start ()

Reported using DrKonqi
Comment 1 Jan Grulich 2017-02-08 06:32:40 UTC
Install please all needed debug symbols and post a proper backtrace.
Comment 2 Jan Grulich 2017-10-02 08:49:55 UTC
Closing as there is no response from the reporter. Please reopen this bug if you manage to reproduce it with latest Plasma version and with proper debug symbols.