Segmentation fault when using crop

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Nemo_bis

Segmentation fault when using crop

Post by Nemo_bis »

I see that there were problems with segmentation fault in the past, so perhaps it's not my fault.
I'm trying to crop this pdf file (to remove white margins). It's 205.2 MB, more than 900 pages.
I tried this:

Code: Select all

convert -limit area 1 N0051166_PDF_1_-1DM.pdf -crop "850x1210+90+0" vocabolario2.pdf
I use -limit to save RAM or it will kill the computer, as you suggested elsewhere, but now I have a new error, segmentation fault. I'm using ImageMagick 6.4.5 on Ubuntu 9.04.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Segmentation fault when using crop

Post by magick »

Make sure your temporary disk partition has plenty of free space. You can point it to another location with the MAGICK_TMPDIR environment variable. In the mean-time, the conversion worked fine for us. We're using ImageMagick 6.5.5-4, the current release.
Post Reply