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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
fisheggs

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

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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);
fisheggs

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

Post 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.
Post Reply