Page 1 of 1

MagickNewImage() crashes with assertion -- v6.3.5-2 beta

Posted: 2007-07-17T09:03:03-07:00
by fisheggs
MagickNewImage() crashes with assertion

wand/pixel-wand.c:1198: PixelGetMagickColor: Assertion `wand->signature == 0xabacadabUL' failed.

This is in v6.3.5-2 beta built from ImageMagick-6.3.5-2.tar.gz dated Jul 17 01:23 on x86_64 GNU/Linux

Re: MagickNewImage() crashes with assertion -- v6.3.5-2 beta

Posted: 2007-07-17T09:43:47-07:00
by magick
Did you instantiate the pixel wand? This works for us:

Code: Select all

  magick_wand=NewMagickWand();
  pixel_wand=NewPixelWand();
  MagickNewImage(magick_wand,100,100,pixel_wand);

Re: MagickNewImage() crashes with assertion -- v6.3.5-2 beta

Posted: 2007-07-17T10:13:23-07:00
by fisheggs
Arghhh!!!, when I changed the code to use the new MagickGetBackgroundColor() I removed an initialisation, and the change didn't get tested because of the CloneMagickWand() crash.

My apologies for wasting your time.