[tex-live] [pretest] pdfcrop crashes when called from certain directory

Uwe Siart usenet at siart.de
Mon Apr 25 06:56:05 CEST 2016


Heiko Oberdiek <heiko.oberdiek at googlemail.com> writes:

> What happens, if you run ghostscript manually?
>
>     gswin32c -sDEVICE=bbox -dBATCH -dNOPAUSE -c save pop -f s-params.pdf

Here's the output of two subsequent calls of pdfcrop and gswin32c.
pdfcrop crashes, gswin32c not:

,----
| d:\user\coupling-structure-letter\figures>pdfcrop s-params.pdf
| PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
| !!! Error: Ghostscript exited with error code 5!
| C:\Programme\texlive\2016\bin\win32\runscript.tlu:679: command failed with exit code 13:
| perl.exe c:\Programme\texlive\2016\texmf-dist\scripts\pdfcrop\pdfcrop.pl s-params.pdf
`----

,----
| d:\user\coupling-structure-letter\figures>gswin32c -sDEVICE#bbox -dBATCH -dNOPAUSE -c save pop -f s-params.pdf
| GPL Ghostscript 9.19 (2016-03-23)
| Copyright (C) 2016 Artifex Software, Inc.  All rights reserved.
| This software comes with NO WARRANTY: see the file PUBLIC for details.
| Processing pages 1 through 1.
| Page 1
| %%BoundingBox: 108 437 316 734
| %%HiResBoundingBox: 108.125997 437.669987 315.503990 733.481978
`----

-- 
Uwe



More information about the tex-live mailing list