[pypy-issue] [issue1679] Segfault on 32bit pypy

wiredfool tracker at bugs.pypy.org
Wed Jan 22 22:23:59 CET 2014


wiredfool <eric-pypy at soroos.net> 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 <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1679>
________________________________________


More information about the pypy-issue mailing list