Bug 345779

Summary: KDE Plasma Crashes After restarting Network Manager
Product: [Plasma] plasmashell Reporter: sdfert123
Component: Networking in generalAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: jgrulich
Priority: NOR Keywords: drkonqi
Version First Reported In: master   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sdfert123 2015-04-01 22:26:55 UTC
Application: plasma-desktop (4.11.16)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.3-200.fc21.x86_64 x86_64
Distribution: "Fedora release 21 (Twenty One)"

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

I was restarting Network Manager Service through CLI and KDE Plasma Desktop Crashed. It happens most of the time when Network Manager service is restarted.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f83956e5880 (LWP 3022))]

Thread 3 (Thread 0x7f835f976700 (LWP 3023)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f837d52d49a in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f837d832f80 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f837d52d4c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f8393cb752a in start_thread (arg=0x7f835f976700) at pthread_create.c:310
#4  0x00007f839227f22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f82d971b700 (LWP 3024)):
#0  0x00007f8392273c8d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f838e95cb34 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f82d4003410, timeout=-1, context=0x7f82d40009a0) at gmain.c:4076
#2  g_main_context_iterate (context=context@entry=0x7f82d40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3776
#3  0x00007f838e95cc4c in g_main_context_iteration (context=0x7f82d40009a0, may_block=1) at gmain.c:3842
#4  0x00007f83940814be in QEventDispatcherGlib::processEvents (this=0x7f82d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f8394050cc1 in QEventLoop::processEvents (this=this@entry=0x7f82d971ad00, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f8394051025 in QEventLoop::exec (this=this@entry=0x7f82d971ad00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f8393f45b49 in QThread::exec (this=this@entry=0x2651ee0) at thread/qthread.cpp:538
#8  0x00007f8394031623 in QInotifyFileSystemWatcherEngine::run (this=0x2651ee0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f8393f483af in QThreadPrivate::start (arg=0x2651ee0) at thread/qthread_unix.cpp:349
#10 0x00007f8393cb752a in start_thread (arg=0x7f82d971b700) at pthread_create.c:310
#11 0x00007f839227f22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f83956e5880 (LWP 3022)):
[KCrash Handler]
#6  0x00007f82d3231418 in NetworkManager::WirelessSetting::security (this=this@entry=0x0) at /usr/src/debug/libnm-qt-0.9.8.3/settings/wirelesssetting.cpp:252
#7  0x00007f82d32040af in NetworkManager::Utils::securityTypeFromConnectionSetting (settings=...) at /usr/src/debug/libnm-qt-0.9.8.3/utils.cpp:411
#8  0x00007f82d37c5525 in UiUtils::wirelessDetails (wirelessDevice=..., ap=..., connection=..., keys=...) at /usr/src/debug/plasma-nm-0.9.3.5/libs/uiutils.cpp:850
#9  0x00007f82d37b702b in NetworkModelItem::updateDetails (this=this@entry=0x2ef0120) at /usr/src/debug/plasma-nm-0.9.3.5/libs/models/networkmodelitem.cpp:479
#10 0x00007f82d37aa4a5 in NetworkModel::updateItem (this=this@entry=0x2d76b00, item=item@entry=0x2ef0120) at /usr/src/debug/plasma-nm-0.9.3.5/libs/models/networkmodel.cpp:575
#11 0x00007f82d37ad3d0 in NetworkModel::addAvailableConnection (this=this@entry=0x2d76b00, connection=..., device=...) at /usr/src/debug/plasma-nm-0.9.3.5/libs/models/networkmodel.cpp:389
#12 0x00007f82d37adf34 in NetworkModel::availableConnectionAppeared (this=0x2d76b00, connection=...) at /usr/src/debug/plasma-nm-0.9.3.5/libs/models/networkmodel.cpp:661
#13 0x00007f82d37a7139 in NetworkModel::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/plasma-nm-0.9.3.5/x86_64-redhat-linux-gnu/libs/moc_networkmodel.cpp:115
#14 0x00007f8394066cdc in QMetaObject::activate (sender=sender@entry=0x36ec8a0, m=m@entry=0x7f82d34ec5c0 <NetworkManager::Device::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7fff30514080) at kernel/qobject.cpp:3567
#15 0x00007f82d31de205 in NetworkManager::Device::availableConnectionAppeared (this=this@entry=0x36ec8a0, _t1=...) at /usr/src/debug/libnm-qt-0.9.8.3/x86_64-redhat-linux-gnu/device.moc:313
#16 0x00007f82d31e1fcf in NetworkManager::Device::propertyChanged (this=this@entry=0x36ec8a0, property=..., value=...) at /usr/src/debug/libnm-qt-0.9.8.3/device.cpp:210
#17 0x00007f82d320dfb8 in NetworkManager::WiredDevice::propertyChanged (this=0x36ec8a0, property=..., value=...) at /usr/src/debug/libnm-qt-0.9.8.3/wireddevice.cpp:103
#18 0x00007f82d31dda83 in NetworkManager::Device::propertiesChanged (this=0x36ec8a0, properties=...) at /usr/src/debug/libnm-qt-0.9.8.3/device.cpp:503
#19 0x00007f8394066cdc in QMetaObject::activate (sender=sender@entry=0x2ef9e78, m=m@entry=0x7f82d34edac0 <OrgFreedesktopNetworkManagerDeviceWiredInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff305143d0) at kernel/qobject.cpp:3567
#20 0x00007f82d3218fd2 in OrgFreedesktopNetworkManagerDeviceWiredInterface::PropertiesChanged (this=this@entry=0x2ef9e78, _t1=...) at /usr/src/debug/libnm-qt-0.9.8.3/x86_64-redhat-linux-gnu/nm-device-ethernetinterface.moc:132
#21 0x00007f82d3219031 in OrgFreedesktopNetworkManagerDeviceWiredInterface::qt_static_metacall (_o=_o@entry=0x2ef9e78, _id=_id@entry=0, _a=_a@entry=0x7fff305145e0, _c=QMetaObject::InvokeMetaMethod) at /usr/src/debug/libnm-qt-0.9.8.3/x86_64-redhat-linux-gnu/nm-device-ethernetinterface.moc:57
#22 0x00007f82d321927d in qt_static_metacall (_a=0x7fff305145e0, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x2ef9e78) at /usr/src/debug/libnm-qt-0.9.8.3/x86_64-redhat-linux-gnu/nm-device-ethernetinterface.moc:120
#23 OrgFreedesktopNetworkManagerDeviceWiredInterface::qt_metacall (this=0x2ef9e78, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff305145e0) at /usr/src/debug/libnm-qt-0.9.8.3/x86_64-redhat-linux-gnu/nm-device-ethernetinterface.moc:96
#24 0x00007f83943df696 in QDBusConnectionPrivate::deliverCall (this=0x1c8a410, object=0x2ef9e78, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#25 0x00007f839406b3d1 in QObject::event (this=0x2ef9e78, e=<optimized out>) at kernel/qobject.cpp:1222
#26 0x00007f8393189efc in QApplicationPrivate::notify_helper (this=this@entry=0x1bc5240, receiver=receiver@entry=0x2ef9e78, e=e@entry=0x39fa6c0) at kernel/qapplication.cpp:4565
#27 0x00007f8393190958 in QApplication::notify (this=this@entry=0x1bb21f0, receiver=receiver@entry=0x2ef9e78, e=e@entry=0x39fa6c0) at kernel/qapplication.cpp:4351
#28 0x00007f83950b8c6a in KApplication::notify (this=0x1bb21f0, receiver=0x2ef9e78, event=0x39fa6c0) at /usr/src/debug/kdelibs-4.14.6/kdeui/kernel/kapplication.cpp:311
#29 0x00007f839405216d in QCoreApplication::notifyInternal (this=0x1bb21f0, receiver=receiver@entry=0x2ef9e78, event=event@entry=0x39fa6c0) at kernel/qcoreapplication.cpp:953
#30 0x00007f8394055431 in sendEvent (event=0x39fa6c0, receiver=0x2ef9e78) at kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1ad6ff0) at kernel/qcoreapplication.cpp:1577
#32 0x00007f83940558c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#33 0x00007f839408132e in sendPostedEvents () at kernel/qcoreapplication.h:236
#34 postEventSourceDispatch (s=0x1bc00d0) at kernel/qeventdispatcher_glib.cpp:300
#35 0x00007f838e95c7fb in g_main_dispatch (context=0x1bc0010) at gmain.c:3111
#36 g_main_context_dispatch (context=context@entry=0x1bc0010) at gmain.c:3710
#37 0x00007f838e95cb98 in g_main_context_iterate (context=context@entry=0x1bc0010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3781
#38 0x00007f838e95cc4c in g_main_context_iteration (context=0x1bc0010, may_block=1) at gmain.c:3842
#39 0x00007f839408149e in QEventDispatcherGlib::processEvents (this=0x1bb7fb0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#40 0x00007f839322d176 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#41 0x00007f8394050cc1 in QEventLoop::processEvents (this=this@entry=0x7fff30514c40, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f8394051025 in QEventLoop::exec (this=this@entry=0x7fff30514c40, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f8394056709 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#44 0x00007f839318839c in QApplication::exec () at kernel/qapplication.cpp:3823
#45 0x00007f837378b5dd in kdemain (argc=1, argv=0x1ad84d0) at /usr/src/debug/kde-workspace-4.11.16/plasma/desktop/shell/main.cpp:126
#46 0x000000000040825d in launch (argc=argc@entry=1, _name=_name@entry=0x1b4f7e8 "/bin/plasma-desktop", args=args@entry=0x1b4f7fc "", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x1b4f804 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40aa8e "0") at /usr/src/debug/kdelibs-4.14.6/kinit/kinit.cpp:726
#47 0x00000000004090a9 in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kdelibs-4.14.6/kinit/kinit.cpp:1218
#48 0x0000000000409787 in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kdelibs-4.14.6/kinit/kinit.cpp:1411
#49 0x000000000040537d in main (argc=4, argv=<optimized out>, envp=0x7fff30515840) at /usr/src/debug/kdelibs-4.14.6/kinit/kinit.cpp:1899

Reported using DrKonqi
Comment 1 Jan Grulich 2015-04-17 08:38:14 UTC
There should be already available new versions of libnm-qt and kde-plasma-nm for Fedora 21, where this problem should be solved. If it's not in stable yet, try update with "--enablerepo=updates-testing" parameter.
Comment 2 Ben Cooksley 2024-12-23 18:23:47 UTC
Bulk transfer as requested in T17796