SUMMARY plasmashell hangs for multiple seconds while nmcli is also slow to respond. STEPS TO REPRODUCE 1. Somehow get to a situation when "nmcli c" takes multiple seconds to return results. 2. Click on the plasma-nm icon in Plasma system tray. OBSERVED RESULT The panel is only opened after several seconds, at the same time when "nmcli c" un-hangs if run in parallel on command line. The whole Plasma panel is unresponsive, IOW it's not only the plasma-nm applet which is affected by this kind of freeze. EXPECTED RESULT Plasma shell should be responsive at any point in time. Plasma-nm should also open its popup immediately when clicking on the tray icon, even if networkmanager is slow to respond. The popup window should probably indicate if it's currently showing outdated information, e.g. more than several seconds old. SOFTWARE/OS VERSIONS Operating System: Fedora 30 KDE Plasma Version: 5.15.5 KDE Frameworks Version: 5.59.0 Qt Version: 5.12.4 Kernel Version: 5.1.17-300.fc30.x86_64 OS Type: 64-bit Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 15,4 ГиБ ADDITIONAL INFORMATION
The nmcli unresponsiveness might be due to horrible problems with my VPN server (DDoS attack against the data center) which I connect to using networkmanager+openvpn.
Created attachment 124557 [details] stacktrace when plasmashell hangs how to reproduce: 1. connect to Wi-Fi with pre-configured secondary VPN connection 2. disconnect WAN cable from the Wi-Fi access point 3. click on the NetworkManager icon in system tray -> plasmashell hangs
I can confirm this bug, the way I can reproduce it specifically is to use stubby as a local DNS resolver. 1. Install stubby and configure it 2. Set DNS resolver to 127.0.0.1 3. Switch from one wifi to the other 4. The entirety of plasmashell will now freeze as NetworkManager waits for a dns response to time out Note that restarting stubby unfreezes plasmashell and NetworkManager prematurely (i.e. before the timeout happens) The general problem here appears to be threefold, 1. plasmashell lets itself get blocked by applets, 2. plasma-nm lets itself get blocked by NetworkManager, 3. NetworkManager is not good. Ideally plasmashell would not freeze if a widget freezes, and even more ideally plasma-nm won't freeze if NetworkManager decides to pointlessly block.
*** This bug has been marked as a duplicate of bug 409392 ***
Bulk transfer as requested in T17796