[issue7544] Fatal error on thread creation in low memory condition

STINNER Victor report at bugs.python.org
Wed Jan 13 14:45:09 CET 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Another problem with my patch! If initsite() calls PyGILState_Ensure(): assert(autoInterpreterState) fails because autoInterpreterState is NULL.

_PyGILState_Init() have to be called before initsite(). I don't know where it should be called exactly. Why not just after the PyThreadState_New() (in Py_InitializeEx())?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7544>
_______________________________________


More information about the Python-bugs-list mailing list