Bug 1386242

Summary: Specific .ps file causes segmentation fault in evince
Product: Red Hat Enterprise Linux 7 Reporter: dylantaylor
Component: evinceAssignee: Marek Kašík <mkasik>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: dylantaylor, vbudikov
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-20 12:10:49 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:
Attachments:
Description Flags
File that causes segfault in evince none

Description dylantaylor 2016-10-18 13:23:59 UTC
Created attachment 1211739 [details]
File that causes segfault in evince

Description of problem:

When opening this file, evince immediately crashes

Version-Release number of selected component (if applicable):

evince-3.14.2-5.el7.x86_64

How reproducible:

100% of the time

Steps to Reproduce:
1. Open this file either via double click or evince command in Terminal
2. Observe crash

Actual results:

Evince crashes

Expected results:

The file is opened

Additional info:

Comment 2 Vera Budikova 2016-10-18 22:01:08 UTC
Reproduce the bug:
------------------
Package version: evince-3.14.2-5.el7.x86_64

Steps
1. evince README.dsov.ps 

Result
(evince:6173): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


(evince:6173): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -36 and height 38
Segmentation fault (core dumped)

Check the latest package:
-------------------------
Package version: evince-3.14.2-17.el7.x86_64

Steps
1. evince README.dsov.ps

Result
The file is opened. No crash of Evince.

Comment 3 Marek Kašík 2016-10-20 11:22:33 UTC
Which version of libspectre and ghostscript do you have installed?

Comment 4 Marek Kašík 2016-10-20 12:10:49 UTC
(In reply to Marek Kašík from comment #3)
> Which version of libspectre and ghostscript do you have installed?

This is not related to the version of libspectre. It seems that this is a duplicate of a bug which we have fixed for 7.3 already (and hence the evince-3.14.2-17.el7.x86_64 doesn't crash).

*** This bug has been marked as a duplicate of bug 1302820 ***