6.7.4-4 Windows x64 access violation while reading TIFF

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
keox
Posts: 3
Joined: 2011-07-04T01:30:08-07:00
Authentication code: 8675308

6.7.4-4 Windows x64 access violation while reading TIFF

Post 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++
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
keox
Posts: 3
Joined: 2011-07-04T01:30:08-07:00
Authentication code: 8675308

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

Post by keox »

Hi,

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

Thank you.
Post Reply