Subject: Re: bug#24063: 25.1; Emacs 25.1 RC1 crashes on Solaris 11.3 when asked to open and display an image

From: Eli Zaretskii <[email-masked]>
Date: Wed, 27 Jul 2016 19:00:32 +0300

> Date: Tue, 26 Jul 2016 20:03:35 -0700
> From: Henry Unger <[email-masked]>
> Cc: [email-masked]
> 
> > 	  int xlim = min (row_width, width);
> > 	  for (x = 0; x < xlim; x++)
> >             {
> >               PixelGetMagickColor (pixels[x], &pixel);
> >               XPutPixel (ximg, x, y,  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> >                          lookup_rgb_color (f,
> > 					   color_scale * pixel.red,
> > 					   color_scale * pixel.green,
> > 					   color_scale * pixel.blue));
> >             }
> > 
> > That particular line is a strange place to crash.  Can you tell what are the
> > values of ximg, xlim, x, y, and pixels[x] when it crashes?
> 
> ximg = 0x400e
> xlim = 0 
> x = 0
> y = 0
> (dbx) print pixels[x]
> dbx: cannot access address 0xffff0000

So the problem is in the value returned by PixelGetNextIteratorRow.
The only ideas I have is (a) upgrade to a later version of
ImageMagick, and (b) ask on some ImageMagick forum about similar
problems.

Thanks.