Author boytsovea
Recipients boytsovea, skrah
Date 2020-02-28.04:12:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582863142.36.0.571213405765.issue39776@roundup.psfhosted.org>
In-reply-to
Content
Thank you for feedback. I will try to reproduce the issue with 3.6. By the way, haven't you used gdb with python pretty-printers enabled to examine the state of the program? I've got the same error message, then I breaked the execution in debugger and tried to examine the callstack of threads, that stucked in UnlockGILandSleep. The reason for it is clear: then the debugger tries to build a callstack, some of pretty printers try to execute some python code to give a better representation of interpreter objects. The code is executed at the top of the stack of the examined thread. Since this thread explicitly released the GIL before going to sleep, these functions hit the assert about calling the memory allocator without holdng the GIL. Disabling pretty-printers makes these error messages to disappear.
History
Date User Action Args
2020-02-28 04:12:22boytsoveasetrecipients: + boytsovea, skrah
2020-02-28 04:12:22boytsoveasetmessageid: <1582863142.36.0.571213405765.issue39776@roundup.psfhosted.org>
2020-02-28 04:12:22boytsovealinkissue39776 messages
2020-02-28 04:12:22boytsoveacreate