Error Rangecheck In Ps2pdf
by: vesse
-XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug194023 - Unrecoverable error: rangecheck in get Summary: Unrecoverable error: rangecheck in get Status: CLOSED NOTABUG Aliases: None Product: Fedora Classification: Fedora Component: ghostscript (Show other bugs) Sub Component: --- Version: 5 Hardware: i386 Linux Priority medium Severity medium TargetMilestone: --- TargetRelease: --- Assigned To: Tim Waugh QA Contact: Mike McLean Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: FC6Target Show dependency tree /graph Reported: 2006-06-04 23:25 EDT by Bob T. Modified: 2008-08-02 19:40 https://bugs.debian.org/331687 EDT (History) CC List: 0 users See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2006-06-07 07:09:23 EDT Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) https://bugzilla.redhat.com/show_bug.cgi?id=194023 Description Bob T. 2006-06-04 23:25:48 EDT Description of problem: Most ghostscript commands fail with range check errors. Version-Release number of selected component (if applicable): 8.15.2-1.1 How reproducible: Every Postscript file I've tried. Steps to Reproduce: 1.ps2pdf something.ps or gv something.ps 2. 3. Actual results: Unrecoverable error: rangecheck in get Operand stack: hrsyr.gsf 0 Expected results: conversion to pdf or display Additional info: The Postscript files I've tried work fine on ghostscript-7.07. Comment 1 Bob T. 2006-06-04 23:27:16 EDT Correction: the product version number should be FC5 rather than FC4. Comment 2 Bob T. 2006-06-05 07:21:02 EDT Even gs by itself at the command line fails: % gs ESP Ghostscript 815.02 (2006-04-19) Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. CRIT: rangecheck in get Operand stack: hrsyr.gsf 0 However gs -h produces the usual output. The search path is as follows: Search path: . : /usr/share/ghostscript/8.15/lib : /usr/share/ghostscript/8.15/Resource : /usr/share/ghostscript/fonts : /usr/share/fonts/default/ghostscript : /usr/share/fonts/default/Type1 : /usr/share/fonts/default/amspsfnt/pfb : /usr/share/fonts/default/cmpsfont/pfb : /usr/share/fonts/japanese : /etc/ghostscript Comment 3 Tim Waugh 2006-06-05 07:34:27 EDT What does 'rpm -q ghostscript-fonts' say, and also 'rpm -V ghostscript-fonts'? Comment 4 Bob T. 2006-06-05 08:40:36 EDT % rpm -q ghostscript-fonts ghostscript-fonts-5
Prev Next This bug is not in your last search results. Bug692502 - pdf2dsc gets a rangecheck error on a pdf created by gs http://bugs.ghostscript.com/show_bug.cgi?id=692502 Summary: pdf2dsc gets a rangecheck error on a pdf created by gs Status: RESOLVED FIXED Product: Ghostscript Classification: Unclassified Component: PDF Interpreter Version: 9.04 Hardware: PC Linux Importance: P4 normal Assigned To: Alex Cherepanov QA Contact: Bug traffic URL: Keywords: Depends on: Blocks: Show dependency tree /graph Reported: 2011-09-16 01:49 PDT by William Bader Modified: 2011-11-01 04:58 PDT (History) CC List: 1 user (show) williambader See Also: error rangecheck Customer: Word Size: --- Attachments sample file to show the problem (332.86 KB, application/x-bzip2) 2011-09-16 01:49 PDT, William Bader Details View All Add an attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description William Bader 2011-09-16 01:49:35 PDT Created attachment 7882 [details] sample file to show the problem I have an eps file made by error rangecheck in my application. I ran ps2pdf to convert it to a pdf. When I try to view the pdf with gv, gv gets errors because pdf2dsc fails. With the attached file, run bunzip2 < testcon.eps.bz2 > test.eps ps2pdf -dEPSCrop test.eps test.pdf pdf2dsc test.pdf Error: /rangecheck in --get-- I am using gs9.04 on Linux. I think that it is due to the numoget call in pdf2dsc.ps when .hasPageLabels is true and it tries to extract a label from PageLabels. The pdf has 1 0 obj <> /MarkInfo<< /Marked true >> /Metadata 36 0 R >> endobj 4 0 obj [0 <
>]endobj 36 0 obj <>stream endstream endobj Comment 1 William Bader 2011-09-16 02:20:47 PDT The generated pdf views correctly with gs-9.04, evince-2.32.0, xpdf-3.03, and acroread-9.4.2. The eps crashes old versions of acrobat distiller due to the format of the CreationDate DOCINFO entry. More recent versions of acrobat distiller process the file but produce a pdf with some text missing at the top. If I remove the line [ /Label (1) /PAGELABEL pdfmark from the eps, then pdf2dsc doesn't get errors on the pdf. Comment 2 Alex Cherepanov 2011-10-29 19:43:11 PDT Add missing dereferen