Bug 524282
| Summary: | PDF with transparency: /rangecheck in --.discardtransparencygroup-- | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | JT Moree <jtmoree> | ||||
| Component: | ghostscript | Assignee: | Tim Waugh <twaugh> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | QE Internationalization Bugs <qe-i18n-bugs> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.4 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ghostscript-8.70-4.el5 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-08-31 10:37:55 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 560096 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
JT Moree
2009-09-18 16:06:27 UTC
I couldn't upload the file. It is too big. I put it here but it may not stay if we redo this site in the next year as planned. http://www.kahalacorp.com/jt/ghostscriptCrasher.pdf This looks like ghostscript bug #689805, still unresolved: http://bugs.ghostscript.com/show_bug.cgi?id=689805 It boils down to the amount of memory required to render the PDF when transparency is involved. How much memory does this installation have, and how much do the Fedora 11 and Ubuntu 9.04 installations have? We generally don't provide new versions of packages during an existing Red Hat Enterprise Linux release except in specific circumstances where backporting a required fix or feature is not feasible. This helps us keep Red Hat Enterprise Linux predictable and consumable, limiting the number of surprises. Backporting ghostscript-8.70 to Red Hat Enterprise Linux would certainly introduce new and unexpected bugs. The Production server running RH 5.4 has 4G of RAM. The Ubuntu system has 2G. The Fedora system has 384M. I can keep digging if we need to see how much RAM is being allocated to apache and other related processes. I get the reason for be careful about backports but gs 8.15 came out in 2004. RH 6 better have a more recent version. ;) There were CUPS compatibility issues in ghostscript after 8.15, which is why we are shipping the ESP GS version based on the 8.15 upstream release. I am attaching a very simple file which fails the conversion. Created attachment 363997 [details]
pdf that fails conversion
Can we expect this bug to be fixed in the near future and rolled out to RH 5.4? or should we pursue workarounds? Given the lack of progress on this bug (or at least lack of updates here) we have setup a separate box for the problematic site NOT running on Redhat. Apologies for the lack of updates. When I try that file here I get a different traceback (/BXlevel undefined), which suggests the upstream bug may be 688787 instead -- and *that* one is fixed upstream. Will try that fix locally and see if it works. Should the status on this be marked upstream?
I noticed some ghostcript updates so I tried again. commands fail with:
/usr/bin/convert -verbose -colorspace rgb a.pdf a.jpg
**** Warning: An error occurred while reading an XREF table.
**** The file has been damaged. This may have been caused
**** by a problem while converting or transfering the file.
**** Ghostscript will attempt to recover the data.
[ghostscript library] -q -dBATCH -dSAFER -dMaxBitmap=500000000 -dNOPAUSE -dAlignToPixels=0 -dEPSCrop "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-g1161x1782" "-r72x72" "-sOutputFile=/tmp/magick-XXJ7bjf6" "-f/tmp/magick-XXbTXrau" "-f/tmp/magick-XXFlTH5R"ERROR: /undefined in /BXlevel
Operand stack:
11 0 1 --dict:6/6(ro)(G)-- obj
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 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval--
Dictionary stack:
--dict:1127/1686(ro)(G)-- --dict:0/20(G)-- --dict:107/200(L)-- --dict:107/200(L)-- --dict:104/127(ro)(G)-- --dict:241/347(ro)(G)-- --dict:18/24(L)--
Current allocation mode is local
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
Start of Image
Define Huffman Table 0x00
0 1 5 1 1 1 1 1
1 0 0 0 0 0 0 0
Define Huffman Table 0x01
0 3 1 1 1 1 1 1
1 1 1 0 0 0 0 0
Define Huffman Table 0x10
0 2 1 3 3 2 4 3
5 5 4 4 0 0 1 125
Define Huffman Table 0x11
0 2 1 2 4 4 3 4
7 5 4 4 0 1 2 119
End Of Image
convert: Postscript delegate failed `a.pdf'.
convert: missing an image filename `a.jpg'.
Since I made comment #2 there has been extensive regression testing and fixing performed on ghostscript-8.70 for Red Hat Enterprise Linux 5. Converting this file using the new package works here. Watch for a future update... *** This bug has been marked as a duplicate of bug 545821 *** |