Created attachment 12222 [details] PDF than makes interpreter to loop
A PDF (maybe damaged while being tranferred) makes PDF interpreter to hang and print the last error line infinitely. **** Warning: An error occurred while reading an XREF table. **** The file has been damaged. This may have been caused **** by a problem while converting or transfering the file. **** Ghostscript will attempt to recover the data. **** Warning: stream Length incorrect. **** Warning: stream Length incorrect. **** Warning: Invalid operator '-' is assumed to be a number 0. **** Unknown operator: '0753-324.2' looks like a malformed number, replacing with 0. **** Unknown operator: '5787..2' looks like a malformed number, replacing with 0. **** Unknown operator: '5-24' looks like a malformed number, replacing with 0. **** Unknown operator: '5-24' looks like a malformed number, replacing with 0. **** Ignoring changes to the graphic state after operator 'W'. **** Ignoring changes to the graphic state after operator 'W'. **** Ignoring changes to the graphic state after operator 'W'. .... ....
Fixed in: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=03456d0a
Hello Chris, I've rebuilt with the patch and now it does NOT loop anymore. (Note that the pdf was "very corrupted" because of a wrong ftp method, text instead of binary). Thanks a lot for your fix. Giuseppe.