Bug 449927 - kmail crashes on startup after crashing when switching folders
Summary: kmail crashes on startup after crashing when switching folders
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 5.19.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-10 10:48 UTC by Timo Wilken
Modified: 2022-02-11 14:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kmail startup and debug log (39.81 KB, text/plain)
2022-02-10 10:48 UTC, Timo Wilken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Wilken 2022-02-10 10:48:57 UTC
Created attachment 146528 [details]
kmail startup and debug log

SUMMARY
After looking at emails and switching folders a few times, when switching back to an inbox, kontact crashes.

I'm not sure, but the crash may have happened when switching to a folder where the first message was signed using an RSA4096 GPG key, of which I have the public key stored in KGPG.

Subsequently trying to reopen kontact or kmail crashes with a segfault (see attached log).


STEPS TO REPRODUCE
1. open kontact/kmail and switch folders a few times, possibly opening a GPG-signed message
2. kontact/kmail crashes
3. try to reopen kmail
4. kmail keeps segfaulting

OBSERVED RESULT
kmail crashes upon startup, without showing a window. See attached log for details.

EXPECTED RESULT
kmail starts normally.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 5.16.8-arch1-1
(available in About System)
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Hauke 2022-02-11 14:32:21 UTC
Can confirm: When I open an encrypted message, KMail crashes.

It look like this is related to #449898