I'm attaching a PDF that exhibits this error in the interpreter: **** File has an unbalanced >> (close dictionary). **** Error reading a content stream. The page may be incomplete. **** Incorrect object count in object stream. Error: /rangecheck in resolveobjectstream Operand stack: --nostringval-- --dict:10/10(L)-- --dict:103/103(ro)(L)-- --nostringval-- PageSpotColors --dict:0/0(L)-- --dict:1/4(L)-- 6818 8 107 --dict:7/15(L)-- 58 --nostringval-- false --nostringval-- --dict:3/3(L)-- --dict:5/5(L)-- --dict:5/5(L)-- --dict:8/8(L)-- --dict:3/3(L)-- --nostringval-- --dict:5/5(L)-- --dict:6/6(L)-- --dict:9/9(L)-- --dict:3/3(L)-- --dict:5/5(L)-- --dict:5/5(L)-- --dict:8/8(L)-- --dict:5/5(L)-- --dict:6/6(L)-- --dict:9/9(L)-- --dict:5/5(L)-- --dict:5/5(L)-- --dict:8/8(L)-- --dict:8/8(L)-- --dict:6/6(L)-- --dict:3/3(L)-- --dict:5/5(L)-- --dict:5/5(L)-- --dict:8/8(L)-- --dict:8/8(L)-- --dict:9/9(L)-- --dict:5/5(L)-- --dict:5/5(L)-- --dict:8/8(L)-- --dict:8/8(L)-- --dict:6/6(L)-- --dict:3/3(L)-- --dict:5/5(L)-- --dict:5/5(L)-- --dict:5/5(L)-- --nostringval-- BaseFont Helvetica Encoding --nostringval-- FirstChar 0 LastChar 255 Subtype Type1 ToUnicode --nostringval-- Type Font Widths --nostringval-- --dict:6/6(L)-- --dict:9/9(L)-- --dict:3/3(L)-- --dict:5/5(L)-- --dict:8/8(L)-- --dict:5/5(L)-- --dict:6/6(L)-- --dict:9/9(L)-- --dict:3/3(L)-- --dict:5/5(L)-- 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 --nostringval-- --nostringval-- 3 1 10 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1148/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:275/300(ro)(G)-- --dict:23/25(L)-- --dict:5/5(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 8.63: Unrecoverable error, exit code 1
Created attachment 5244 [details] sample PDF exhibiting this problem
Works for me with current code. Note that although the report says 8.64, the quoted text says 8.63. You could try using 8.64 to see if the fix is in there. Alternatively we will be releasing a new version (8.65) shortly and that should work, since the current HEAD revision is OK.