[issue36469] Stuck during interpreter exit, attempting to take the GIL

Remy Noel report at bugs.python.org
Fri Mar 29 15:22:18 EDT 2019


Remy Noel <remy.noel at blade-group.com> added the comment:

Thank you a lot for this detailed answer.

Does the "causes of exit" may terminate the thread without releasing the GIL ?
Because as far as i can tell, none of the threads seems to own the GIL (i only checked _PyThreadState_Current though there might be a better way to find the GIL owner).
Therefore, the question is whether thread B is still alive after tB2. and, if so, whether we can find it. (Or whether we can understand why it left without releasing the GIL).

Is there any variable i may check to dig this further ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36469>
_______________________________________


More information about the Python-bugs-list mailing list