[gs-bugs] [Bug 689959] New: Error running pdfopt.ps

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Wed Jul 9 11:26:20 PDT 2008


http://bugs.ghostscript.com/show_bug.cgi?id=689959

           Summary: Error running pdfopt.ps
           Product: Ghostscript
           Version: HEAD
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P4
         Component: PDF Writer
        AssignedTo: ken.sharp at artifex.com
        ReportedBy: marcos.woehrmann at artifex.com
         QAContact: gs-bugs at ghostscript.com


The customer reports and I've verified that running pdfopt with the attached file results in an error.  The 
customer reported this with gs8.52, but gs8.62 and head (r8825) also fail.

The command line I'm using:

  bin/gs -- lib/pdfopt.ps ./Newborn_Nutrition.pdf test.pdf

The error message:

Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Read objects, t = 7
Replaced references, t = 7
24 objects total
Propagated attributes, t = 8
[[14]]
Identified Catalog, t = 8
[15 21 16 18]
Identified first page, t = 8
[[1 10 2 3]]
[]
Identified other pages, t = 8
[4 5 6 7 8 9 11 12 13 17 19 20 22]
Identified non-pages, t = 9
Assigned objects #s, t = 9
Wrote Catalog, t = 9
Wrote first page, t = 12
Wrote other pages, t = 15
Wrote shared objects, t = 15
   **** Warning: wrong generation: 9 1, xref gen#: 0
   **** Warning: wrong generation: 13 1, xref gen#: 0
   **** Warning: wrong generation: 20 1, xref gen#: 0
   **** Warning: wrong generation: 22 1, xref gen#: 0
Error: /undefined in --get--
Operand stack:
   --nostringval--   FirstPageXrefLength   --nostringval--   --dict:9/9(ro)(G)--   filetype
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   -
-nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1905   1   3   
%oparray_pop   1904   1   3   %oparray_pop   1888   1   3   %oparray_pop   1771   1   3   %oparray_pop   --
nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   
%stopped_push   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --
nostringval--   --nostringval--   --nostringval--   --nostringval--   --dict:13/14(L)--   --
nostringval--   7   %dict_continue   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1113/1684(ro)(G)--   --dict:1/20(G)--   --dict:109/200(L)--   --dict:76/200(G)--   --
dict:274/300(ro)(G)--   --dict:18/25(L)--   --dict:48/80(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 36439
GPL Ghostscript SVN PRE-RELEASE 8.63: Unrecoverable error, exit code 1


Note that other PDF files work, so it's not a fundamental problem with pdfopt.ps.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list