[issue32850] Run gc_collect() before complaining about dangling threads

STINNER Victor report at bugs.python.org
Tue Mar 27 18:04:17 EDT 2018


STINNER Victor <victor.stinner at gmail.com> added the comment:

> This is not useful, esp. when the list of referrers to the "dangling" thread looks like this: (...)

I wrote the test.bisect tool to help to debug dangling threads issues.

Sadly, sometimes the warning can occur randomly because of race conditions, and it can be painful to reproduce the bug, and to fix the root issues.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32850>
_______________________________________


More information about the Python-bugs-list mailing list