[pypy-issue] Issue #2274: PyPyGILState_Ensure() crash (pypy/pypy)

Jesse Fang issues-reply at bitbucket.org
Mon Apr 18 23:50:44 EDT 2016


New issue 2274: PyPyGILState_Ensure() crash
https://bitbucket.org/pypy/pypy/issues/2274/pypygilstate_ensure-crash

Jesse Fang:

pycares use PyPyGILState_Ensure () in every C callback function, before call callback that writen in python.  eg. https://github.com/saghul/pycares/blob/master/src/cares.c#L654
PyPyGILState_Ensure() crash both on windows and linux and report: 

*Fatal RPython error: a thread is trying to wait for the GIL, but the GIL was not initialized*





More information about the pypy-issue mailing list