Bug 1628875

Summary: ghostscript coredumps if GS_OPTIONS is set
Product: [Fedora] Fedora Reporter: Brett Kerwin <brett.kerwin>
Component: ghostscriptAssignee: David Kaspar // Dee'Kej <deekej>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 28CC: brett.kerwin, deekej, twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: ghostscript-9.25-1.fc28 ghostscript-9.25-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-20 11:17:09 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:

Description Brett Kerwin 2018-09-14 08:40:43 UTC
Description of problem:
ghostscript coredumps if GS_OPTIONS is set

Version-Release number of selected component (if applicable):
ghostscript-9.24-1.fc28.x86_64

How reproducible:
always

Steps to Reproduce:
In a terminal, type:
GS_OPTIONS= gs

Actual results:
Segmentation fault (core dumped)

Expected results:
GPL Ghostscript 9.23 (2018-03-21)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.

Additional info:
Downgrading the package (with dependencies) to ghostscript-9.23-1.fc28.x86_64 resolves the bug. The bug may really be in libgs, however.

Comment 1 David Kaspar // Dee'Kej 2018-09-14 13:59:26 UTC
(In reply to Brett Kerwin from comment #0)
> Description of problem:
> ghostscript coredumps if GS_OPTIONS is set
> 
> Version-Release number of selected component (if applicable):
> ghostscript-9.24-1.fc28.x86_64
> 
> How reproducible:
> always
> 
> Steps to Reproduce:
> In a terminal, type:
> GS_OPTIONS= gs

Are you sure about this reproducer?

> GS_OPTIONS= gs
... This will actually set GS_OPTIONS empty, and then it will launch ghostscript (gs).

Comment 2 Brett Kerwin 2018-09-14 15:03:25 UTC
(In reply to David Kaspar [Dee'Kej] from comment #1)
> Are you sure about this reproducer?

Yes.

You may also specify any non-empty value for GS_OPTIONS if you like.  The coredumps occurs whenever GS_OPTIONS is set.

Comment 3 David Kaspar // Dee'Kej 2018-09-17 10:05:44 UTC
[root@host-172-16-36-18 ~]# rpm -q ghostscript
ghostscript-9.24-3.fc30.x86_64

[root@host-172-16-36-18 ~]# GS_OPTIONS="" gs
Segmentation fault (core dumped)

--------------------------

[root@host-172-16-36-18 ~]# rpm -q ghostscript
ghostscript-9.25-1.fc30.x86_64

[root@host-172-16-36-18 ~]# GS_OPTIONS="" gs
GPL Ghostscript 9.25 (2018-09-13)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>quit

... The new version of Ghostscript released last Thursday fixes your issues. I'll get it into Bodhi for testing.

Comment 4 Fedora Update System 2018-09-17 10:39:12 UTC
ghostscript-9.25-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f54c61c9a6

Comment 5 Fedora Update System 2018-09-17 10:39:58 UTC
ghostscript-9.25-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-bc0ef4eac0

Comment 6 Fedora Update System 2018-09-17 19:24:27 UTC
ghostscript-9.25-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-bc0ef4eac0

Comment 7 Fedora Update System 2018-09-18 06:16:40 UTC
ghostscript-9.25-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f54c61c9a6

Comment 8 Brett Kerwin 2018-09-18 07:45:35 UTC
I confirm this fixes the bug.  Thanks.

Comment 9 Fedora Update System 2018-09-20 11:17:09 UTC
ghostscript-9.25-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2018-09-20 14:09:10 UTC
ghostscript-9.25-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2018-09-22 18:04:46 UTC
ghostscript-9.25-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.