https://bugs.kde.org/show_bug.cgi?id=525331
Bug ID: 525331
Summary: kded6/plasma-nm spams KWallet with DBus requests when
Wi-Fi Hotspot is active, causing severe kwalletd6
memory leak
Classification: Plasma
Product: plasmashell
Version First master
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Networks widget
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
Summary:
When initiating a Wi-Fi Hotspot via the Plasma NetworkManager widget, kded6 (or
plasma-nm) enters an unthrottled infinite retry loop, continuously requesting
secrets from kwalletd6. This rapid stream of DBus calls causes kwalletd6's
memory consumption to rapidly increase without bounds (memory leak) until
system resources are exhausted or the process is killed.
Steps to Reproduce:
1. Open the Plasma NetworkManager widget/applet in the system tray.
2. Turn on the Wi-Fi Hotspot (create a hotspot with wpa2 psk).
3. Monitor system memory and DBus activity while the hotspot remains
active.
Observed Result (Actual Result):
- kwalletd6 memory usage continually spikes and accumulates hundreds of
MBs/GBs of RAM within minutes.
- dbus-monitor shows an unbounded, continuous stream of high-frequency DBus
method_call requests sent to org.kde.KWallet.
- System responsiveness degrades due to memory pressure caused by
kwalletd6.
Expected Result:
- kded6 / plasma-nm should request credentials from KWallet once upon
hotspot startup and cache/store the session state properly.
- If a authentication or state check fails, requests should fail gracefully
or implement proper debounce/backoff logic instead of polling without delay.
- kwalletd6 memory consumption should remain stable while the hotspot is
running.
--
You are receiving this mail because:
You are watching all bug changes.