Segfault in ReadPSDLayer in 6.6.9

Andres Freund <[email protected]> Thu, 5 May 2011 13:30:15 +0200
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
--Boundary-00=_IpowN08bmq9jP8U
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

~ # convert /tmp/zebra.eps /tmp/zebra.psd
~ # convert /tmp/zebra.psd /tmp/zebra.png
Segmentation fault
~ # gdb --arg convert /tmp/zebra.psd /tmp/zebra.png

GNU gdb (GDB) 7.0.1-debian
...
(gdb) run
...
Program received signal SIGSEGV, Segmentation fault.
ReadPSDLayer (image=<value optimized out>, channels=<value optimized out>, 
type=<value optimized out>, 
    offsets=<value optimized out>, exception=<value optimized out>) at 
coders/psd.c:655
655	coders/psd.c: No such file or directory.
	in coders/psd.c
(gdb) bt
#0  ReadPSDLayer (image=<value optimized out>, channels=<value optimized out>, 
type=<value optimized out>, 
    offsets=<value optimized out>, exception=<value optimized out>) at 
coders/psd.c:655
#1  0x00007ffff343cf4d in ReadPSDImage (image_info=0x60b170, exception=0x601290) 
at coders/psd.c:1295
#2  0x00007ffff79ed509 in ReadImage (image_info=0x606f30, exception=<value 
optimized out>)
    at magick/constitute.c:578
#3  0x00007ffff79ee6bb in ReadImages (image_info=0x606f30, exception=0x601290) 
at magick/constitute.c:884
#4  0x00007ffff7694ebb in ConvertImageCommand (image_info=<value optimized out>, 
argc=3, argv=0x60b120, 
    metadata=<value optimized out>, exception=0x601290) at wand/convert.c:591
#5  0x00007ffff77083c1 in MagickCommandGenesis (image_info=<value optimized 
out>, command=<value optimized out>, 
    argc=<value optimized out>, argv=0x7fffffffebd8, metadata=0x0, 
exception=0x601290) at wand/mogrify.c:169
#6  0x00000000004009f5 in main (argc=3, argv=0x7fffffffebd8) at 
utilities/convert.c:80

The original zebra.eps is attached.

Thanks,

Andres

--Boundary-00=_IpowN08bmq9jP8U
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

--Boundary-00=_IpowN08bmq9jP8U--