Bug 622657

Summary: epstopdf/ fails with unrecoverable error when converting eps files with BoundingBox (atend)
Product: Red Hat Enterprise Linux 5 Reporter: ritz <rkhadgar>
Component: tetexAssignee: Phil Knirsch <pknirsch>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: high    
Version: 5.7CC: jwest, ksrot, lmiksik, rvokal, tao
Target Milestone: rcKeywords: Patch, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, attempting to convert an Encapsulated PostScript (EPS) file containing a BoundingBox caused the epstopdf utility to fail with an unrecoverable error. This error no longer occurs, and such files are now converted as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-02 08:04:11 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 635666, 847650    
Attachments:
Description Flags
patch based on upstream none

Description ritz 2010-08-10 00:56:10 EDT
Created attachment 437763 [details]
patch based on upstream

Description of problem:
epstopdf fails with unrecoverable error when converting eps files with BoundingBox (atend)

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

How reproducible:
always

Steps to Reproduce:
1.epstopdf $file
  
Actual results:
ERROR: /syntaxerror in --%ztokenexec_continue-- Operand stack:
  --nostringval--
Execution stack:
  %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   --nostringval--   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
  --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:106/200(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.02: Unrecoverable error, exit code 1 Broken pipe 

Expected results:
should work

Additional info:
Tanks to siddhesh for tracing this. Attached is the test eps file. Also attached is a patch based on a diff between epstopdf in Fedora 13 and RHEL-5. See the following link for background on this:

http://www.tug.org/pipermail/macostex-archives/2006-January/020285.html

scratch build based on this (private-sr2042766-branch):
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=2645465

Packages for i386 and x86_64 available here:
http://people.redhat.com/~spoyarek/tetex-test/
Comment 8 Jaromir Hradilek 2010-10-19 08:30:28 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, attempting to convert an Encapsulated PostScript (EPS) file containing a BoundingBox caused the epstopdf utility to fail with an unrecoverable error. This error no longer occurs, and such files are now converted as expected.