[gs-bugs] [Bug 691527] PDF FTS 1.7 files Segmentation Fault

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sun Aug 8 21:38:08 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691527

--- Comment #4 from Ray Johnston <ray.johnston at artifex.com> 2010-08-08 21:38:00 UTC ---
The pattern-clist devices created during the clist playback for the the page
printing were never freed, even though they were closed and some of their
info was invalid.

This seems to cure the segfault with 3120, but I am still seeing a segfault
in 1705.

The (partial) patch that fixes 3120 for me is:

Index: base/gxpcmap.c
===================================================================
--- base/gxpcmap.c      (revision 11614)
+++ base/gxpcmap.c      (working copy)
@@ -727,6 +727,7 @@
                             ctile->cdev->common.memory);
             rc_decrement(ctile->cdev->common.icc_cache_cl,
                             "gx_pattern_cache_free_entry");
+           gs_free_object(ctile->cdev->common.memory, ctile->cdev,
"free_pattern_cache_entry(pattern-clist)");
            ctile->cdev = NULL;
        }

Note that this eliminates the 'object not in any chunk' messages I was seeing
with a debug build.

Still a work in progress...

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list