[gs-bugs] [Bug 692618] Seg fault with attached files.

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sat Oct 22 20:12:27 UTC 2011


--- Comment #7 from Ray Johnston <ray.johnston at artifex.com> 2011-10-22 20:12:25 UTC ---
OK, fix for the crashes and memory problems I observed with these files and
the toffsep device are fixed in commit 7ebbcae comment:

Fix bug 692618. Clear pointers to compressed color structured in pdf14 device.

After the devn compressed color structures were freed, the pointers were not
reset to NULL so subsequent GC would trace into freed or re-used memory. -Z?
showed errors and, depending on memory contents and usage could result in a
seg fault. Also add 'mem' element to the compressed_color_list structure to be
used when freeing to avoid confusion about the correct allocator.

Issue with non-encodable colors is _not_ fixed by this, only the segfault.

Leaving the issue open while I investigate the non-encodable color issue.

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