Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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.
DescriptionJames 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 2RHEL 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.
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.
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
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