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 1027534 - Ghostscript gives unrecoverable errors on some PDF files
Summary: Ghostscript gives unrecoverable errors on some PDF files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ghostscript
Version: 6.6
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact: QE Internationalization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1159820
TreeView+ depends on / blocked
 
Reported: 2013-11-07 03:24 UTC by James Robertson
Modified: 2015-07-22 06:50 UTC (History)
2 users (show)

Fixed In Version: ghostscript-8.70-21.el6
Doc Type: Bug Fix
Doc Text:
Cause: Some PDF files containing embedded objects were erroneously treated as portable collections. Consequence: A "/syntaxerror" error when processing these files. Fix: Only PDF files with /Collection attributes are treated as portable collections. Result: Such files are processed correctly.
Clone Of:
Environment:
Last Closed: 2015-07-22 06:50:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
This is a catalog for a local electronics chain. (2.33 MB, application/pdf)
2013-11-07 03:24 UTC, James Robertson
no flags Details
ghostscript-pdf-collection.patch (1.26 KB, patch)
2013-12-04 15:53 UTC, Tim Waugh
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Ghostscript 690709 0 None None None Never
Red Hat Product Errata RHBA-2015:1343 0 normal SHIPPED_LIVE ghostscript bug fix update 2015-07-20 17:59:58 UTC

Description James Robertson 2013-11-07 03:24:52 UTC
Created attachment 820853 [details]
This is a catalog for a local electronics chain.

Description of problem:
Trying to convert some PDF files causes Ghostscript to give Unrecoverable error, exit code 1


Version-Release number of selected component (if applicable):
GPL Ghostscript 8.70 (2009-07-31)


How reproducible:



Steps to Reproduce:
1. # pdf2ps SCNOV2013_AU.pdf
2.
3.

Actual results:

Error: /syntaxerror in pdfopen
Operand stack:
   (/tmp/gs_PrtviN)   (<<\n  /ASCII85EncodePages false\n  /AllowTransparency false\n  /AutoPositionEPSFiles true\n  /AutoRotatePages /None\n  /Binding /Left\n  /CalGrayProfile \(Gray Gamma 2.2\)\n  /CalRGBProfile \(sRGB IEC61966-2.1\)...)
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1862   1   3   %oparray_pop   1861   1   3   %oparray_pop   1845   1   3   %oparray_pop   --nostringval--   --nostringval--   %array_continue   --nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1149/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--   --dict:75/200(L)--   --dict:106/127(ro)(G)--   --dict:285/300(ro)(G)--   --dict:7/15(L)--
Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1


Expected results:

A working Postscript file.

Additional info:

This issue does not occur with ghostscript 9.10

Comment 2 RHEL Program Management 2013-11-10 04:34:59 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Tim Waugh 2013-12-04 15:53:16 UTC
Created attachment 832728 [details]
ghostscript-pdf-collection.patch

This patch seems to fix it (found using git bisect).

From upstream revision 10008.

commit 6e93f4ded61a1d21f60dd42273a7de0a908d1076
Author: Alex Cherepanov <alex.cherepanov>
Date:   Wed Aug 19 16:22:08 2009 +0000

    Process embedded files as a portable collection only when /Collection
    attribute is defined in the document root. Bug 690709.
    
    DETAILS:
    Collection atribute is marked in the spec as optional because a PDF file
    need not to be a portable collection but every collection has /Collection
    attribute.
    
    DIFFERENCES:
    None.

Comment 9 errata-xmlrpc 2015-07-22 06:50:29 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-2015-1343.html


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