Investigated further using valgrind with the debug package. Problem
seems to be with ImageMagick. There is a crash happening at
RelinquishMagickMemory (memory.c:589) when free(memory)
is called. Here is the valgrind output:
==========================================
gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT 
-dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pngalpha" 
-dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g573x489  
"-sOutputFile=/tmp/magick-XXCt7OBg" "-f/tmp/magick-XXspO88W" 
"-f/tmp/magick-XXi7GxND"
==30776== Invalid free() / delete / delete[]
==30776==    at 0x4A0560B: free (vg_replace_malloc.c:233)
==30776==    by 0x4D11F0D: RelinquishMagickMemory (memory.c:589)
==30776==    by 0x6AA650B: png_IM_free (png.c:1435)
==30776==    by 0x5BEEABB: png_free_data (png.c:490)
==30776==    by 0x3B3C4051EB: (within /usr/lib64/libpng12.so.0.22.0)
==30776==    by 0x3B3C411790: (within /usr/lib64/libpng12.so.0.22.0)
==30776==    by 0x3B3C411AD3: png_destroy_read_struct (in 
/usr/lib64/libpng12.so.0.22.0)
==30776==    by 0x6AAAE51: ReadOnePNGImage (png.c:1717)
==30776==    by 0x6AB291D: ReadPNGImage (png.c:2834)
==30776==    by 0x4CA1F4F: ReadImage (constitute.c:386)
==30776==    by 0x570CEBF: ReadPSImage (ps.c:706)
==30776==    by 0x4CA1F4F: ReadImage (constitute.c:386)
==30776==  Address 0xF4240 is not stack'd, malloc'd or (recently) free'd
===========================================

That command line runs fine with just using ghostscript.


-- 
Prof. S. Umar
Dept. of Physics & Astronomy
Vanderbilt University
Nashville, TN 37235
Tel : (615) 322-2459
[EMAIL PROTECTED]
http://compsci.cas.vanderbilt.edu/~umar/resume.pdf
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to