Bug 510303 - Memory leak when read-only calendar refreshed with kdepim-addons running
Summary: Memory leak when read-only calendar refreshed with kdepim-addons running
Status: RESOLVED DUPLICATE of bug 496821
Alias: None
Product: plasmashell
Classification: Plasma
Component: Calendar widget (other bugs)
Version First Reported In: 6.3.4
Platform: Kubuntu Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: efficiency-and-performance
Depends on:
Blocks:
 
Reported: 2025-10-06 15:38 UTC by u5vjzuvrv
Modified: 2025-10-08 13:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description u5vjzuvrv 2025-10-06 15:38:44 UTC
SUMMARY
When a read-only ical (web) calendar is added to korganizer and you have kdepim-addons (calendar events) turned on, it cause a memory leak every time the korganizer tried to refresh the calendar, causing the PC to either come to a halt/crash or taskbar to stop working


STEPS TO REPRODUCE
1. Add internet ical to KOrganizer and set as read-only
2. Install kdepim addons and enable calendar events in the calendar/clock widget's settings.
3. In calendar widget settings go to calandar events and add the read-only calendar(although I don't think this is even necessary, as even if you add a different calendar to the read only one but still have the read-only one in korganizer it will still cause the bug when the read-only one gets refreshed only one gets refreshed, it still causes the error.)

OBSERVED RESULT
High amount of ram gets used, ranging from 4 to 20+ GB, and will always result in the taskbar not working any more (so you can't click any of the applications in it or widgets) or frequently causing the entire system to freeze up and not respond until forceful restart of the system, which can risk loss of data due to unsafe reboot, especially if this happens during an automatic refresh and it happens randomly.

Even if the system doesn't crash immediately and only freezes the task bar, the system will freeze up eventually. 

EXPECTED RESULT
Calendar should refresh and changes shown in widget without crash


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3

ADDITIONAL INFORMATION
Log entries that may be relevant (both of the ones listed below are printed countless times when the bug occurs):
"Trying to write to a read-only file: 'https://webtimetables[redacted]>`"

console.warn: Calendar: (new Error("Could not extract integer from \":0\"", "resource:///modules/calendar/Ical.sys.mjs", 3110))
Comment 1 David Edmundson 2025-10-08 13:47:48 UTC

*** This bug has been marked as a duplicate of bug 496821 ***