Bug 690326 - Error: /rangecheck in --pdfmark--
Summary: Error: /rangecheck in --pdfmark--
Status: RESOLVED INVALID
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Interpreter (show other bugs)
Version: 8.64
Hardware: PC Windows 2000
: P4 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-12 05:40 UTC by Richard Melcher
Modified: 2009-03-28 17:28 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 Richard Melcher 2009-03-12 05:40:04 UTC
I'm new to Ghost Script so please excuse any dumb questions or answers. 

Converting a large Postscript (500 MB, 27,000+ pages, 18,000+ book marks 
(pdfmark)) to PDF (version 1.4) and job fails with error 
message: "Error: /rangecheck in --pdfmark--".  Can be converted with Distiller 
Ver 4.  Any hints on what can be wrong.   It is not possible to share the PS 
file, it contains confidential data.   

GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /rangecheck in --pdfmark--
Operand stack:
   --nostringval--   Rect   --nostringval--   Action   GoToR   File   
(.\\RIVAROXACS2001-048026-200700.pdf )   Color   --nostringval--   SrcPg   
18167   Subtype   Link   ANN
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval-
-   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   
false   1   %stopped_push   1862   1   3   %oparray_pop   1861   1   3   %
oparray_pop   1845   1   3   %oparray_pop   1739   1   3   %oparray_pop   --
nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--
   --nostringval--   2   %stopped_push   --nostringval--   1863   14   3   %
oparray_pop   --nostringval--
Dictionary stack:
   --dict:1152/1684(ro)(G)--   --dict:0/20(G)--   --dict:69/200(L)--
Current allocation mode is local
Current file position is 2696470
Comment 1 Alex Cherepanov 2009-03-12 06:54:00 UTC
Unfortunately, little can be done without your sample file.

Please compress your file.
If the compressed file is less than 20M - attach it to the bug report,
otherwise put it on ftp or http server for download.
Comment 2 Ray Johnston 2009-03-12 09:51:21 UTC
If you can't send this file, perhaps you can extract a sample that causes the
problem and send that (after changing the confidential data).

Also, please post the error message output after adding -dOSTACKPRINT -dESTACKPRINT

If files are tagged as "Private", only Artifex staff can see them.
Comment 3 Richard Melcher 2009-03-12 10:23:05 UTC
The file is very large 27,000 pages, 500 MB, not sure where it is failing 

GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /rangecheck in --pdfmark--
Operand stack:
    -mark-
    /Rect
    [56.7 56.7 226.78 72.7]
    /Action
    /GoToR
    /File
    (.\\RIVAROXACS2001-048014-200601.pdf )
    /Color
    [1 1 1]
    /SrcPg
    16675
    /Subtype
    /Link
    /ANN
Execution stack:
    --%interp_exit--
    .runexec2
    -file-
    {--dup-- null --ne-- {--exec-- true} {--pop-- false} --ifelse--}
    null
    2
    --%stopped_push--
    -file-
    {{/execute0 --cvx-- 1 --.quit--} --if--}
    {$error /newerror --get-- --and-- {/handleerror --.systemvar-- --exec-- --
flush-- true} {false} --ifelse--}
    false
    1
    --%stopped_push--
    1862
    1
    3
    --%oparray_pop--
    1861
    1
    3
    --%oparray_pop--
    1845
    1
    3
    --%oparray_pop--
    1739
    1
    3
    --%oparray_pop--
    null
    --%errorexec_pop--
    .runexec2
    -file-
    {--dup-- null --ne-- {--exec-- true} {--pop-- false} --ifelse--}
    null
    2
    --%stopped_push--
    -file-
    1863
    14
    3
    --%oparray_pop--
    {--cleartomark--}
Dictionary stack:
   --dict:1152/1684(ro)(G)--   --dict:0/20(G)--   --dict:69/200(L)--
Current allocation mode is local
Current file position is 2474162

Comment 4 Alex Cherepanov 2009-03-28 17:28:42 UTC
Unfortunately, this problem cannot be solved without a sample file.
Feel free to reopen this bug report when you find a way to remove
confidential information from your file and deliver it to
Ghostscript developers.