Memory allocation failed on ICO

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
verstoff
Posts: 1
Joined: 2016-05-19T05:17:10-07:00
Authentication code: 1151

Memory allocation failed on ICO

Post by verstoff »

Hello.
CLI convert, identify, load from Imagick (php extension) allocate huge amount of ram and throw memory allocation error on this image:
http://xheditor.com/favicon.ico

Version: ImageMagick 6.8.9-9 Q16 x86_64 2015-01-05

Code: Select all

2016-05-19T17:47:41+06:00 0:00.010 0.000u 6.8.9 Exception identify[1500]: colormap.c/AcquireImageColormap/136/Exception
  memory allocation failed `fav'
2016-05-19T17:47:41+06:00 0:00.010 0.000u 6.8.9 Exception identify[1500]: icon.c/ReadICONImage/439/Exception
  memory allocation failed `fav'
2016-05-19T17:47:41+06:00 0:00.010 0.000u 6.8.9 Resource identify[1500]: resource.c/RelinquishMagickResource/862/Resource
  Map: 1.15KB/0B/3.9264GiB
2016-05-19T17:47:41+06:00 0:00.010 0.000u 6.8.9 Cache identify[1500]: cache.c/DestroyPixelCache/965/Cache
  destroy
identify: memory allocation failed `fav' @ error/icon.c/ReadICONImage/439.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Memory allocation failed on ICO

Post by snibgo »

The file seems to be corrupt. exiftool reports:

Code: Select all

Error                           : Unknown file type
snibgo's IM pages: im.snibgo.com
Post Reply