SUMMARY Enabling caldav (nextcloud) calendars in the digital clock applet causes plasmashell to freeze, consuming 1 CPU core and rapidly leaking memory (~250MB/s) after system resumes from suspend-to-ram. STEPS TO REPRODUCE 1. Enable display of some configured (via korganizer/akonadi_davgroupware) caldav calendars in digital clock applet. 2. Suspend to ram. 3. Wake system and unlock session. OBSERVED RESULT The "plasmashell" process freezes, consuming all CPU time on one logical core and leaking memory at ~250MB/s until SIGKILL'd or nuked by the OOM-killer. EXPECTED RESULT Plasmashell doesn't freeze and doesn't leak memory. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo Linux 2.17 KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.3 ADDITIONAL INFORMATION This appears specific to having akonadi calendar display enabled, i.e. just having them configured in akonadi/korganizer and available to digital clock (but not checked in its settings) does not cause a problem. The calendars do show up in the digital clock correctly when checked, and everything seems to work as expected until the suspend/resume. AFAICT this is new with Plasma 6.x (first seen in 6.0). My dotfiles, plasma/applet settings and akonadi resources configuration were auto-migrated from plasma 5.x, where this issue was not present.
I might also be affected by this. I managed to disable the calendar plugin in the widget settings by being quick after logging in - but the memory leak is still happening even after a reboot. "akonadictl stop" if executed quickly makes the system usable again.
(In reply to Patrick Holthaus from comment #1) > I might also be affected by this. > > I managed to disable the calendar plugin in the widget settings by being > quick after logging in - but the memory leak is still happening even after a > reboot. "akonadictl stop" if executed quickly makes the system usable again. I forgot to mention: Operating System: Gentoo 2.17 KDE Plasma Version: 6.2.90 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.1 Kernel Version: 6.12.10-gentoo-x86_64 (64-bit) Graphics Platform: X11 (happens on wayland too) Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 960
Thank you for the bug report! I'm sorry we weren't able to get to it yet. Can you check and see if it's still an issue in Plasma 6.3.5 or later, and also presumably with newer system packages including newer versions of the packages for the PIM stack? Thanks!
(In reply to Nate Graham from comment #3) > Can you check and see if it's still an issue in Plasma 6.3.5 or later, and > also presumably with newer system packages including newer versions of the > packages for the PIM stack? Still present in plasma 6.3.4 / frameworks 6.13. Plasma 6.3.5 is not yet stabilised in gentoo, but as nothing has apparently been done about this, I expect it'll be there too.
Thanks a lot for checking!
*** Bug 510303 has been marked as a duplicate of this bug. ***
same on Fedora KDE Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.5 KDE Frameworks Version: 6.19.0 Qt Version: 6.9.2 Kernel Version: 6.16.12-200.fc42.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ Ultra 7 258V Memory: 32 GiB of RAM (30.9 GiB usable) Graphics Processor: Intel® Graphics In the logs: qt.qpa.wayland: There are no outputs - creating placeholder screen plasmashell: The Wayland connection experienced a fatal error: Protokollfehler kwin_wayland_drm: Atomic modeset test failed! Das Argument ist ungültig
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/ConfigurationShortcuts.qml: Setting initial properties failed: ConfigurationShortcuts does not have a property called cfg_showDate file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:131: TypeError: Cannot read property 'screenGeometry' of null file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:261: TypeError: Cannot read property 'plasmoid' of undefined Oct 20 21:05:11 plasmashell[89862]: segfault at ... sig=11 (core dumped) systemd-coredump: Process 89862 (plasmashell) terminated abnormally with signal 11
Created attachment 187414 [details] My error report This happens to me if I try to DISABLE one of my calender events (1 out of 6). Everything seems to be working fine - calendars are shown as expected. After trying to disable one calendar event, they remain enabled after freeze + stopping and restarting plashmashell. STEPS TO REPRODUCE 1. Disable display of some configured (via korganizer) caldav calendars in digital clock applet 2. Hit apply 3. Freeze occurs SOFTWARE/OS VERSIONS Operating System: Fedora Linux 42 KDE Plasma Version: 6.5.3 KDE Frameworks Version: 6.20.0 Qt Version: 6.9.3 Kernel Version: 6.17.9-200.fc42.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor Memory: 32 GiB of RAM (31.2 GiB usable) Graphics Processor: NVIDIA GeForce RTX 4080 Manufacturer: ASUS