Bug 1207577

Summary: [ghostscript] crashes because of missing fonts
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: ghostscriptAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ghostscript-9.16-2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-25 05:13:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Sample PS file "Antisym.eps" none

Description Joachim Frieben 2015-03-31 08:54:48 UTC
Created attachment 1008895 [details]
Sample PS file "Antisym.eps"

Description of problem:
Running ghostscript from the command line to display a sample PS file results in a crash with the following output to the shell:

$ ghostscript Antisym.eps
GPL Ghostscript 9.16 (2015-03-30)
Copyright (C) 2015 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file /usr/share/ghostscript/9.16/Resource/Font/NimbusSan-Reg.
Can't find (or can't open) font file NimbusSan-Reg.
Can't find (or can't open) font file /usr/share/ghostscript/9.16/Resource/Font/NimbusSan-Reg.
Can't find (or can't open) font file NimbusSan-Reg.
Querying operating system for font files...
Can't find (or can't open) font file /usr/share/ghostscript/9.16/Resource/Font/NimbusSan-Reg.
Can't find (or can't open) font file NimbusSan-Reg.
Didn't find this font on the system!
Substituting font Courier for NimbusSan-Reg.
Can't find (or can't open) font file /usr/share/ghostscript/9.16/Resource/Font/NimbusMon-Reg.
Can't find (or can't open) font file NimbusMon-Reg.
Can't find (or can't open) font file /usr/share/ghostscript/9.16/Resource/Font/NimbusMon-Reg.
Can't find (or can't open) font file NimbusMon-Reg.
Didn't find this font on the system!
Unable to substitute for font.
Error: /invalidfont in /findfont
Operand stack:
   423.333   Helvetica
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1951   1   3   %oparray_pop   1950   1   3   %oparray_pop   --nostringval--   1934   1   3   %oparray_pop   1820   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   1903   2   4   %oparray_pop
Dictionary stack:
   --dict:1183/1684(ro)(G)--   --dict:0/20(G)--   --dict:83/200(L)--   --dict:23/40(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 1877
GPL Ghostscript 9.16: Unrecoverable error, exit code 1

Version-Release number of selected component (if applicable):
ghostscript-9.16-1.fc22

How reproducible:
Always

Steps to Reproduce:
1. Run 'ghostscript Antisym.eps'

Actual results:
Ghostscript crashes.

Expected results:
Ghostscript displays the sample PS file.

Additional info:
Used to work with package ghostscript-9.15-6.fc22.

Comment 1 Tim Waugh 2015-03-31 10:01:26 UTC
This is caused by ghostscript using the new font names from urw-fonts, but we're still shipping the old names in that package. I've filed bug #1207607 to coordinate that better.

In the meantime I'll switch ghostscript back to using the old names.

Comment 2 Fedora Update System 2015-03-31 10:55:37 UTC
ghostscript-9.16-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/ghostscript-9.16-2.fc22

Comment 3 Fedora Update System 2015-04-02 01:41:40 UTC
Package ghostscript-9.16-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ghostscript-9.16-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-5265/ghostscript-9.16-2.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Admin XMLRPC Client 2015-04-22 11:00:46 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Update System 2015-04-26 12:48:08 UTC
ghostscript-9.16-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.