malloc.c:3096: sYSMALLOc: Assertion failed

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
voda
Posts: 3
Joined: 2012-07-31T05:19:44-07:00
Authentication code: 15

malloc.c:3096: sYSMALLOc: Assertion failed

Post by voda »

Hello, after upgrading ImageMagick convert fails on some git images with output:

Code: Select all

$ convert 2312515.gif -resize '261x9' a.gif
convert: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted
versions affected: 6.7.8-3 2012-07-17 (on Slackware) and 6.7.7-10 (on Debian)
with version 6.6.0-5 2010-03-30 it work

The image causing this can be downloaded from http://s14.postimage.org/n4b2ztyg1/2312515.gif.

Thanks
voda
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: malloc.c:3096: sYSMALLOc: Assertion failed

Post by magick »

We can reproduce the problem you posted and have a patch. Look for it in the next point release of ImageMagick within a week. Thanks.
Post Reply