Re: crash in Imagmagick : what am I doing wrong?

da.mihi.sis.bubulae.frustrum.assae.solana.tuberosa.in.modo.gallico.fricta.ac.quassum.lactatum.coagulatum.crassum@imagemagick.org Mon, 10 Oct 2011 04:45:47 -0700
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
> I'm running a program linked against ImageMagick SVN version 5365.

The Subversion trunk is alpha level code.  You probably want the stable
version of ImageMagick @ ImageMagick-6.7.3.  If you do use ImageMagick-7.0.0-0,
use the MagickCore/MagickCore.h header rather than magick/api.h.  Also check
to insure *pic_ is not negative or exceeds 256 for this line of code:

  SetPixelRed( imageData , imageData->colormap[ *pic_ ].red  ...

Finally, use gdb to identify the source line where the program faults.