Bug 367874

Summary: kMail crashes upon Thunderbird-generated invitation confirmations
Product: [Applications] kmail2 Reporter: Gunter Ohrner <kdebugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: kdebugs, montel, petersenmde
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Testcase message
email with outlook invitation

Description Gunter Ohrner 2016-08-26 20:19:46 UTC
Using kMail and kOrganizer Version 5.3.0 (QtWebEngine), KDE Frameworks 5.25.0, Qt 5.7.0 (built against 5.7.0), The xcb windowing system from KDE Neon, I created an incident for which I invited several people. Actually, I invited some email distribution lists, so the invitations were spread out to other email addresses.

Some receipients use Thunderbird and confirmed the incident. kMail crashes immediately as soon as I click at the mail in the mailing list and kMail tries to open it in the preview window.

Unfortunately, I cannot provide a test case, as kMail does not seem to crash if it cannot find a link to the calendar incident. (If I modify the message to reference another indicent UID, the crash does not seem to happen.)

I'm also having a hard time generaring a meaningful backtrace, as I could not find packages with debug symbols in my KDE Neon package lists - I'd probably need the developer edition, but I only installed the stable users' edition... :-/

Currently, I do not even seem to be able to get a partial stacktrace, only the information that kMail caused a segmentation fault...

"Application: KMail (kmail), signal: Segmentation fault"

:-(

Reproducible: Always
Comment 1 Gunter Ohrner 2016-08-26 20:29:54 UTC
Created attachment 100792 [details]
Testcase message

Ah, looks as if I actually CAN reproduce the crash also with another UID. Please try the attached message.
Comment 2 Laurent Montel 2016-08-28 07:27:09 UTC
You generated with korganizer right ?
Do you have option to use compatibility outlook ?
Comment 3 Gunter Ohrner 2016-08-28 23:10:25 UTC
* The incident was generated using kOrganizer.
* It was accepted by an Thunderbird client, the attached resulting confirmation mail was generated by Thunderbird. 
* I'm not sure if and how I can configure Outlook compatibility options in Thunderbird - I'm not normally using it. I only used it to try to reproduce the crashes I experienced when trying to open confirmation mails generated by other Thunderbird users.

On my system, it's sufficient to open the attached message in kMail and it will crash immediately.
Comment 4 Mark Petersen 2016-09-14 20:31:12 UTC
Outlook invitations crash kmail/kontact as soon as the offending email is clicked on.

openSuse Tumbleweed
kmail5 16.08.0-1.2

I've added a sanitized email that triggers the crash.

Mark
Comment 5 Mark Petersen 2016-09-14 20:32:24 UTC
Created attachment 101085 [details]
email with outlook invitation
Comment 6 Gunter Ohrner 2016-10-12 09:43:29 UTC
I cannot reproduce this crash any more with current kMail 4:16.08.1+p16.04+git20161006.0448-0