[Pkg-phototools-devel] Bug#812657: feh and GIF images: imlib2 problem

Peter Pentchev roam at ringlet.net
Tue Feb 2 14:57:26 UTC 2016


Hi,

I think that this bug should be reassigned to imlib2 instead.

Please look at a trivial test program that tries to load three
images using the same imlib2 functions that feh uses; the images are
taken from the feh test suite (I've isolated it to them).

http://devel.ringlet.net/graphics/imgif/imgif-0.1.0.tar.bz2
http://devel.ringlet.net/graphics/imgif/imgif-0.1.0.tar.bz2.asc

The failure mode is really interesting:
- if only the GIF image is loaded, there is no problem
- if only the JPEG images are loaded, there is no problem
- if one or both of the JPEG images are loaded and *then* the GIF
  image is loaded, imlib2 fails to load the GIF image

Thus the Makefile's "test" target: first load just the JPG images and
just the GIF image 100 times, see no failures, then try to load all
three 100 times, expect a failure every single time.  At least on my
Debian testing machine, there are indeed 100 failures out of 100 attempts.

G'luck,
Peter

-- 
Peter Pentchev  roam at ringlet.net roam at FreeBSD.org pp at storpool.com
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20160202/b5c3eaa9/attachment.sig>


More information about the Pkg-phototools-devel mailing list