[Magick-bugs] Problems with ImageMagick C++ interface on x86_64

duc.sequere.aut.de.via.decede at imagemagick.org duc.sequere.aut.de.via.decede at imagemagick.org
Wed May 28 16:56:32 PDT 2008


> bugtest: magick/exception.c:374: DestroyExceptionInfo: Assertion

The m_bg_image image object is being accessed before it is defined.  However,
ImageMagick should throw a proper exception rather than an assertion.
The patch is to only set the exception signature in DestroyExceptionInfo()
of magick/exception.c if the relinquish member is not 0:

  if (exception->relinquish != MagickFalse)
    exception->signature=(~MagickSignature);

We have this patch in ImageMagick 6.4.1-4 Beta (available sometime tomorrow).


More information about the Magick-bugs mailing list