[gs-bugs] [Bug 692246] font cache infinite loop

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sun Jun 5 18:08:11 UTC 2011


--- Comment #5 from Henry Stiles <henry.stiles at artifex.com> 2011-06-05 18:08:10 UTC ---
(In reply to comment #4)
> Created an attachment (id=7563)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=7563) [details]
> Patch for Bug692246
> This patch counts the number of entries in the cache and when it is 3/4 full it
> removes 1% to make room for further chars. More than one char is removed so
> that the code does not sit on the cache limit and continually add and remove
> entries as more chars get cached.

I don't think Peter would leave out code to guarantee the font cache wouldn't
fill up.  Simply patching up the problem with a new implementation is rarely of
interest to us.  We want to get at the underlying issue, which likely begins
with looking at the commit that changed the font cache table sizes and created
the regression.

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