Bug 450657 - Empty message body causes KMail to consume 100% CPU
Summary: Empty message body causes KMail to consume 100% CPU
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: Git (master)
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-21 15:22 UTC by mao
Modified: 2022-02-22 11:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mao 2022-02-21 15:22:54 UTC
Steps to reproduce:
- login fresh user account
- start KMail, cancel account assistant
- start compose new message, not fill any fields
- save message as draft, go draft folder, view message
- now output lots of "org.kde.pim.akonadiserver: ItemRetrievalJob for request XXX finished" warnings and CPU usage stays at 100% -> computer unusable :-(

Can also be observed with regular messages received in inbox if message body empty, e.g. if sender just says "Hi!" in subject.

Hope for fix! Thanks!
Comment 1 postix 2022-02-22 11:45:57 UTC
Can confirm on Operating System

openSUSE Tumbleweed 20220218
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.8-1-default (64-bit)
Graphics Platform: Wayland

though my CPU runs at 3% instead of ~0.5%, but it may be somewhat faster.