After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587924 - gdk-pixbuf regression: JPG file does not load
gdk-pixbuf regression: JPG file does not load
Status: RESOLVED OBSOLETE
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2009-07-06 20:43 UTC by buliabyak
Modified: 2014-10-23 01:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
JPG image that fails (467.08 KB, image/jpeg)
2009-07-06 20:44 UTC, buliabyak
Details

Description buliabyak 2009-07-06 20:43:11 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:
Comment 1 buliabyak 2009-07-06 20:44:11 UTC
Created attachment 137937 [details]
JPG image that fails
Comment 2 Tor Lillqvist 2009-07-07 11:14:03 UTC
What platform (what distro if Linux), what versions of GTK+ (and if Windows, obtained from where)?
Comment 3 buliabyak 2009-07-07 15:29:01 UTC
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. 
Comment 4 MeSat 2009-07-11 22:55:51 UTC
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.
Comment 5 Bastien Nocera 2014-10-23 01:59:25 UTC
This seems to work fine with gdk-pixbuf 2.31, so likely got fixed earlier. Closing as obsolete.