Bug 450657

Summary: Empty message body causes KMail to consume 100% CPU
Product: [Applications] kmail2 Reporter: mao <maotoko>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: major CC: postix
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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.