Bug 195549 - kmail takes ages to parse mails with many or huge mime attachments
Summary: kmail takes ages to parse mails with many or huge mime attachments
Status: RESOLVED DUPLICATE of bug 189961
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.11.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 12:56 UTC by Kai Krakow
Modified: 2009-06-16 09:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Krakow 2009-06-07 12:56:12 UTC
Version:           1.11.4 (using 4.2.4 (KDE 4.2.4), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.29-gentoo-r5

When I select a mail to be displayed in the preview pane, kmail locks for up to a minute hogging 100% cpu. This happens to mails having many small mime attachments. It also happens to plain text mails having only a few huge mime attachments. KMail completely locks during that time and is unusable.

I can generally reproduce this behaviour with newsletters from GMX or StayFriends.de.

HTML mails which load their contents from remote URLs usually render their contents fast without this UI locking. So I think the attachment/mime parser is simply slow (really slow).
Comment 1 Kai Krakow 2009-06-07 13:04:14 UTC
Please take into consideration that fixing this bug may masquerade bug 195550 which I also encounter in combination with this one.
Comment 2 Jaime Torres 2009-06-15 19:48:48 UTC
I guess this is one case more of bug 189961.
Comment 3 Kai Krakow 2009-06-15 22:26:32 UTC
Yes indeed it sounds similar. However, my researchings of the bug lists didn't show that up. So you may link it as duplicate.

I want to add that this happens on dimap and imap.
Comment 4 Jaime Torres 2009-06-16 09:33:53 UTC
Thank you for taking the time to report this bug and helping to make KDE better. This particular bug has already been reported and is a duplicate of bug 189961, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

*** This bug has been marked as a duplicate of bug 189961 ***