PSD file save causes segmentation fault
Posted: 2011-06-14T03:43:15-07:00
I am using imagemagick 6.6.7 (latest build of today 06/14/2011) in my application to resize psd files. at there are cases in which when I saving the image to disk I get segmentation fault.
Trying the resize via convert halt also generates segmentation fault.
I can send this psd file when necessary.
here is back trace of my crashed program:
Program terminated with signal 11, Segmentation fault.
#0 0x00007fb6b0e42e2b in raise () from /lib/libpthread.so.0
(gdb) bt
#0 0x00007fb6b0e42e2b in raise () from /lib/libpthread.so.0
#1 0x00007fb6af3809af in MagickSignalHandler () from /opt/prospero/lib/libMagickCore.so.4
#2 <signal handler called>
#3 0x00007fb6b0127287 in memmove () from /lib/libc.so.6
#4 0x00007fb6af3821b5 in CopyMagickMemory () from /opt/prospero/lib/libMagickCore.so.4
#5 0x00007fb6af4c1a02 in RemoveResolutionFromResourceBlock ()
from /opt/prospero/lib/libMagickCore.so.4
#6 0x00007fb6af4c21f3 in WritePSDImage () from /opt/prospero/lib/libMagickCore.so.4
#7 0x00007fb6af2de1f9 in WriteImage () from /opt/prospero/lib/libMagickCore.so.4
Trying the resize via convert halt also generates segmentation fault.
I can send this psd file when necessary.
here is back trace of my crashed program:
Program terminated with signal 11, Segmentation fault.
#0 0x00007fb6b0e42e2b in raise () from /lib/libpthread.so.0
(gdb) bt
#0 0x00007fb6b0e42e2b in raise () from /lib/libpthread.so.0
#1 0x00007fb6af3809af in MagickSignalHandler () from /opt/prospero/lib/libMagickCore.so.4
#2 <signal handler called>
#3 0x00007fb6b0127287 in memmove () from /lib/libc.so.6
#4 0x00007fb6af3821b5 in CopyMagickMemory () from /opt/prospero/lib/libMagickCore.so.4
#5 0x00007fb6af4c1a02 in RemoveResolutionFromResourceBlock ()
from /opt/prospero/lib/libMagickCore.so.4
#6 0x00007fb6af4c21f3 in WritePSDImage () from /opt/prospero/lib/libMagickCore.so.4
#7 0x00007fb6af2de1f9 in WriteImage () from /opt/prospero/lib/libMagickCore.so.4