Summary: | Kontact crash on certain emails | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | Tin Blaskovic <tin.blaskovic> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | blackfireburn, vkrause |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Offending message |
Description
Tin Blaskovic
2018-12-10 15:02:27 UTC
wouldn't be able to provide the newsletter eml would you? you can change the address'if you want privacy. The newsletter unfortunately quite prominently displays the text "CONFIDENTIAL & RESTRICTED", and the newsletter in addition has a PDF attached. I can try to sanitize the text in the newsletter and the PDF if that would help - can't guarantee though that it will cause a crash after that. Let me know if you think it's worth the effort. Its more likely that its the PDF or format which is causing the problem. Can you open email from CLI and open the newsletter then paste the output from that as well please it may add extra information. . Created attachment 116986 [details]
Offending message
Hi,
I've sanitized the content as much as possible, I think it should be OK to expose publicly and use for debugging. It better cause the crash! :D
Thanks for the detailed report! I can confirm the problem with 18.08 (Kontact 5.9), the problem is a nullptr dereference of the "ref" argument in the following stack trace line: #6 KItinerary::ExtractorOutputDevice::drawImage (this=0x56214836c610, state=0x562141dd7490, ref=0x0, str=0x56214852a6c0, width=134, height=23, colorMap=0x7ffe93a2f3c0, interpolate=false, maskColors=0x0, inlineImg=true) at ./src/pdfdocument.cpp:175 This has been fixed in 18.12 and master already, I can't reproduce the issue there anymore. Until you get a chance to upgrade to Kontact 5.10 a possible workaround is to remove plugins/messageviewer/bodypartformatter/messageviewer_bodypartformatter_semantic.so while Kontact is not running (exact location differs depending on the distro, usually somewhere below /usr/lib*), unless you absolutely rely on KDE Itinerary integration. |