Bug 504483 - Crash after selecting a signed mail
Summary: Crash after selecting a signed mail
Status: REPORTED
Alias: None
Product: kontact
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-05-18 18:26 UTC by Johannes Ranke
Modified: 2025-05-18 18:26 UTC (History)
0 users

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


Attachments
New crash information added by DrKonqi (65.35 KB, text/plain)
2025-05-18 18:26 UTC, Johannes Ranke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Ranke 2025-05-18 18:26:37 UTC
Application: kontact (5.22.3 (22.12.3))

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-31-amd64 x86_64
Windowing System: Wayland
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [CoredumpBackend]

-- Information about the crash:
This is standard kontact on Debian stable. The version information from the about page is  5.22.3 (22.12.3)

When I select a signed mail from a Debian developer writing about a security update, the pane showing the mail content freezes. In that pane I only see the messages
"Bittte warten Sie, während die Signatur überprüft wird...
Ende der signierten Nachricht"

i.e. "Please wait while the signature is checked...
End of the signed message"

without the message content. I can select other mails, but the pane stays frozen and does not show the contents of the selecte mail, whether it is signed or not. 

When I close kontact by klicking the cross in the top right corner of the kontact window, I get a message "Kontact wurde unerwartet beendet", with the possibility to restart (which works) or write a bug report (which got me here). This happens every time I select such an email. I also tried an email from a different domain, this time the contents of the mail are displayed between the two cited messages, but the program freezes in the same way.

Let me know if you need more information about my setup.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  0x00007fffb80316b1 in KMime::Content::headerByType(char const*) const () from /lib/x86_64-linux-gnu/libKF5Mime.so.5abi1
#5  0x00007fffb8032a2a in KMime::Content::contentTransferEncoding(bool) () from /lib/x86_64-linux-gnu/libKF5Mime.so.5abi1
[...]
#7  0x00007fffb8033636 in KMime::Content::decodedText(bool, bool) () from /lib/x86_64-linux-gnu/libKF5Mime.so.5abi1
#8  0x00007fff79132bf5 in MimeTreeParser::ObjectTreeParser::extractNodeInfos(KMime::Content*, bool) () from /lib/x86_64-linux-gnu/libKF5MimeTreeParser.so.5abi1
#9  0x00007fff791334b9 in MimeTreeParser::ObjectTreeParser::parseObjectTree(KMime::Content*, bool) () from /lib/x86_64-linux-gnu/libKF5MimeTreeParser.so.5abi1


The reporter indicates this bug may be a duplicate of or related to bug 474477.

Reported using DrKonqi
Comment 1 Johannes Ranke 2025-05-18 18:26:38 UTC
Created attachment 181470 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.