GNOME Bugzilla – Bug 310840
Resizing evolution mail window which contains an image attachment crashes it.
Last modified: 2013-09-13 00:48:02 UTC
Distribution/Version: SuSE 9.3 I have seen this problem in the latest build of evolution i.e. evolution 2.3.5.1 Here are the steps to recreate the problem: 1. Start with composing a mail. 2. Attach an image file (either png, gif or jpeg) and send the mail. 3. On the receiver's end, open the mail and then try resizing the window that displays the image attached. 4. Evolution crashes. The following are my observations from the crash: - The images that have caused evolution to crash on resize are the ones where height of the image is greater than the width. - In the mail window I try to resize the window manually by dragging the edges of the window, as soon as the image gets hidden (at this point it tries to resize itself) due to small window size evolution crashes. - Looking at the back-trace (which I will attach) I found that "maxheight" variable (in the em-icon-stream.c source file) is 0 for all the images that are crashing. This might be one reason for the crash, but I am not sure.
Created attachment 49384 [details] Backtrace for the crash while resizing a window with an inline image.
Created attachment 49764 [details] Evolution mail window containing this attachment when resized, crashes evolution
divide by zero error btw your image attachment is beagle, which isn't evolution. most image attachments aren't worth attaching anyway, usually the original message is more useful.
Created attachment 50208 [details] [review] fixes probably the /0 error
patch applied. probably fixes, but with no supplied data ...
I don't see the crash due to divide by zero error with the latest evolution build. Marking the bug as verified fixed.