wiredfool <[email protected]> added the comment:

Run on 64bit:

Breakpoint 1, getfont (self_=0x0, args=0x7ffff7faa130, kw=0x7ffff7faa120) at 
_imagingft.c:142
142         if (!error)
(gdb) p ((TT_CMap)self->face->charmap)[0]
$4 = {cmap = {charmap = {face = 0x3036da0, encoding = FT_ENCODING_UNICODE, 
platform_id = 3, 
encoding_id = 10}, 
    clazz = 0x7ffff40c0800 <tt_cmap12_class_rec>}, data = 0x7ffff535d828 "", 
flags = 0}
(gdb) c
Continuing.

Breakpoint 2, font_getsize (self=0x7ffff7fa7168, args=0x7ffff7faa120) at 
_imagingft.c:221
221             face = self->face;
(gdb) p ((TT_CMap)self->face->charmap)[0]
$5 = {cmap = {charmap = {face = 0x3036da0, encoding = FT_ENCODING_UNICODE, 
platform_id = 3, 
encoding_id = 10}, 
    clazz = 0x7ffff40c0800 <tt_cmap12_class_rec>}, data = 0x7ffff535d828 "", 
flags = 0}


Data hasn't been freed in this case.

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1679>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to