Page 1 of 1

6.7.4-4 Windows x64 access violation while reading TIFF

Posted: 2012-01-09T08:06:54-07:00
by keox
Hello,

Decoding the attached tiff images causes access violation from time to time. The ImageMagick library was built from source using VisualStudio 2010 will all updates.

Tiff images:
http://www.sendspace.com/file/2fj1rh
http://www.sendspace.com/file/23h85s
http://www.sendspace.com/file/9yctka
http://www.sendspace.com/file/p9o2hb
http://www.sendspace.com/file/9qfwlm
http://www.sendspace.com/file/z7uaxy
http://www.sendspace.com/file/9psgoo



Here is the relevant part of the stack:

msvcr100d.dll!memcpy() Line 197 Asm
> CORE_DB_magick_.dll!CopyMagickMemory(void * destination, const void * source, const unsigned __int64 size) Line 522 + 0x14 bytes C
IM_MOD_DB_tiff_.dll!TIFFGetEXIFProperties(tiff * tiff, _Image * image) Line 648 C
IM_MOD_DB_tiff_.dll!ReadTIFFImage(const _ImageInfo * image_info, _ExceptionInfo * exception) Line 1099 C
CORE_DB_magick_.dll!ReadImage(const _ImageInfo * image_info, _ExceptionInfo * exception) Line 523 + 0x1f bytes C
CORE_DB_magick_.dll!BlobToImage(const _ImageInfo * image_info, const void * blob, const unsigned __int64 length, _ExceptionInfo * exception) Line 362 + 0x12 bytes C
CORE_DB_Magick++_.dll!Magick::Image::read(const Magick::Blob & blob_) Line 1624 + 0x4f bytes C++

Re: 6.7.4-4 Windows x64 access violation while reading TIFF

Posted: 2012-01-09T09:56:40-07:00
by magick
We'll take a look and report back. We've had problems in the past extracting the EXIF profile in TIFF. We may need to add an option to only extract the EXIF profile if an option is set, e.g. -define tiff:exif-properties=true.

Re: 6.7.4-4 Windows x64 access violation while reading TIFF

Posted: 2012-01-15T01:35:03-07:00
by keox
Hi,

Do you have any news on this bug? Or a time estimation at least?

Thank you.