[issue22898] segfault during shutdown attempting to log ResourceWarning
Serhiy Storchaka
report at bugs.python.org
Sun Jun 11 08:46:44 EDT 2017
Serhiy Storchaka added the comment:
The fact that the traceback of PyExc_RecursionErrorInst causes an issue means that PyExc_RecursionErrorInst is used. We can't just remove PyExc_RecursionErrorInst since this can cause a stack overflow or, with merged PR 2035, an infinite loop.
Perhaps the solution of this issue is clearing __traceback__, __cause__ and __context__ attributes of PyExc_RecursionErrorInst as early as possible.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22898>
_______________________________________
More information about the Python-bugs-list
mailing list