Summary: | Error reading PDF file: /stackunderflow in --run-- | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | All | ||
Customer: | 580 | Word Size: | --- |
Attachments: | patch |
Description
Marcos H. Woehrmann
2011-01-18 04:09:15 UTC
Not that it's particularly informative, but here is the -dPDFDEBUG output:
GPL Ghostscript SVN PRE-RELEASE 9.01 (2010-09-14)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
**** Warning: File has a corrupted %%EOF marker, or garbage after %%EOF.
<<
/Linearized 1 /L 529248 /O 122 /E 30130 /N 16 /T 526860 /H [
1576 710 ]
>>
**** 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.
Error: /stackunderflow in --run--
Operand stack:
14
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1894 1 3 %oparray_pop 1893 1 3 %oparray_pop 1877 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1152/1684(ro)(G)-- --dict:1/20(G)-- --dict:82/200(L)-- --dict:82/200(L)-- --dict:108/127(ro)(G)-- --dict:296/300(ro)(G)-- --dict:20/30(L)--
Current allocation mode is local
GPL Ghostscript SVN PRE-RELEASE 9.01: Unrecoverable error, exit code 1
Exit 1
Created attachment 7143 [details]
patch
Search for 'trailer' harder: at the end and at the beginning of the file.
This helps to recover some more of broken linearized files.
The patch has been committed as a rev. 12040. |