Bug 688600 - "/rangecheck in --get--" reported by ghostscript, yet Acrobat Distiller does not complain
Summary: "/rangecheck in --get--" reported by ghostscript, yet Acrobat Distiller does ...
Status: RESOLVED DUPLICATE of bug 687120
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PS Interpreter (show other bugs)
Version: 8.51
Hardware: PC Windows XP
: P4 normal
Assignee: Stefan Kemper
URL: http://embedded.eecs.berkeley.edu/Alu...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 12:05 UTC by Benjamin Denckla
Modified: 2007-12-13 12:55 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 Benjamin Denckla 2006-03-15 12:05:53 UTC
Page 35 of document in URL is the offending page (something to do with its EPS 
diagrams I imagine).  At first I thought the postscript was invalid, but the 
fact that Distiller didn't have a problem made me wonder... of course this 
could just be that Distiller is more tolerant, which is a judgement call as to 
whether that is "right" or "better."

GSview 4.7 2005-03-26
AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file E:/Documents and Settings/bdenckla/Local 
Settings/Temp/McMillan Thesis.ps
Displaying page 1
Displaying page 34


AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file E:/Documents and Settings/bdenckla/Local 
Settings/Temp/McMillan Thesis.ps
Displaying page 34
Displaying page 35
Loading NimbusSanL-ReguItal font from E:\Program 
Files\gs\fonts/n019023l.pfb... 2291320 948723 2501704 965919 6 done.
Error: /rangecheck in --get--
Operand stack:
   --nostringval--   --nostringval--   --nostringval--   descender   0   --
