Abort trap: 6 after upgrade to 6.9.9-40 Q16 x86_64
Posted: 2019-06-13T05:02:54-07:00
Hi all,
I am running Macos 10.14.5 (18F132), and have installed Imagemagick via Macports. I have recently upgraded to version 6.9.9-40 Q16 x86_64. The full output for 'convert -version' reads:
After I upgraded to the latest version of Imagemagick, this no longer works. I get an 'Abort trap: 6' for each file in the batch. Sample output reads:
Best,
x
I am running Macos 10.14.5 (18F132), and have installed Imagemagick via Macports. I have recently upgraded to version 6.9.9-40 Q16 x86_64. The full output for 'convert -version' reads:
I have a script for batch converting PDF files to PNG files, which goes:Version: ImageMagick 6.9.9-40 Q16 x86_64 2019-06-11 http://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules
Delegates (built-in): bzlib djvu fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms ltdl lzma openexr png ps raw tiff webp x xml zlib
Code: Select all
for i in *.pdf; do convert -verbose -density 600 -trim $i -quality 100 -flatten $(basename "$i" .pdf).png;done
This isn't restricted to this script, Imagemagick also returns this error when I try to run a simple conversion (no attributes whatsoever) of one PDF file into PNG.[ghostscript library 9.27] -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r600x600' '-sOutputFile=/var/folders/k0/m6mz3d055m75782ynnkt2k0w0000gn/T/magick-5910MkmWy1yIM0tx%d' '-f/var/folders/k0/m6mz3d055m75782ynnkt2k0w0000gn/T/magick-5910gs9cNcP8C7cU' '-f/var/folders/k0/m6mz3d055m75782ynnkt2k0w0000gn/T/magick-5910iJZ-CiPdfIWp'Abort trap: 6
Best,
x