This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients koobs, lukasz.langa, pablogsal, pitrou, vstinner
Date 2019-06-04.00:27:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559608035.12.0.595445308292.issue37135@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-06-04 00:27:15vstinnersetrecipients: + vstinner, pitrou, lukasz.langa, koobs, pablogsal
2019-06-04 00:27:15vstinnersetmessageid: <1559608035.12.0.595445308292.issue37135@roundup.psfhosted.org>
2019-06-04 00:27:15vstinnerlinkissue37135 messages
2019-06-04 00:27:15vstinnercreate