Pygame.tests.freetype_test segfaults on Python 3.4b1

Issue #187 closed
cgohlke created an issue

Using Python 3.4b1 64 bit on Windows, pygame.tests.freetype_test crashes in _freetype.pyd, line 857 of _freetype.c. I tried freetype-2.5.1 and freetype-2.4.12. On Python 3.3 (using the same compiler, compiler settings, and C libraries) the test passes.

    python34.dll!PyModule_GetState(_object * m=0x000000000000000f)  Line 292    C
>   _freetype.pyd!_ftfont_dealloc(PgFontObject * self=0x0000000003d5b6c0)  Line 857 + 0x16 bytes    C
    python34.dll!free_keys_object(_dictkeysobject * keys=0x00000000036fd540)  Line 367  C
    python34.dll!dict_dealloc(PyDictObject * mp=0x0000000000000000)  Line 1393  C
    python34.dll!free_keys_object(_dictkeysobject * keys=0x0000000002f84818)  Line 367  C
    python34.dll!PyDict_Clear(_object * op=0x0000000002f82898)  Line 1282 + 0xd bytes   C
    python34.dll!type_clear(_typeobject * type=0x0000000000000000)  Line 2990   C
    python34.dll!delete_garbage(_gc_head * collectable=0x0000000000aef690, _gc_head * old=0x00000000762f3700)  Line 855 C
    python34.dll!collect(int generation=39256656, __int64 * n_collected=0x0000000000000000, __int64 * n_uncollectable=0x0000000000f58d08, int nofail=1)  Line 1027  C
    python34.dll!_PyGC_CollectNoFail()  Line 1626   C
    python34.dll!PyImport_Cleanup()  Line 421   C
    python34.dll!Py_Finalize()  Line 624    C
    python34.dll!Py_Main(int argc=0, unsigned short * * argv=0x0000047a00000000)  Line 815  C
    [Frames below may be incorrect and/or missing, no symbols loaded for python.exe]    
    kernel32.dll!BaseThreadInitThunk()  + 0xd bytes 
    ntdll.dll!RtlUserThreadStart()  + 0x1d bytes    

Comments (12)

  1. Lenard Lindstrom

    I will close this once an automated build system is running and the freetype unit tests pass.

  2. Lenard Lindstrom

    The last successful automated Windows build pre-dates this issue. But I will risk it. Case Closed.

  3. Log in to comment