Summary: | Reference to free memory, or segfault with release build | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Ray Johnston <ray.johnston> |
Component: | PDF Writer | Assignee: | Ken Sharp <ken.sharp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Customer: | Word Size: | --- |
Description
Ray Johnston
2014-08-22 15:51:01 UTC
I'd have to guess this is a similar problem to the last one (Bug #695420), something is awry in the page device dictionary or some similar saved resoruce, after it has been altered by pdfwrite in some way. You can drop the -q and -Z@$? parameters. The error seems to occur during end of job restore. FWIW I never get the reference to freed memory, even with the memory checking enabled, just a rangecheck error. commit 55bd0a59caf26a59f852e2dec5b76ad399d9408b fixes the rangecheck error and also the memory warning for me. Ray I'd be grateful if you would check that it solves the memory problem for you as well, I'm not completely convinced that it should have. That commit also addresses the problem of OutputICCProfile not being sent to the device for me. Details of the problem and the fix can be found in the commit log I confirmed that th patch makes both the rangecheck AND the ilocate problem go away for me, and no segfault with the release build. |