Summary: | dictstackoverflow when printing over 499 pages | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | James A. Dillon <sysopj> |
Component: | PS Interpreter | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | P4 | ||
Version: | 8.64 | ||
Hardware: | PC | ||
OS: | other | ||
Customer: | Word Size: | --- | |
Attachments: | Page500 |
Description
James A. Dillon
2009-04-29 06:58:24 UTC
Please re-visit the bug report and attach your sample file. Created attachment 4981 [details]
Page500
This is page 500, I can not include the first 499 due to its an ebook I own. I
was just converting it to a portable format by the print function.
The attached page shows an error message generated by some PS to PDF converter. The file lists "Bullzip PDF Printer / www.bullzip.com" as a Producer. Unless it uses Ghostscript internally, I don't see how this problem is related to Ghostscript. To analyze the problem further I need the PS file that was converted to PDF. You can mart the attachment private to restrict the access to the file to a small team of Artifex employees and contractors. s/mart/mark/ "Bullzip PDF Printer" uses Ghostscript internally. By default Ghostscript limits the size of the dictionary stack to 500 elements. Apparently, your file leaves a dictionary on the dictionary stack for every page. On page 500 the stack gets used up, assuming that the job prologue also pushes 1 dictionary. This is a bug in your PS file. You can request a large dictionary stack size for your file by including the following line at the beginning of your PS file. <</MaxDictStack 50000>> setuserparams Please confirm that the proposed work-around solves the problem. I'm closing this bug report because: - a sample ps file has not been provided - the match between 500 elements of the default dictionary size and the failure on the page 499 suggest that every page leaves a dictionary on the stack, i.e. a bug in the ps file - there was no follow-up comments from the user. |