Status: To Do
Fix Version/s: None
We've recently seen a few tickets (
DM-15419, DM-15406) in which it seems we have to release or avoid acquiring the Python Global Intepreter Lock to avoid a crash or deadlock, when only one thread should be in play. We've fixed these without really understanding why the fix works, which is slightly working.
This ticket is primarily intended to record and organize the places in the code base where this kind of workaround/fix has been necessary, so we can easily update them if we discover a better way to approach the problem. As it's possible these problems are due to one or more pybind11 bugs (but it's hard for us to determine that), it's not a high priority for us to investigate ourselves, I think, but I think it's pretty likely we'll want to keep careful records so we can respond appropriately to and improvements coming from pybind11 upstream.