GNOME Bugzilla – Bug 413211
eog crashed with SIGSEGV in eog_image_load()
Last modified: 2007-06-24 17:33:24 UTC
That bug has been opened on https://launchpad.net/bugs/88710 "Binary package hint: eog Program crash when viewing photos ... Package: eog 2.17.92-0ubuntu1 ..." Debug backtrace for the crash:
+ Trace 114728
Thread 1 (process 12703)
(gdb) p *error $1 = (GError *) 0x0
good trace with symbols
Created attachment 84053 [details] [review] Ensure an error message is always generated I did a quick&coarse review of the error handling within eog-image, and it does appear that there are a few paths where image loading could fail without setting an error.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report. 2007-06-24 Lucas Rocha <lucasr@gnome.org> * shell/eog-image.c (eog_image_apply_transformations, eog_image_real_load): make sure the error is set in all cases when the image loading fails. Patch by Chris Wilson <chris@chris-wilson.co.uk>. Fixes bug #413211.
Wait, I completely forgot this patch breaks the string freeze. Reverting first.
As it's not possible to fix this properly in stable branch, I only added the applicable bits of your patch in trunk. 2007-06-24 Lucas Rocha <lucasr@gnome.org> * src/eog-image.c (eog_image_apply_transformations, eog_image_real_load): improved error handling on image loading so that it catches all failure cases. Fixes bug #413211 (Chris Wilson)