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 aeros
Recipients aeros, eric.snow, vstinner
Date 2019-09-17.00:11:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568679069.46.0.271761738424.issue37224@roundup.psfhosted.org>
In-reply-to
Content
Upon further consideration, I don't think this will address the issue. If the RuntimeError was not being raised, this failure would be consistent rather than intermittent. 

I think I have have gotten a bit mixed up, even if the return value of PyErr_Format is NULL, it would not implicitly return NULL upon being called and exit the function early (like a macro could) . I'm not experienced with programming in C, I only started learning it more recently (Python, Java, and C# have been my primary languages) when I started contributing to CPython in June.

Instead, I suspect this is likely a concurrency issue, where multiple threads are trying to access the same sub-interpreter during ``interp_destroy()``. The solution will likely involve finding the correct place for a lock. I'll continue to work on this and see if I can find a solution.
History
Date User Action Args
2019-09-17 00:11:09aerossetrecipients: + aeros, vstinner, eric.snow
2019-09-17 00:11:09aerossetmessageid: <1568679069.46.0.271761738424.issue37224@roundup.psfhosted.org>
2019-09-17 00:11:09aeroslinkissue37224 messages
2019-09-17 00:11:09aeroscreate