Bug 469536 - Freeze when disconnecting from networks
Summary: Freeze when disconnecting from networks
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-09 15:45 UTC by Moritz
Modified: 2024-12-23 18:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz 2023-05-09 15:45:07 UTC
SUMMARY
Sometimes when disconnecting from networks, plasma shell freezes for a couple of seconds. It does not matter what network, it is random imho. But for every wireguard connection it happens.

STEPS TO REPRODUCE
1. Connect to a network
2. Add a wireguard network
3. Conenct to the wireguard vpn
4. Disconenct from vpn via gui

OBSERVED RESULT
Normal disconenct or loading bar

EXPECTED RESULT
Freeze

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.0.19-060019-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5500U with Radeon Graphics
Memory: 17.4 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82KC
System Version: Lenovo V14 G2 ALC

ADDITIONAL INFORMATION

Backtrace:
Thread 1 (Thread 0x7ff25ad0e9c0 (LWP 170313) "plasmashell"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55a2a045ae30) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55a2a045ae30) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a2a045ae30, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007ff25ea93ac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a2a045ade0, cond=0x55a2a045ae08) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55a2a045ae08, mutex=0x55a2a045ade0) at ./nptl/pthread_cond_wait.c:627
#5  0x00007ff25f2d476b in QWaitConditionPrivate::wait (deadline=..., deadline=..., this=0x55a2a045ade0) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=this@entry=0x7ff25409cb20, mutex=mutex@entry=0x7ff25409cb18, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007ff25ffdf656 in QDBusPendingCallPrivate::waitForFinished (this=this@entry=0x7ff25409cae0) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#8  0x00007ff25ff9af12 in QDBusConnectionPrivate::sendWithReply (this=0x7ff254006820, message=..., sendMode=1, timeout=<optimized out>) at ./src/dbus/qdbusintegrator.cpp:2088
#9  0x00007ff25ff86a0b in QDBusConnection::call (this=this@entry=0x55a2a026a448, message=..., mode=mode@entry=QDBus::Block, timeout=<optimized out>) at ./src/dbus/qdbusconnection.cpp:680
#10 0x00007ff25ffa3f5b in QDBusAbstractInterfacePrivate::property (this=this@entry=0x55a2a026a3f0, mp=..., returnValuePtr=returnValuePtr@entry=0x7fff1e69d090) at ./src/dbus/qdbusabstractinterface.cpp:179
#11 0x00007ff25ffa6719 in QDBusAbstractInterfacePrivate::property (returnValuePtr=0x7fff1e69d090, mp=..., this=0x55a2a026a3f0) at ./src/dbus/qdbusabstractinterface.cpp:154
#12 QDBusAbstractInterfaceBase::qt_metacall (this=this@entry=0x55a2a021de00, _c=_c@entry=QMetaObject::ReadProperty, _id=<optimized out>, _a=_a@entry=0x7fff1e69d0d0) at ./src/dbus/qdbusabstractinterface.cpp:290
#13 0x00007ff25ffa689b in QDBusAbstractInterface::qt_metacall (this=this@entry=0x55a2a021de00, _c=_c@entry=QMetaObject::ReadProperty, _id=<optimized out>, _a=_a@entry=0x7fff1e69d0d0) at .moc/moc_qdbusabstractinterface.cpp:104
#14 0x00007ff1cc3bdffa in OrgFreedesktopNetworkManagerDeviceInterface::qt_metacall (this=0x55a2a021de00, _c=QMetaObject::ReadProperty, _id=<optimized out>, _a=0x7fff1e69d0d0) at ./obj-x86_64-linux-gnu/src/KF5NetworkManagerQt_autogen/KS3UX4TNHX/moc_deviceinterface.cpp:294
#15 0x00007ff25f4c99fa in QMetaProperty::read (this=this@entry=0x7fff1e69d130, object=object@entry=0x55a2a021de00) at kernel/qmetaobject.cpp:3198
#16 0x00007ff25f4efe1c in QObject::property (this=this@entry=0x55a2a021de00, name=name@entry=0x7ff1cc460124 "ActiveConnection") at kernel/qobject.cpp:4140
#17 0x00007ff1cc3dfc4a in OrgFreedesktopNetworkManagerDeviceInterface::activeConnection (this=0x55a2a021de00) at ./obj-x86_64-linux-gnu/src/KF5NetworkManagerQt_autogen/EWIEGA46WW/../../../../src/dbus/deviceinterface.h:48
#18 NetworkManager::DevicePrivate::propertyChanged (this=0x55a2a021ddf0, property=..., value=...) at ./src/device.cpp:236
#19 0x00007ff1cc3d97b2 in NetworkManager::DevicePrivate::propertiesChanged (this=0x55a2a021ddf0, properties=...) at ./src/device.cpp:620
#20 0x00007ff1cc3c7861 in NetworkManager::DevicePrivate::qt_static_metacall (_a=0x7fff1e69d3a0, _id=1, _c=QMetaObject::InvokeMetaMethod, _o=0x55a2a021ddf0) at ./obj-x86_64-linux-gnu/src/KF5NetworkManagerQt_autogen/EWIEGA46WW/moc_device_p.cpp:80
#21 NetworkManager::DevicePrivate::qt_metacall (this=0x55a2a021ddf0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff1e69d3a0) at ./obj-x86_64-linux-gnu/src/KF5NetworkManagerQt_autogen/EWIEGA46WW/moc_device_p.cpp:122
#22 0x00007ff25ff920fb in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189
#23 0x00007ff25f4e9bee in QObject::event (this=0x55a2a021ddf0, e=0x7ff25405e810) at kernel/qobject.cpp:1347
#24 0x00007ff26016c793 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ff25f4bc18a in QCoreApplication::notifyInternal2 (receiver=0x55a2a021ddf0, event=0x7ff25405e810) at kernel/qcoreapplication.cpp:1064
#26 0x00007ff25f4bf277 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55a29b5c9ec0) at kernel/qcoreapplication.cpp:1821
#27 0x00007ff25f516597 in postEventSourceDispatch (s=0x55a29b60ea40) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007ff25dfd4d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ff25e0296c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ff25dfd23e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ff25f515be8 in QEventDispatcherGlib::processEvents (this=0x55a29b613af0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007ff25f4baaab in QEventLoop::exec (this=this@entry=0x7fff1e69d800, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#33 0x00007ff25f4c3044 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x000055a29a7e8a8b in ?? ()
#35 0x00007ff25ea29d90 in __libc_start_call_main (main=main@entry=0x55a29a7e7b70, argc=argc@entry=2, argv=argv@entry=0x7fff1e69dad8) at ../sysdeps/nptl/libc_start_call_main.h:58
#36 0x00007ff25ea29e40 in __libc_start_main_impl (main=0x55a29a7e7b70, argc=2, argv=0x7fff1e69dad8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1e69dac8) at ../csu/libc-start.c:392
#37 0x000055a29a7e8bb5 in ?? ()
Comment 1 Ben Cooksley 2024-12-23 18:25:47 UTC
Bulk transfer as requested in T17796