Comment 3 for bug 271401

su_v (suv-lp) wrote :

1) Compiling 0.47+devel r9040 on OS X 10.5.8 I get these warnings:

  CXX sp-image.o
sp-image.cpp: In function ‘GdkPixbuf* Inkscape::IO::pixbuf_new_from_file(const char*, time_t&, gchar*&, GError**)’:
sp-image.cpp:269: warning: variable ‘dpiX’ might be clobbered by ‘longjmp’ or ‘vfork’
sp-image.cpp:270: warning: variable ‘dpiY’ might be clobbered by ‘longjmp’ or ‘vfork’

2) The patch works, nevertheless: when trying to import the corrupted image 'content.png' (attached to comment #1) Inkscape 0.47+devel r9040 refuses to load the image (whereas Inkscape 0.47 r22583 on osx does crash).

Console messages from Inkscape 0.47+devel r9040:

** Message: Gdk::PixbufError in SVGPreview::showImage
libpng warning: Ignoring bad adaptive filter type
libpng error: IDAT: CRC error
GdkPixbuf loader failed