Bug 507347 - KMail hangs on startup and consumes CPU when an autosaved draft contains broken external image links.
Summary: KMail hangs on startup and consumes CPU when an autosaved draft contains brok...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.4.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-22 08:47 UTC by Martin
Modified: 2025-07-22 08:47 UTC (History)
0 users

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


Attachments
Message that caused problem (76.87 KB, message/rfc822)
2025-07-22 08:47 UTC, Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin 2025-07-22 08:47:24 UTC
Created attachment 183416 [details]
Message that caused problem

When KMail attempts to load an autosaved email draft that contains external image links (e.g., in HTML content) which are no longer accessible (e.g., return HTTP 404 Not
  Found or 400 Bad Request), KMail hangs indefinitely on startup, consumes significant CPU resources, and does not display its main window.


STEPS TO REPRODUCE
1. Stop kmail
2. Put attached file to .local/share/kmail2/autosave
3. Start kmail

OBSERVED RESULT
kmail doesn't open main window

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1