◐ Shell
clean mode source ↗

Message 292625 - Python tracker

Victor,
The tracemalloc module is not available on platforms that provides own TLS implementation that uses PyMem_* functions.  In the own implementation, it occurs deadlock by recursion call in thread key search.  PyOnceVar API handles extendable array by using PyMem_Reallloc, therefore, I think TSS key initialization using the API will raise deadlock likewise.