I have a PDF that causes ghostscript to crash thus (I can send the PDF - can't see if it is possible to attach PDF to this item) Processing pages 1 through 1. Page 1 Error: /typecheck in --astore-- Operand stack: --nostringval-- --dict:12/21(L)-- 1011.86 657.099 6372 2 11 0 1 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1905 1 3 %oparray_pop 1904 1 3 %oparray_ pop 1888 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- eofil l (pattern accumulator) 4 %pattern_paint_finish --nostringval-- --nost ringval-- (gstatetype) --dict:0/0(L)-- --nostringval-- false 1 %stop ped_push --nostringval-- %loop_continue --nostringval-- Dictionary stack: --dict:1146/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75 /200(L)-- --dict:108/127(ro)(G)-- --dict:275/300(ro)(G)-- --dict:22/25(L)- - --dict:4/6(L)-- --dict:22/40(L)-- --dict:7/8(L)-- --dict:5/8(L)-- Current allocation mode is local Last OS error: No such file or directory GPL Ghostscript 8.62: Unrecoverable error, exit code 1
Created attachment 3909 [details] PDF that causes issue described
Created attachment 3919 [details] patch Fix PDF empty stack offset (/pdfemptycount) in the pattern. Operator scn depends on the correct value of /pdfemptycount. This bug was introduced in the rev. 8308.
The patch is committed as a rev. 8625. Regression testing shows no differences; we had no files that exercise scn inside a pattern stream. Rev. 8626 adds a PDF file based on the sample pattern from PLRM that exercises scn operator inside a tiling pattern stream.
*** Bug 689873 has been marked as a duplicate of this bug. ***
*** Bug 689921 has been marked as a duplicate of this bug. ***