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 <rep...@bugs.python.org>
<http://bugs.python.org/issue24770>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to