Graphics Magick segmentation fault