https://bugs.kde.org/show_bug.cgi?id=486773

            Bug ID: 486773
           Summary: KMail hogs 1 cpu core trying to display a message
    Classification: Applications
           Product: kmail2
           Version: 5.22.3
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-b...@kde.org
          Reporter: tnem...@free.fr
  Target Milestone: ---

Created attachment 169308
  --> https://bugs.kde.org/attachment.cgi?id=169308&action=edit
Bzip'ed mail causing 100% cpu usage on 1 core.

SUMMARY

A friend of mine sent me a mail because he needed help writing a shell script.
Just displaying his mail in the
message viewer part or message viewer window takes 1 cpu core (100% cpu usage
on that core). Changing
the view to another mail makes the cpu usage go back to normal.

What I found strange is that even though I've often received mails from gmail
(since he's at gmail), I've never
faced such a behavior. I suspect it comes from how the mail is formatted. Maybe
its size (12MB !) but not sure.


STEPS TO REPRODUCE
1. Open the mail in kmail
2. Look at the CPU usage

OBSERVED RESULT
Usage of one of the CPU core is at 100% by kmail.

EXPECTED RESULT
CPU usage should not be at 100% when displaying a mail :)


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.10
Kernel Version: 6.7.12-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-7567U CPU @ 3.50GHz
Memory: 31.2 Gio of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics 650
Manufacturer: Intel Corporation
Product Name: NUC7i7BNH
System Version: J31153-308

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to