[issue9197] subprocess module causing crash

Ronald Oussoren report at bugs.python.org
Thu Jul 8 15:23:04 CEST 2010


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

Removing the call to Py_DECREF is fishy. 

The cleanup of the interpreter state in Py_Finalize doesn't clean up all state when m_copy refers to a version from a previous instance of the interpreter.

Maybe the tp_dealloc of a module object clean up m_copy? I don't know enough of this code and its intended behavior to know if that would be a valid change.

----------

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


More information about the Python-bugs-list mailing list