Bug 503353 - kmail crashes at startup
Summary: kmail crashes at startup
Status: RESOLVED DUPLICATE of bug 339214
Alias: None
Product: kmail2
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-25 17:16 UTC by tnemeth
Modified: 2025-04-27 10:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tnemeth 2025-04-25 17:16:32 UTC
SUMMARY

    Hello.

    Since yesterday, kmail crashes when I try to launch it. It displays an error dialog and once I click on "Ok", kmail terminates immediately. I tried to start it from the command line to have more output without chance.

    Here is what I got :

$ LC_ALL=C kmail
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult "Could not create collection trash, resourceId 9"
org.kde.pim.mailcommon: "The Email program encountered a fatal error and will terminate now.\nThe error was:\nCould not create collection trash, resourceId 9"

    Using akonadiConsole I could find out that resourceId 9 was my local folders... So I don't know what it could not do with my trash folder...


STEPS TO REPRODUCE
1. Start kmail
2. see it display a message and crash


OBSERVED RESULT
Kmail crashes


EXPECTED RESULT
kmail should at least display a meaningful message and allow users to fix the issue.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.22-amd64 (64-bit)
Graphics Platform: X11
Comment 1 Kishore Gopalakrishnan 2025-04-27 10:16:59 UTC
The linked bug report has a few workarounds.

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