Bug 403115

Summary: Some remote ical files cause a high CPU load and freeze
Product: [Frameworks and Libraries] Akonadi Reporter: t.schmittlauch
Component: ICal file resourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: auxsvr
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description t.schmittlauch 2019-01-11 21:46:25 UTC
Just for reference as the korganizer side to this Akonadi/kcalcore bug: 384309

Adding certain remote ical files as a calendar in korganizer using "Add Calendar -> iCal Calendar" causes a high CPU load of >~ in the korganizer process.

But in the end Akonadi/kcalcore is at least a part of the problem, as setting that resource to "offline" in Akonadi-Console makes the problem go away.

STEPS TO REPRODUCE
1. add a new ical calendar by pasting the following URL into the file field of "Add Calendar -> iCal Calendar File": https://unichor-dresden.de/index.php?option=com_chor&task=default.openCalendar&id=2
2. close KOrganizer
3. maybe `akoadictl restart` (optional)
4. re-open korganizer

OBSERVED RESULT

high CPU load and frozen UI of korganizer

EXPECTED RESULT

after a short import time, the program should run fluently with less CPU load

SOFTWARE/OS VERSIONS
Linux: NixOS 18.09
KDE Plasma Version: 5.13.4
KDE Frameworks Version: 5.49.0
Qt Version: 5.11.1