Hide Forgot
Description of problem: I received a report that evince can't display .eps files anymore, and okular doesn't work either. This has worked before ghostscript-9.07-20.el7_3.1. Version-Release number of selected component (if applicable): ghostscript-9.07-20.el7_3.1.x86_64 How reproducible: Reproducible. Steps to Reproduce: 1. yum install evince-3.14.2-17.el7 ghostscript-9.07-20.el7_3.1 emacs-common-24.3-18.el7 2. evince /usr/share/emacs/24.3/etc/refcards/gnus-logo.eps 3. Actual results: Evince is stuck at "Loading...". Messages written to terminal: invalidaccess -7 invalidaccess -7 invalidaccess -7 Expected results: gnus-logo.eps is displayed. Additional info: Downgrading to ghostscript-9.07-20.el7.x86_64 fixes the problem. I think this may be relevant: https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1647276
I've seen a2ps not working with text, C and asm files after the most recent update of ghostscript (on CentOS 7.3). This is likely the same issue and downgrading to ghostscript-9.07-20.el7.x86_64 also resolved it.
Of the 5 patches included in the newer package, only patch23, # getenv and filenameforall: do not ignore -dSAFER (bug #1380327) causes trouble. evince accesses ghoscript via the API (via libspectre). xfig also has trouble and invokes gs via the commandline. A simplified commandline way to trigger problems is: gs -c '<< /PermitFileReading [ (/path/to/file.eps)] >> setuserparams .locksafe' Version 9.07-20.el7 would show a blank window. Version 9.07-20.el7_3 says: ========================================================== GPL Ghostscript 9.07 (2013-02-14) Copyright (C) 2012 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /invalidaccess in --.locksafe-- Operand stack: true --nostringval-- --dict:1167/1684(ro)(G)-- getenv --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1891 0 3 %oparray_pop --nostringval-- Dictionary stack: --dict:1167/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- Current allocation mode is local Last OS error: Resource temporarily unavailable GPL Ghostscript 9.07: Unrecoverable error, exit code 1 ========================================================== Note that -dSAFER does not need to be passed to hit trouble.
*** Bug 1264949 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2180