nostringval--   1
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --
nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   
3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --
nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --
nostringval--
Dictionary stack:
   --dict:1129/1686(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--   --
dict:137/250(L)--   --dict:15/200(L)--   --dict:36/50(L)--   --dict:1/17(L)--
   --dict:5/17(L)--   --dict:1/3(L)--   --dict:17/18(ro)(G)--
Current allocation mode is local

--- Begin offending input ---
61 461
61 480
4 BSpl
End

Begin %I Text
%I cfg Black
0 0 0 SetCFg
%I f *-helvetica-medium-o-*-140-*
/Helvetica-Oblique 14 SetF
%I t
[ 1 0 0 1 279 707 ] concat
%I
[
(p)
] Text
End

End %I eop

showpage


end
%%EndDocument

 endTexFig
 150 1215 a FE(Since)38 b Ft(j)p Fx(S)6 b Ft(j)36 b FE(=)g(4,)k(the)e
(n)m(um)m(b)s(er)g(of)g(iterations)e(required)i(to)g(pro)s(duce)g(the)h
(\014xed)150 1335 y(p)s(oin)m(t)f(is)g(at)g(most)f(4.)61
b(Therefore,)41 b(let)d(us)h(compute)g Fx(\034)2230 1299
y Fn(i)2258 1335 y FE([false])f(for)g Fx(i)g FE(=)g(1)17
b(.)g(.)g(.)e(4,)150 1455 y(where)38 b Fx(\034)11 b FE([)p
Fx(Y)22 b FE(])35 b(=)g Fx(p)25 b Ft(_)h Fx(E)6 b(X)i(Y)21
b FE(.)56 b(After)37 b(the)h(\014rst)f(iteration,)f(w)m(e)i(ha)m(v)m(e)
g Fx(\034)2757 1419 y Fu(1)2797 1455 y FE([false])d(=)150
1576 y Fx(p)22 b Ft(_)h Fx(E)6 b(X)i FE(false)27 b(=)g
Fx(p)p FE(:)958 1603 y
 10919772 3091743 10261954 34403860 21181726 37495603 startTexFig
 958 1603 a
%%BeginDocument: EFgraph2.ps

50 dict begin

/arrowHeight 8 def
/arrowWidt
--- End offending input ---
file offset = 1062147
gsapi_run_string_continue returns -101


AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file E:/Documents and Settings/bdenckla/Local 
Settings/Temp/McMillan Thesis.ps
Displaying page 35
Loading NimbusSanL-ReguItal font from E:\Program 
Files\gs\fonts/n019023l.pfb... 2291320 948827 2501704 965497 6 done.
Error: /rangecheck in --get--
Operand stack:
   --nostringval--   --nostringval--   --nostringval--   descender   0   --
nostringval--   1
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --
nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   
3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --
nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --
nostringval--
Dictionary stack:
   --dict:1129/1686(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--   --
dict:137/250(L)--   --dict:15/200(L)--   --dict:36/50(L)--   --dict:1/17(L)--
   --dict:5/17(L)--   --dict:1/3(L)--   --dict:17/18(ro)(G)--
Current allocation mode is local

--- Begin offending input ---
61 461
61 480
4 BSpl
End

Begin %I Text
%I cfg Black
0 0 0 SetCFg
%I f *-helvetica-medium-o-*-140-*
/Helvetica-Oblique 14 SetF
%I t
[ 1 0 0 1 279 707 ] concat
%I
[
(p)
] Text
End

End %I eop

showpage


end
%%EndDocument

 endTexFig
 150 1215 a FE(Since)38 b Ft(j)p Fx(S)6 b Ft(j)36 b FE(=)g(4,)k(the)e
(n)m(um)m(b)s(er)g(of)g(iterations)e(required)i(to)g(pro)s(duce)g(the)h
(\014xed)150 1335 y(p)s(oin)m(t)f(is)g(at)g(most)f(4.)61
b(Therefore,)41 b(let)d(us)h(compute)g Fx(\034)2230 1299
y Fn(i)2258 1335 y FE([false])f(for)g Fx(i)g FE(=)g(1)17
b(.)g(.)g(.)e(4,)150 1455 y(where)38 b Fx(\034)11 b FE([)p
Fx(Y)22 b FE(])35 b(=)g Fx(p)25 b Ft(_)h Fx(E)6 b(X)i(Y)21
b FE(.)56 b(After)37 b(the)h(\014rst)f(iteration,)f(w)m(e)i(ha)m(v)m(e)
g Fx(\034)2757 1419 y Fu(1)2797 1455 y FE([false])d(=)150
1576 y Fx(p)22 b Ft(_)h Fx(E)6 b(X)i FE(false)27 b(=)g
Fx(p)p FE(:)958 1603 y
 10919772 3091743 10261954 34403860 21181726 37495603 startTexFig
 958 1603 a
%%BeginDocument: EFgraph2.ps

50 dict begin

/arrowHeight 8 def
/arrowWidt
--- End offending input ---
file offset = 1062147
gsapi_run_string_continue returns -101


AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.


AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.


AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file E:/Documents and Settings/bdenckla/Local 
Settings/Temp/McMillan_Thesis_page_35.ps
Displaying page 1
Loading NimbusSanL-ReguItal font from E:\Program 
Files\gs\fonts/n019023l.pfb... 2291320 948739 2501704 965497 6 done.
Error: /rangecheck in --get--
Operand stack:
   --nostringval--   --nostringval--   --nostringval--   descender   0   --
nostringval--   1
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --
nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   
3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --
nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --
nostringval--
Dictionary stack:
   --dict:1129/1686(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--   --
dict:137/250(L)--   --dict:15/200(L)--   --dict:36/50(L)--   --dict:1/17(L)--
   --dict:5/17(L)--   --dict:1/3(L)--   --dict:17/18(ro)(G)--
Current allocation mode is local

--- Begin offending input ---
61 461
61 480
4 BSpl
End

Begin %I Text
%I cfg Black
0 0 0 SetCFg
%I f *-helvetica-medium-o-*-140-*
/Helvetica-Oblique 14 SetF
%I t
[ 1 0 0 1 279 707 ] concat
%I
[
(p)
] Text
End

End %I eop

showpage


end
%%EndDocument

 endTexFig
 150 1215 a FE(Since)38 b Ft(j)p Fx(S)6 b Ft(j)36 b FE(=)g(4,)k(the)e
(n)m(um)m(b)s(er)g(of)g(iterations)e(required)i(to)g(pro)s(duce)g(the)h
(\014xed)150 1335 y(p)s(oin)m(t)f(is)g(at)g(most)f(4.)61
b(Therefore,)41 b(let)d(us)h(compute)g Fx(\034)2230 1299
y Fn(i)2258 1335 y FE([false])f(for)g Fx(i)g FE(=)g(1)17
b(.)g(.)g(.)e(4,)150 1455 y(where)38 b Fx(\034)11 b FE([)p
Fx(Y)22 b FE(])35 b(=)g Fx(p)25 b Ft(_)h Fx(E)6 b(X)i(Y)21
b FE(.)56 b(After)37 b(the)h(\014rst)f(iteration,)f(w)m(e)i(ha)m(v)m(e)
g Fx(\034)2757 1419 y Fu(1)2797 1455 y FE([false])d(=)150
1576 y Fx(p)22 b Ft(_)h Fx(E)6 b(X)i FE(false)27 b(=)g
Fx(p)p FE(:)958 1603 y
 10919772 3091743 10261954 34403860 21181726 37495603 startTexFig
 958 1603 a
%%BeginDocument: EFgraph2.ps

50 dict begin

/arrowHeight 8 def
/arrowWidt
--- End offending input ---
file offset = 953164
gsapi_run_string_continue returns -101
Comment 1 Benjamin Denckla 2006-03-15 12:09:47 UTC
Sorry, it seems the log I pasted has the transcript of a few attempts to read 
the file.  Here's a single attempt to read:

GSview 4.7 2005-03-26
AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file E:/Documents and Settings/bdenckla/Local 
Settings/Temp/McMillan Thesis.ps
Displaying page 1
Displaying page 35
Loading NimbusSanL-ReguItal font from E:\Program 
Files\gs\fonts/n019023l.pfb... 2291320 948827 2501704 965919 6 done.
Error: /rangecheck in --get--
Operand stack:
   --nostringval--   --nostringval--   --nostringval--   descender   0   --
nostringval--   1
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --
nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   
3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --
nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --
nostringval--
Dictionary stack:
   --dict:1129/1686(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--   --
dict:137/250(L)--   --dict:15/200(L)--   --dict:36/50(L)--   --dict:1/17(L)--
   --dict:5/17(L)--   --dict:1/3(L)--   --dict:17/18(ro)(G)--
Current allocation mode is local

--- Begin offending input ---
61 461
61 480
4 BSpl
End

Begin %I Text
%I cfg Black
0 0 0 SetCFg
%I f *-helvetica-medium-o-*-140-*
/Helvetica-Oblique 14 SetF
%I t
[ 1 0 0 1 279 707 ] concat
%I
[
(p)
] Text
End

End %I eop

showpage


end
%%EndDocument

 endTexFig
 150 1215 a FE(Since)38 b Ft(j)p Fx(S)6 b Ft(j)36 b FE(=)g(4,)k(the)e
(n)m(um)m(b)s(er)g(of)g(iterations)e(required)i(to)g(pro)s(duce)g(the)h
(\014xed)150 1335 y(p)s(oin)m(t)f(is)g(at)g(most)f(4.)61
b(Therefore,)41 b(let)d(us)h(compute)g Fx(\034)2230 1299
y Fn(i)2258 1335 y FE([false])f(for)g Fx(i)g FE(=)g(1)17
b(.)g(.)g(.)e(4,)150 1455 y(where)38 b Fx(\034)11 b FE([)p
Fx(Y)22 b FE(])35 b(=)g Fx(p)25 b Ft(_)h Fx(E)6 b(X)i(Y)21
b FE(.)56 b(After)37 b(the)h(\014rst)f(iteration,)f(w)m(e)i(ha)m(v)m(e)
g Fx(\034)2757 1419 y Fu(1)2797 1455 y FE([false])d(=)150
1576 y Fx(p)22 b Ft(_)h Fx(E)6 b(X)i FE(false)27 b(=)g
Fx(p)p FE(:)958 1603 y
 10919772 3091743 10261954 34403860 21181726 37495603 startTexFig
 958 1603 a
%%BeginDocument: EFgraph2.ps

50 dict begin

/arrowHeight 8 def
/arrowWidt
--- End offending input ---
file offset = 1062147
gsapi_run_string_continue returns -101


Comment 2 Alex Cherepanov 2006-03-15 12:54:34 UTC
This is a duplicate on the bug 687120.
The sample file includes an EPS file produced by an old version of idraw
which is not compatible with GS fonts v. 8.11. 

There are several ways to work around the problem.
(1) re-create the EPS files using a current version of idraw.
(2) Patch the file as described in the bug 687120
(3) Make all FontBBox arrays in GS fonts executable.


*** This bug has been marked as a duplicate of 687120 ***