GNOME Bugzilla – Bug 394190
crash when opening a gif with a manipulated header
Last modified: 2010-07-10 04:07:04 UTC
Version: 2.16.1 What were you doing when the application crashed? Ein von mir manipuliertes .gif Bild geöffnet. (Header manipuliert) http://www.cs.uni-magdeburg.de/~mhaupt/example.gif.gz. Distribution: Gentoo Base System version 1.12.6 Gnome Release: 2.16.1 2006-11-01 (Gentoo) BugBuddy Version: 2.16.0 Memory status: size: 60092416 vsize: 0 resident: 60092416 share: 0 rss: 15630336 rss_rlim: 0 CPU usage: start_time: 1168255308 rtime: 0 utime: 294 stime: 0 cutime:253 cstime: 0 timeout: 41 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/bin/eog' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1226495808 (LWP 6187)] [New Thread -1256764528 (LWP 6195)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 100397
Eog-ERROR **: file eog-image.c: line 757 (eog_image_real_load): assertion failed: (priv->image != NULL)
+ Trace 102201
It looks like the error somehow gets lost in GdkPixbufLoader as the error is still NULL after gdk_pixbuf_loader_close(). A test script using gdk_pixbuf_new_from_file() errors correctly. So I am moving this over to gdk-pixbuf.
*** Bug 373107 has been marked as a duplicate of this bug. ***
Created attachment 80762 [details] test tool This is a test tool. It loads the image into an GdkPixbufLoader. If you try to open the image linked above you will notice that it will crash at the assertion not at the prior error checks. If you load the same image with gdk_pixbuf_new_from_file it will error (and crash) correctly. Please note that bug 384023 contains a link to another example image. This time a PPM. The missing error message there: "Premature end-of-file encountered"
2007-01-21 Matthias Clasen <mclasen@redhat.com> * io-gif.c (gdk_pixbuf__gif_image_stop_load): Return an error if we didn't successfully load a frame. (#394190, Felix Riemann)