Bug 691735

Summary: Error trying to display pdf file from Mac Quartz
Product: Ghostscript Reporter: D. Wagner <daw-misc>
Component: PDF InterpreterAssignee: Michael Vrhel <michael.vrhel>
Status: RESOLVED FIXED    
Severity: normal CC: christinedelight.top85
Priority: P4    
Version: master   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: crasher.pdf

Description D. Wagner 2010-10-28 10:32:00 UTC
I have a PDF file that displays fine with Adobe Acroread and xpdf, but that gs is unable to handle.  Is this a bug in ghostscript?  I've tested with ghostscript 9.0, Ghostscript 9.71, and the Artifex Subversion head (svn co http://svn.ghostscript.com/ghostscript/trunk/gs), and all give me errors.  Here's what I get with the Subversion head (r11865):

$ ./bin/gs /tmp/crasher.pdf 
GPL Ghostscript SVN PRE-RELEASE 9.01 (2010-09-14)
Copyright (C) 2010 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
Error: /unknownerror in --run--
Operand stack:
   --dict:6/15(L)--
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--   2   1   1   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   false   1   %stopped_push   --nostringval--   --nostringval--   --nostringval--   %array_continue   --nostringval--   false   1   %stopped_push   --nostringval--   %loop_continue   --nostringval--
Dictionary stack:
   --dict:1152/1684(ro)(G)--   --dict:1/20(G)--   --dict:82/200(L)--   --dict:82/200(L)--   --dict:108/127(ro)(G)--   --dict:294/300(ro)(G)--   --dict:23/30(L)--   --dict:6/8(L)--   --dict:21/40(L)--   --dict:4/5(L)--
Current allocation mode is local
Last OS error: 11
GPL Ghostscript SVN PRE-RELEASE 9.01: Unrecoverable error, exit code 1
Comment 1 D. Wagner 2010-10-28 10:32:58 UTC
Created attachment 6848 [details]
crasher.pdf
Comment 2 Alex Cherepanov 2010-10-28 12:46:03 UTC
This is yet another case of transparency failing on x11alpha device
used by gs by default.

To work around the problem, use plain x11 device:
  gs -sDEVICE=x11 ...
Comment 3 Michael Vrhel 2011-04-09 04:41:44 UTC
Fixed with rev 12380