GNOME Bugzilla – Bug 323430
Evolution will hang when viewing a mail contains many continuous empty lines
Last modified: 2006-01-05 08:38:41 UTC
When viewing a mail contains over thounds of continuous lines, Evolution will consume over 90% of CPU and hang there. Restart Evolution will still hang there. Please try to import the attached mail, then view it. As I can see from trace, it might be a bug of gtkhtml. Please see html_clueflow_real_get_direction() in htmlclueflow.c. Remove the following two lines seems fixes the problem: if (child == HTML_CLUE (o)->head && html_object_get_length (child) == 0 && o->prev) return html_object_get_direction (o->prev); I guess the problem is there are thousands of empty lines, so there are thousands of empty htmlclueflows. To get direction of each of them, there are many calculations.
Created attachment 55729 [details] A test mail The test mail
Created attachment 55730 [details] A trace A trace
Multiple calls to html_object_get_direction() causes the problem. Removing call to html_object_get_direction solves this issue. Confirming bug
*** This bug has been marked as a duplicate of 306279 ***