You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current understanding is that when interpreter is shutting down it calls _PyGILState_Fini at some point which invalidates TLS key to PyThreadState, so PyThreadState_GET yields NULL thread state leading to a crash.
I'm not sure how to fix that, and I think it's kind of low priority now, but I though I'll put an issue about that anyway.
The text was updated successfully, but these errors were encountered:
I have changed
x.py
to be the following:and after a few runs got a segfault.
My current understanding is that when interpreter is shutting down it calls
_PyGILState_Fini
at some point which invalidates TLS key to PyThreadState, soPyThreadState_GET
yieldsNULL
thread state leading to a crash.I'm not sure how to fix that, and I think it's kind of low priority now, but I though I'll put an issue about that anyway.
The text was updated successfully, but these errors were encountered: