STINNER Victor <vstin...@redhat.com> added the comment:

I looked at the coredump with Pablo. In short, the main thread is calling 
Py_Exit() to exit the process and so released memory, and a daemon thread does 
crash on calling PyEval_RestoreThread() because tstate memory was freed.

The question is now if this bug is a regression compared to Python 3.7 or not. 
I'm trying to reproduce it on Linux by adding "sleep(1)" before exit, but my 
attempts are unsuccessful so far.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37135>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to