Segmentation faults and abort trap errors.

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
arizonagroovejet
Posts: 28
Joined: 2009-01-20T12:37:52-07:00

Segmentation faults and abort trap errors.

Post by arizonagroovejet »

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:

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
Can anyone shed any light on this?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Segmentation faults and abort trap errors.

Post by fmw42 »

possibly a bad MacPorts install. for example see viewtopic.php?f=1&t=15728&p=56074&hilit ... 0.6#p56074

I am on Mac OSX Tiger and install manually without any troubles. But have to install delegates manually.

see http://www.imagemagick.org/download/www ... .html#unix
Post Reply