GNOME Bugzilla – Bug 587924
gdk-pixbuf regression: JPG file does not load
Last modified: 2014-10-23 01:59:25 UTC
Please describe the problem: this file used to load with an older version of gdk-pixbuf, but now fails Steps to reproduce: 1. use any program using gdk-pixbuf to open images, for example Inkscape, to load the file Actual results: fails in gdk_pixbuf_loader_close Expected results: file should open Does this happen every time? yes Other information:
Created attachment 137937 [details] JPG image that fails
What platform (what distro if Linux), what versions of GTK+ (and if Windows, obtained from where)?
Fails on both: Ubuntu with GTK 2.15.4 Windows with GTK 2.16.2 obtained from http://www.gtk.org/download-windows.html, the size of lib\gtk-2.0\2.10.0\loaders\libpixbufloader-jpeg.dll 33364 bytes. If I replace that dll with some older one I found on the net, dated 2007, size 30639, the file loads fine.
Pan has an issue of not loading images due to errors generated by gdk-pixbuf. This is the error message in the message window. Attachment not shown: MIME type image/jpeg; filename DOCTOR.WHO.202.THE.NEXT.DOCTOR.DVD9.PAL.SUBS.jpg These are the messages in the terminal. (pan:12983): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed (pan:12983): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed (pan:12983): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `GDK_IS_PIXBUF (src)' failed (pan:12983): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed I can save the image with no problems. As Pan scales the image to fit in the window by default, it causes the image to be non-viewable. I am on fedora 11 (64 bit). gtk2-2.16.2-1.fc11.x86_64 This is a pain. See bug "435863 – pan2 can't show images with recently updated Gnome components" going back to 2007. I just checked and there are no updates yet for Fedora.
This seems to work fine with gdk-pixbuf 2.31, so likely got fixed earlier. Closing as obsolete.