[New-bugs-announce] [issue24770] Py_Finalize not cleaning up all threads

Alex Budovski report at bugs.python.org
Sat Aug 1 08:08:55 CEST 2015


New submission from Alex Budovski:

This is a known issue, from the comment, but it is causing AVs for my embedded application when background threads are created, for example, by the _socket builtin module.

/* Undo the effect of Py_Initialize().

   Beware: if multiple interpreter and/or thread states exist, these
   are not wiped out; only the current thread and interpreter state
   are deleted.  But since everything else is deleted, those other
   interpreter and thread states should no longer be used.

   (XXX We should do better, e.g. wipe out all interpreters and
   threads.)

   Locking: as above.

*/

void
Py_Finalize(void)

----------
components: Extension Modules, Interpreter Core
messages: 247798
nosy: Alex Budovski
priority: normal
severity: normal
status: open
title: Py_Finalize not cleaning up all threads
versions: Python 3.6

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


More information about the New-bugs-announce mailing list