Author boytsovea
Recipients boytsovea, skrah
Date 2020-02-28.12:35:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582893345.08.0.158398286585.issue39776@roundup.psfhosted.org>
In-reply-to
Content
Your callstack is very strange. At line 30 of main.cpp GIL is obviously locked:


   // importing module in this tread
   gstate = PyGILState_Ensure();
   py::module crash_test = py::module::import( "crash_test" ); <-- import
   PyGILState_Release( gstate );

I suppose that there is something wrong with your setup. Maybe - wrong working directory for the main executable, which doesn't contain crash_test.py

Also I've tried to revert this patch https://github.com/python/cpython/pull/5278 for 3.7. It makes problem to disappear, 1 hour of stable work under ASAN. So I suppose it is the source of the bug.

I will try to tweak _testembed.c.
History
Date User Action Args
2020-02-28 12:35:45boytsoveasetrecipients: + boytsovea, skrah
2020-02-28 12:35:45boytsoveasetmessageid: <1582893345.08.0.158398286585.issue39776@roundup.psfhosted.org>
2020-02-28 12:35:45boytsovealinkissue39776 messages
2020-02-28 12:35:44boytsoveacreate