[issue17263] crash when tp_dealloc allows other threads

Albert Zeyer report at bugs.python.org
Tue Feb 26 16:58:46 CET 2013


Albert Zeyer added the comment:

Btw., this turns out to be at least 4 kind of separate bugs:

1. The crash from the testcase - when the interpreter shuts down.

2. Maybe the crash from my musicplayer app - if that is a different one. But very related to the first one.

3. Many loops over the thread states could have code inside which might release the GIL. All these loops can crash because the thread state could be invalidated in the meanwhile.

4. Possible deadlock with HEAD_LOCK usage.

Should we make separate issue reports for each?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17263>
_______________________________________


More information about the Python-bugs-list mailing list