Problem with ImageMagik quantize() function

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
amitm

Problem with ImageMagik quantize() function

Post by amitm »

I am using ImageMagick version 6.3.4 compiled with CC on Solaris. However, we are seeing IPR and BSW with following stack i.e in quantize() function. Please let me know if this a known issue if there is any workaround for this ?

IPR: Invalid pointer read (6 times):
* This is occurring while in thread 39:
AcquireMagickResource [resource.c:219]
OpenCache [cache.c:3374]
SyncCache [cache.c:4421]
SetCacheNexus [cache.c:4080]
SetPixelCache [cache.c:4380]
SetImagePixels [cache.c:4174]
SetImageStorageClass [image.c:2809]
AllocateImageColormap [image.c:376]
AssignImageColors [quantize.c:504]
QuantizeImage [quantize.c:2506]
void Magick::Image::quantize(const bool) [libMagick++.so.10]
ImgType::ImgType(const PString&,CProxy*) [imagetype.cpp:367]

Thanks
- Amit (amitm000@yahoo.co.in)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Problem with ImageMagik quantize() function

Post by magick »

This is not a known problem. The path forward is to try your code with ImageMagick 6.3.5-9 and if you can reproduce the problem, post minimal source code that we can compile and run to reproduce the problem. If we can reproduce the problem we will have a patch generally within 48 hours.
Post Reply