RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 667717 - Segfault on printing ps file to pdf file.
Summary: Segfault on printing ps file to pdf file.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libspectre
Version: 6.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Marek Kašík
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1172231 1271696
TreeView+ depends on / blocked
 
Reported: 2011-01-06 15:36 UTC by Jiri Koten
Modified: 2016-05-10 21:35 UTC (History)
4 users (show)

Fixed In Version: libspectre-0.2.4-2.el6
Doc Type: Bug Fix
Doc Text:
Cause: There was no %%Pages: or %%Page: in the eps file, so doc->pages was uninitialized. Consequence: It didn't allocate a page in doc->pages in psscan(), causing segfault on printing ps file to pdf file. Fix: Allocate at least one page if there are no %%Pages in the PS file. Result: It works now.
Clone Of:
Environment:
Last Closed: 2016-05-10 21:35:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
reproducer (1.83 KB, application/postscript)
2011-01-06 15:36 UTC, Jiri Koten
no flags Details
backtrace (18.37 KB, text/plain)
2011-01-06 15:37 UTC, Jiri Koten
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 31512 0 None None None Never
Red Hat Product Errata RHBA-2016:0840 0 normal SHIPPED_LIVE libspectre bug fix update 2016-05-10 22:42:20 UTC

Description Jiri Koten 2011-01-06 15:36:42 UTC
Created attachment 472081 [details]
reproducer

Description of problem:
With attached postscript reproducer evince segfaults during Print to File - output format pdf.

Version-Release number of selected component (if applicable):
evince-2.28.2-14.el6_0.1

How reproducible:
100%

Steps to Reproduce:
1.Open reproducer in evince
2.Print -> Print to File
3.Output format pdf
4.Print
  
Actual results:
Segmentation fault

Expected results:
pdf file is created

Additional info:
Able to crash only with the reproducer, checked with other two ps files - no segfault.

Comment 1 Jiri Koten 2011-01-06 15:37:29 UTC
Created attachment 472082 [details]
backtrace

Comment 2 RHEL Program Management 2011-01-07 15:46:20 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Marek Kašík 2014-12-15 12:03:55 UTC
The patch from http://cgit.freedesktop.org/libspectre/commit/?id=8ffd9185f81cb8337cece4c8e3672d0e6a97e935 fixes the problem for me.

Comment 11 errata-xmlrpc 2016-05-10 21:35:04 UTC
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://rhn.redhat.com/errata/RHBA-2016-0840.html


Note You need to log in before you can comment on or make changes to this bug.