Bug 456403 - Akonadi EWS module freezes PC when disconnected from the internet
Summary: Akonadi EWS module freezes PC when disconnected from the internet
Status: RESOLVED DUPLICATE of bug 422410
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: EWS Resource (other bugs)
Version First Reported In: 5.19.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL: https://bugzilla.redhat.com/show_bug....
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-06 15:13 UTC by David
Modified: 2025-10-13 18:50 UTC (History)
4 users (show)

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


Attachments
journal sample (3.83 MB, text/plain)
2022-07-06 15:16 UTC, David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2022-07-06 15:13:10 UTC
Description of problem:
Sometimes, when PC is disconnected from the internet (WiFi firmware crash, network becomes out of reach, etc), akonadi's EWS component immediately start flooding system journal and making the system unresponsive. 

Version-Release number of selected component (if applicable):
akonadictl 5.19.2 (21.12.2)

How reproducible:
Almost always

Steps to Reproduce:
1. create an EWS account in KMail
2. connect to the internet
3. disconnect 

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 35
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.18.6-100.fc35.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620 


Additional info:
See the attached log for a better insight.
Comment 1 David 2022-07-06 15:16:48 UTC
Created attachment 150444 [details]
journal sample
Comment 2 David 2022-07-06 15:17:40 UTC
(In reply to David from comment #1)
> Created attachment 150444 [details]
> journal sample

See towards the end of the log. Some ~50k entries were truncated because of attachments limitations, but they were all the same.
Comment 3 dhekir 2025-10-13 18:42:34 UTC
I confirm I'm having the same bug on akonadictl 6.5.1 (25.08.1).

This bug is likely related to https://bugs.kde.org/show_bug.cgi?id=422410 and https://bugs.kde.org/show_bug.cgi?id=458872.

The symptom I have is: after disconnecting from VPN, akonadi uses 100% CPU, floods the log, overheats my computer and makes me never want to use KOrganizer again.

It's really unfortunate, and I understand no one likes working with this kind of code (otherwise it would probably have been solved since 2020), but I'm afraid that, in the current state, the code brings too much instability and issues to users. I almost lost my laptop due to this, mainly because otherwise my KDE is so stable that I never have overheating issues.
Comment 4 Allen Winter 2025-10-13 18:50:09 UTC

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