The attached ps file, generated by xpdf, causes an /ioerror during rendering. Details: Tim Morgan <tim-debian@sentinelchicken.org> wrote: > ERROR: /ioerror in --image-- Thanks for a clear test case. [...] > Last OS error: 2 > Current file position is 94506 I get error 11. Same file offset, somewhere in the middle of the image. Reproducible with r12035 and 9.00. Tim tried gs-esp 8.15.3 and gs-gpl of the same vintage. See http://bugs.debian.org/458008 for the original report. Ideas? Reproduction recipe: 1. gs -dSAFER Shuttle56-101-038Dec03Dec3107tl24.ps Expected result: Shows a rebate ticket. Actual result: Starts to draw a ticket, then exits. Error: /ioerror in --image-- Operand stack: 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 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- 1814 1 8 %oparray_pop Dictionary stack: --dict:1152/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)-- --dict:65/75(L)-- --dict:18/25(L)-- --dict:0/15(L)-- --dict:8/15(L)-- --dict:0/15(L)-- Current allocation mode is local Last OS error: 11 Current file position is 94506 GPL Ghostscript SVN PRE-RELEASE 9.01: Unrecoverable error, exit code 1
Created attachment 7148 [details] rebate ticket provoking /ioerror
I haven't investigated in detail, but Adobe Acrobat Distiller *also* gives an error on this file: %%[ Error: ioerror; OffendingCommand: imageDistiller; ErrorInfo: DCTDecodeFilter Input did not begin with a JPEG SOI marker ]%% Stack: -dict- %%[ Flushing: rest of job (to end-of-file) will be ignored ]%% %%[ Warning: PostScript error. No PDF file produced. ] %% SO it looks like the image data in the file is potentially not valid.
Thanks, Ken. In that case I think this should be investigated from the xpdf side. I'd suggest closing this bug for now.
Thanks, Ken. Closing as invalid.