Summary: | kmail always crashes when opening a certain mail (in preview mode) | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | jansen |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | h.becker, simberger, tassilo |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi The email that crashes KMail New crash information added by DrKonqi New crash information added by DrKonqi Stacktrace from KCrashHandler |
Description
jansen
2010-02-18 11:25:54 UTC
Created attachment 41007 [details]
New crash information added by DrKonqi
This crash happens with at least two specific mails from my inbox. Both mails are large and contain embedded mails and files which were sent to me as a Fwd.
kdepim-mail package version is 4.4.0-2
Created attachment 41035 [details]
New crash information added by DrKonqi
The crash alwais happens with one mail. The mail is a forward and the forwarded mail contains a PDF attachment. I will attach the email to this bug report.
Created attachment 41036 [details]
The email that crashes KMail
I've exported the nasty mail via my provider's web interface. It's a forwarded mail containing a quite big PDF attachment.
The mail that caused troubles for me is also a rather complicated multipart message with a large (2.1 MB) attachment. By now I have a few other mails which are structually similar and expose the same kmail behaviour. Using the newest packages from openSUSE Factory (kmail has the version number 4.4.0-2.2; Qt 4.6.2-2.1) kmail now no longer crashes always but still every now and then. I'll try to report another stack trace, if it's different. The preview area, however, never shows the mail on first attempt. Sometimes clicking on another mail and then returning to a problematic mail makes it show up. Otherwise I can trigger its preview by opening the message code view. Opening the mail in its own window works, though. My KMail version says it's 1.13.0 (in About Kontact). I also use qt 4.6.2. With the mail I attached I can reproduce the crash each time. But there are other mails where I can reproduce the effect jansen describes: the preview shows nothing, but double-clicking the mail shows it properly in a separate window. I guess those are two different bugs. Concerning the "no preview" thing, at least for me it's not very reproducible. First, I get no preview for a mail, then I switch to another one and back again, and then the preview is there. Switching around another time might again result in no proview... I wanted to provide a more meaningfull backtrace, so I recompiled kmail with -ggdb, without strong optimization and without stripping the binary afterwards. But it is as it always is with crashes in application written in C or C++. As soon as you try to debug them, they will work just fine. ;-) So with debugging flags enabled, I can preview the mails that always crashed kmail. Argh, now I've recompiled it as usual, that is with -march=core2 -O2 and no debugging flags, AND STILL IT WORKS! Is there a possibility that it only crashes for a certain mail when it tries to preview it for the first time (using IMAP, not disconnected IMAP)? Maybe it caches some informations locally that prevent the crash? Created attachment 41091 [details]
New crash information added by DrKonqi
Ok, I'm back to debugging flags, and with a new mail, kmail crashed again. So here's a three-stars backtrace.
Created attachment 41092 [details]
New crash information added by DrKonqi
Ok, the crash is reproducible. This backtrace was gathered when I ran kmail standalone (no kontact).
Now I have a real problem. As soon as I select the folder containing the offending mail, it is selected automatically and kmail instantly crashes. So that folder is basically locked for me, unfortunately, it contains important mails. The "bad" one is one of them, so I cannot simply delete it via my provider's web interface. :-(
Any workarounds?
I can confirm the bug, same problem here. If I open a specific imap folder, the problematic mail gets selected and kmail crashes. Regards, Henning Created attachment 41320 [details]
Stacktrace from KCrashHandler
*** This bug has been marked as a duplicate of bug 186502 *** |