Hi, When trying to extract page two of the attached PDF, Ghostscript 9.0 crashes. I tried differents options (CompatibilityLevel, PDFX...), but Ghostscript crashed anyway. Page 1 can be extracted without a problem. COMMAND: -------- gs -dPDFSETTINGS=/default -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFX -sOutputFile=page2.pdf -dFirstPage=2 -dLastPage=2 Ogone_PayPal-Exp-Check_EN.pdf ERROR: ------ Error: /rangecheck in 3 Operand stack: --dict:10/19(L)-- --nostringval-- --nostringval-- BS --dict:1/1(L)-- F 4 Rect --nostringval-- --dict:6/6(L)-- --nostringval-- --nostringval-- 0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop 1893 1 3 %oparray_pop --nostringval-- --nostringval-- 3 1 2 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- 1 1 13 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1162/1684(ro)(G)-- --dict:1/20(G)-- --dict:82/200(L)-- --dict:82/200(L)-- --dict:108/127(ro)(G)-- --dict:293/300(ro)(G)-- --dict:23/30(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 9.00: Unrecoverable error, exit code 1
Created attachment 6836 [details] PDF that causes the crash
(In reply to comment #0) > When trying to extract page two of the attached PDF, Ghostscript 9.0 crashes. I > tried differents options (CompatibilityLevel, PDFX...), but Ghostscript crashed > anyway. Page 1 can be extracted without a problem. This is not a crash, Ghostscript returns an error message telling you that it could not complete the operation. It is also a problem in the PDF interpreter, not the pdfwrite device. This is a duplicate of bug #691539. *** This bug has been marked as a duplicate of bug 691539 ***