[issue30060] Crash on Py_Finalize if Py_NoSiteFlag is used
Stephen Kelly
report at bugs.python.org
Thu Apr 13 06:54:46 EDT 2017
Stephen Kelly added the comment:
The issue
http://bugs.python.org/issue17978
has a quite similar backtrace and there is discussion in
http://bugs.python.org/issue17703#msg241412
about changing the TRASHCAN macro to access the _PyThreadState_Current directly instead of calling PyThreadState_Get (which is fatal for a nullptr). The very next thing the TRASHCAN macro does is check if the thread state is nullptr in a non-fatal way.
Is there a reason not to apply that patch?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30060>
_______________________________________
More information about the Python-bugs-list
mailing list