GNOME Bugzilla – Bug 686278
Prefer-plain can break parts list
Last modified: 2012-10-17 11:46:21 UTC
Created attachment 226615 [details] test message The attached message structure is a multipart/mixed, which contains another multipart/mixed part, and selecting this message for preview results in high CPU usage by evolution with no result in preview panel and left "Parsing message" in status bar. The below backtrace shows where it is.
+ Trace 231052
Thread 3 (Thread 0x7f23b53f9700 (LWP 10783))
Created attachment 226621 [details] [review] evo patch for evolution; Found out that the issue is with prefer-plain, it mangled list of parts in a way that it made it recursive, thus the g_slist_concat never ended. This patch makes basically three things: a) the text/plain part of multipart/alternative is always the first in the parts list for the formatter, as it ought to be b) in case the multipart/alternative contains multiple text/plain parts the code doesn't leak, nor uses multiple place holders c) the code is simpler
Created commit b30295b in evo master (3.7.1+) Created commit 031f8b2 in evo gnome-3-6 (3.6.2+)
*** Bug 685772 has been marked as a duplicate of this bug. ***
*** Bug 686216 has been marked as a duplicate of this bug. ***