Page 1 of 1

SIGSEGV in QueueAuthenticNexus of montage

Posted: 2011-09-04T01:58:36-07:00
by Hubbitus
Please look in our bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=735599 for more details and backtraces.

Re: SIGSEGV in QueueAuthenticNexus of montage

Posted: 2011-09-04T16:11:08-07:00
by magick
This problem requires two small patches. In magick/cache.c/QueueAuthenticNexus(), change

Code: Select all

  assert(cache_info->signature == MagickSignature);
  if (cache_info == (Cache) NULL)
    return((PixelPacket *) NULL);
to

Code: Select all

  if (cache_info == (Cache) NULL)
    return((PixelPacket *) NULL);
  assert(cache_info->signature == MagickSignature);
and in magick/montage.c/MontageImageList(), change

Code: Select all

    montage->columns=bounds.width;
    montage->rows=bounds.height;
to

Code: Select all

    montage->columns=MagickMax(bounds.width,1);
    montage->rows=MagickMax(bounds.height,1);

Re: SIGSEGV in QueueAuthenticNexus of montage

Posted: 2011-09-05T01:44:02-07:00
by Hubbitus
Will be these patches merged into main code of ImageMagick?

Thanks.

Re: SIGSEGV in QueueAuthenticNexus of montage

Posted: 2011-09-05T05:36:21-07:00
by magick
The patches are already in Subversion for ImageMagick 6.7.2 and will be part of the ImageMagick 6.7.2-2 release within a week.

Re: SIGSEGV in QueueAuthenticNexus of montage

Posted: 2011-09-05T05:56:53-07:00
by Hubbitus
Thats cool. Thank you very much.