Summary: | Corrupted PDF hangs PDF conversion | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | beppecosta <beppecosta> |
Component: | PDF Interpreter | Assignee: | Chris Liddell (chrisl) <chris.liddell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | beppecosta, chris.liddell |
Priority: | P4 | ||
Version: | 9.18 | ||
Hardware: | Other | ||
OS: | other | ||
Customer: | Word Size: | --- | |
Attachments: | PDF than makes interpreter to loop |
Description
beppecosta
2016-01-07 02:35:11 UTC
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'. .... .... 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. |