Page 1 of 1

Stack around the variable 'colormap' was corrupted

Posted: 2011-01-14T01:48:32-07:00
by vali
Hi,

I just downloaded ImageMagick-windows.zip (ver 6.6.7) and i fallowed the windows installation steps.
When i validate i get the following error:


Module: c:\ImageMagick-6.6.7\VisualMagick\bin\IM_MOD_DB_PNG_.dll
File: c:\imagemagick-6.6.7\coders\png.c
Line: 9098

Run-Time Check Failure #2 – Stack around the variable 'colormap' was corrupted

And after that one I am getting more errors. I have win7 x64.

All errors are related to png.c and IM_MOD_DB_PNG_.dll.

Any idea?

Re: Stack around the variable 'colormap' was corrupted

Posted: 2011-01-19T03:00:11-07:00
by vali
My program works propertly, but if i use any IM functionality after exiting my program i get a lot of dumped objects.

Detected memory leaks!
Dumping objects ->
..\..\magick\memory.c(204) : {3196} normal block at 0x03F09718, 36 bytes long.
Data: <`/` ÿÿÿÿ > 60 2F 60 00 FF FF FF FF 00 00 00 00 00 00 00 00
{3195} normal block at 0x03F096B0, 44 bytes long.
Data: < > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
..\..\magick\memory.c(204) : {3194} normal block at 0x03F09650, 36 bytes long.
Data: <(/` ÿÿÿÿ > 28 2F 60 00 FF FF FF FF 00 00 00 00 00 00 00 00
..\..\magick\memory.c(204) : {2277} normal block at 0x03FC8578, 36 bytes long.
Data: <°Å_ ÿÿÿÿ > B0 C5 5F 00 FF FF FF FF 00 00 00 00 00 00 00 00
{2276} normal block at 0x03FC6F10, 32 bytes long.

The list is very long. I'm wondering what am I doing wrong?!