Bug 465825

Summary: mail viewer crashes on this message
Product: [Applications] kmail2 Reporter: Marc Mezzarobba <marc+bugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: montel
Priority: NOR    
Version: 5.22.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: testcase
bracktrace

Description Marc Mezzarobba 2023-02-16 11:05:34 UTC
Created attachment 156293 [details]
testcase

SUMMARY

kmail crashes when opening the attached message. I am not sure where to report the bug as the backtrace suggests that KItinerary is involved.

STEPS TO REPRODUCE
1. kmail --view spam_crashing_kmail

(alternatively, put the message in some kmail folder and click on it from the message list)

SOFTWARE/OS VERSIONS

debian sid
kmail2 5.22.2 (22.12.2)
itinerary 22.12.1
zxing 1.4.0
Comment 1 Marc Mezzarobba 2023-02-16 11:06:04 UTC
Created attachment 156294 [details]
bracktrace
Comment 2 Laurent Montel 2023-03-16 06:42:12 UTC
IT doesn't crash here.
It seems a problem with ZXing 2.0,
As a workaround until then, delete or move away
/usr/lib64/plugins/messageviewer/bodypartformatter/messageviewer_bodypartformatter_semantic.so
(path might differ slightly depending on distro/platform). That will disable
the itinerary plugin but not impede KMail's functionality otherwise.
Comment 3 Marc Mezzarobba 2023-03-16 07:58:26 UTC
Thanks a lot for taking a look!

You mean that the bug is *fixed* in zxing-cpp 2.0, right? (or should I report it there?)