bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling


From: Alan Third
Subject: bug#18501: Acknowledgement (24.3.93; OS X; crash in free() when calling macfont_close())
Date: Wed, 25 May 2016 21:38:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (darwin)

Dmitry Antipov <address@hidden> writes:

> On 09/19/2014 10:05 PM, Jim Radford wrote:
>
>> Here are the two calls that free the font:
>>
>>      frame #1: 0x00000001001c5ffd 
>> Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621
>>      frame #2: 0x000000010014de80 Emacs`font_clear_cache(f=<unavailable>, 
>> cache=<unavailable>, driver=<unavailable>) + 304 at font.c:2620
>>
>>      frame #1: 0x00000001001c5ffd 
>> Emacs`macfont_close(font=0x0000000105c2a8c0) + 13 at macfont.m:2621
>>      frame #2: 0x000000010011be9d Emacs`Fgarbage_collect [inlined] 
>> cleanup_vector + 38 at alloc.c:2935
>>
>> Notice that the pointer is the same in both cases.  Both cleanup_vector() 
>> and font_clear_cache() call
>>
>>      drv->close(font)
>>
>> It seems that font_clear_cache is leaving the font around for the GC to 
>> clean up (a second time) later.
>
> Please try this.

Does anyone know if this patch was committed?
-- 
Alan Third





reply via email to

[Prev in Thread] Current Thread [Next in Thread]