The customer reports and I've verified that the attached PDF file generates a "Error: /typecheck in --run--" error when read by Ghostscript. The customer is using 9.01 but earlier and later versions that I tried fail in the same way. Apple Preview, Adobe Acrobat, and mu all read the file without problem.
The command line I'm using:
bin/gs -sDEVICE=ppmraw -o test.ppm ./E030112_0000105765.pdf
The file has an xref entry that points to a wrong object.
Ghostscript detects this, tries to rebuild the xref but cannot
do this for the files with object streams.
The file runs to completion with -dNoVerifyXref option.
As a quick fix I'll disable xref verification for the files with object streams.
We need to consider extending xref rebuilding code to support object streams.
Don't verify stream xref table because we cannot repair PDF files with
new object format. Such verification only increases the chance that the
A patch that does this has been committed as: