[issue3611] invalid exception context
STINNER Victor
report at bugs.python.org
Wed Aug 20 23:21:31 CEST 2008
STINNER Victor <haypo at users.sourceforge.net> added the comment:
It looks that the problem is that PyErr_SetObject() is not re-entrant.
The crash occurs when PyErr_SetObject() is called (indirectly) by
PyErr_SetObject(): tstate->exc_value value is changed (set to NULL).
As noticed by amaury.forgeotdarc, the problem is linked to be garbage
collector: the crash occurs when the garbage collector calls a
destructor which will reuse PyErr_SetObject().
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3611>
_______________________________________
More information about the Python-bugs-list
mailing list