Hi,

Please find my bug report for ImageMagick convert utility below and let me know 
if you need more information.

I found an image file using a Google search where Valgrind reports multiple 
Invalid Reads of size 4.

I used a 32-bit Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz.
OS: Linux debian 2.6.18-4-486
Convert Version: ImageMagick 6.4.2
Valgrind Version: valgrind-3.3.1

To reproduce:
wget http://www.pittsburghpetals.com/images/orchid.gif
valgrind convert orchid.gif orchid.png

The following is one of the Invalid Read output from Valgrind:

==10219== Memcheck, a memory error detector.
==10219== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==10219== Using LibVEX rev 1854, a library for dynamic binary translation.
==10219== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==10219== Using valgrind-3.3.1, a dynamic binary instrumentation framework.
==10219== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==10219== For more details, rerun with: -v
==10219==
==10219== Invalid read of size 4
==10219== Stack hash: 1645863759
==10219==    at 0x4010C81: (within /lib/ld-2.3.6.so)
==10219==    by 0x43AA46F: (within /lib/tls/i686/cmov/libc-2.3.6.so)
==10219==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==10219==    by 0x43A9EDE: _dl_open (in /lib/tls/i686/cmov/libc-2.3.6.so)
==10219==    by 0x4281D8D: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==10219==    by 0x400B44E: (within /lib/ld-2.3.6.so)
==10219==    by 0x428242C: (within /lib/tls/i686/cmov/libdl-2.3.6.so)
==10219==    by 0x4281D20: dlopen (in /lib/tls/i686/cmov/libdl-2.3.6.so)
==10219==    by 0x414A7A4: vm_open (dlopen.c:201)
==10219==    by 0x4148A69: tryall_dlopen (ltdl.c:429)
==10219==    by 0x414961C: try_dlopen (ltdl.c:527)
==10219==    by 0x41499F3: lt_dlopenadvise (ltdl.c:1604)

The entire Valgrind output and a copy of orchid.gif can be downloaded from the 
given link,
http://www.cs.berkeley.edu/~thiennga/convert_test_case.tar.gz


This bug was found as part of the SUPERB-TRUST 2008 project; see 
http://www.truststc.org/superb/

Best Regards,
Nga Chung

_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to