Page 1 of 1

Segmentation fault when using crop

Posted: 2009-08-29T00:50:47-07:00
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.

Re: Segmentation fault when using crop

Posted: 2009-08-29T09:50:52-07:00
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.