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 boytsovea
Recipients boytsovea, skrah
Date 2020-02-28.12:35:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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

Also I've tried to revert this patch 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.
Date User Action Args
2020-02-28 12:35:45boytsoveasetrecipients: + boytsovea, skrah
2020-02-28 12:35:45boytsoveasetmessageid: <>
2020-02-28 12:35:45boytsovealinkissue39776 messages
2020-02-28 12:35:44boytsoveacreate