[issue22898] segfault during shutdown attempting to log ResourceWarning

Xavier de Gaye report at bugs.python.org
Sat Mar 26 13:57:38 EDT 2016


Xavier de Gaye added the comment:

Victor,

With warn_5.patch *filename is not set when globals is NULL: setup_context() returns 0, and so do_warn() returns NULL without calling warn_explicit().

This is different from your initial warn.patch where setup_context() returns 1 in that case and an attempt is made to issue the warning.

----------

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


More information about the Python-bugs-list mailing list