ps2pdf gives an error "/undefinedresult in --show--" when converting some postscript files to pdf

Solution Unverified - Updated -

Issue

  • ps2pdf gives an error when converting a postscript file to pdf:

Error: /undefinedresult in --show--
Operand stack:
   (1)
Execution stack:

  %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
  --nostringval--   false   1   %stopped_push   1846   1   3  
%oparray_pop   1845   1   3   %oparray_pop   --nostringval--   1829   1
  3   %oparray_pop   1723   1   3   %oparray_pop   --nostringval--  
%errorexec_pop   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1148/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Current file position is 2963974
GPL Ghostscript 8.70: Unrecoverable error, exit code 1

  • The error is also seen when the postscript file is simply viewed
  • The same file did not give any errors on conversion or viewing in RHEL-4

Environment

  • Red Hat Enterprise Linux 5
  • ghostscript

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.