[TxMt] Re: weird bug

Allan Odgaard mailinglist at textmate.org
Wed Jun 11 22:46:40 UTC 2008


On 4 Jun 2008, at 19:02, Alex Ross wrote:

>> The text rendering system will cache bitmaps generated from the  
>> outline fonts.
>>
>> It is not uncommon that this cache gets corrupted. Sometimes  
>> restarting the app is enough, sometimes the machine, sometimes the  
>> cache manually needs to be flushed.
>
> How is it that the cache comes to be corrupted?  This happens to me  
> at least a few times per year, and it seems to be a fairly wide  
> spread problem.  None of the other data on my computer gets  
> corrupted 3 or 4 times a year, what is the deal?

How do you verify that none of your other data gets corrupted? :)

Though I guess there just is a bug somewhere in Apple’s code.  
Presumably something like a font cache is accessed by multiple  
processes, and so, it could very likely be a race condition (two  
processes both adding to the cache).

I did notice that one of the Leopard seeds actually caused sub-daily  
font corruption in TextMate’s HTML output window. Relaunching TextMate  
fixed it though.

But also since Leopard GM I personally have not had to reset my font  
cache.




More information about the textmate mailing list