Bug 690488 - Error: /undefined in --run--
Summary: Error: /undefined in --run--
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: master
Hardware: Macintosh MacOS X
: P4 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 09:05 UTC by Marcos H. Woehrmann
Modified: 2009-05-19 16:01 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2009-05-19 09:05:43 UTC
The attached file produces an "Error: /undefined in --run--" error with 8.64 and head (r9743).   Both 
Apple Preview and Acrobat 9 open the file without problem.

The command line I'm using for testing:

  bin/gs -sDEVICE=ppmraw -o test.ppm ./BigBBoxTesting_orig.pdf
Comment 1 Marcos H. Woehrmann 2009-05-19 09:05:54 UTC
Created attachment 5024 [details]
BigBBoxTesting_orig.pdf
Comment 2 Alex Cherepanov 2009-05-19 16:01:08 UTC
The sample PDF file has incorrect /length attributes in the stream dictionaries.

When the /Length attribute is incorrect, PDF interpreter removes it from the
stream dictionary.

This patch adds support of the missing /Length attribute to the pattern
handling code.

The following patch has been committed as a rev. 9744.
http://ghostscript.com/pipermail/gs-cvs/2009-May/009330.html
Regression testing shows no differences.