Segmentation faults and abort trap errors.
Posted: 2010-03-18T16:23:20-07:00
Mac OS X 10.6.2, ImageMagick installed via MacPorts. (I can't use the binary build that's provided as it's X86_86 and I have a Core Duo processor.) For a while now whenever I've tried and do anything with ImageMagick, the command exits with either an Abort Trap error or Segmentation Fault error, but most of the time the command does actually work. I've uninstalled ImageMagick, cleaned out the MacPorts cache and re-installed but it hasn't helped. I just tried updating ImageMagick today and the problem is still there. I can't find anything right now that gives a Segmentation Fault but I can get this:
Can anyone shed any light on this?
Code: Select all
case:Desktop mike$ rm foo.jpg
case:Desktop mike$ file foo.jpg
foo.jpg: cannot open `foo.jpg' (No such file or directory)
case:Desktop mike$ convert Galactic_Cntr_full_cropped.jpg -resize 50% foo.jpg
Abort trap
case:Desktop mike$ file foo.jpg
foo.jpg: JPEG image data, JFIF standard 1.01
case:Desktop mike$ ls -lh foo.jpg
-rw-r--r-- 1 mike staff 2.6M Mar 18 23:10 foo.jpg
case:Desktop mike$ file foo.png
foo.png: cannot open `foo.png' (No such file or directory)
case:Desktop mike$ convert Galactic_Cntr_full_cropped.jpg -resize 50% foo.png
Abort trap
case:Desktop mike$ file foo.png
foo.png: PNG image, 1955 x 2550, 8-bit/color RGB, non-interlaced
case:Desktop mike$ ls -lh foo.png
-rw-r--r-- 1 mike staff 14M Mar 18 23:16 foo.png
case:Desktop mike$ convert --help | head
Version: ImageMagick 6.6.0-0 2010-03-18 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP OpenCL
Usage: convert [options ...] file [ [options ...] file ...] [options ...] file