Summary: | Error: /rangecheck in --.discardtransparencymask-- converting pdf to png | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Dennis <trasd> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.71 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Customer: | Word Size: | --- | |
Attachments: |
Simplified sample file.
patch |
Description
Dennis
2010-09-17 11:54:21 UTC
Please provide a sample file for us to look at, you may attach it to the bug report by navigating to this page: http://bugs.ghostscript.com/show_bug.cgi?id=691624 and then following the 'Add an attachment' link. I suspect the problem is memory exhaustion, caused by transparency present in the PDF file. You could try lowering the resolution to see if that solves the problem. The reporter has sent me a file by email. For me this gives an error rangecheck in execform1 which looks like the problem *may* be in the PDF interpreter. Alex, let me know when you want a copy of the PDF file. File is on peeves, in /home/ken. Filename is 9007105010002.pdf Created attachment 7078 [details]
Simplified sample file.
The sample file has separation color space in SMask stream.
Ghostscript doesn't adjust "pdfcount" variable and cannot process
"scn" correctly.
Created attachment 7079 [details]
patch
Adjust pdfemptycount variable during .execgroup execution to reflect
the actual stack count. Avoid errors in sc1/scn caused by wrong operand
count.
The patch has been committed as a rev. 11987. |