I have a pdf that views OK with xpdf but fails with gs. The PDF is 1.6 MB and I can mail it on request. $ gs 0727KDHD3.pdf 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. Processing pages 1 through 1. Page 1 **** Unsupported HalftoneType --nostringval--. *** Error: /unregistered in resolvehalftone Operand stack: --nostringval-- --dict:11/20(L)-- --dict:5/5(L)-- --dict:7/7(L)-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1830 1 3 %oparray_pop 1829 1 3 %oparray_pop 1813 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-- --dict:5/5(L)-- --nostringval-- 5 %dict_continue --nostringval-- --nostringval-- Dictionary stack: --dict:1143/1684(ro)(G)-- --dict:1/20(G)-- --dict:74/200(L)-- --dict:74/200(L)-- --dict:106/127(ro)(G)-- --dict:278/300(ro)(G)-- --dict:22/25(L)-- --dict:4/6(L)-- --dict:22/40(L)-- --dict:1/1(ro)(G)-- --dict:1/1(ro)(G)-- --dict:1/1(ro)(G)-- --dict:2/5(L)-- Current allocation mode is local Last OS error: 11 GPL Ghostscript 8.64: Unrecoverable error, exit code 1
Created attachment 5259 [details] A PDF that produces the error. $ ls -l 0727KDHD3.pdf -r--r--r-- 2 william users 1670225 2009-07-29 16:15 0727KDHD3.pdf $ sum 0727KDHD3.pdf 26501 1632 $ pdfinfo 0727KDHD3.pdf CreationDate: Mon Jul 27 14:14:00 2009 ModDate: Mon Jul 27 14:14:13 2009 Tagged: no Pages: 1 Encrypted: no Page size: 810 x 1554 pts File size: 1670225 bytes Optimized: yes PDF version: 1.5
Created attachment 5263 [details] patch This is yet another case of missing dereference of indirect objects. Unfortunately, it's too late to include the fix into the upcoming release -- v. 8.70 .
Thanks! Changing get to oget fixed the problem for me in gs8.64.
The patch has been committed as a rev. 9922.