[issue38006] _PyFunction_Vectorcall() can segfault on process exit
STINNER Victor
report at bugs.python.org
Mon Sep 2 07:08:05 EDT 2019
STINNER Victor <vstinner at python.org> added the comment:
Using gdb, I checked if func_clear() can be cleared outside func_dealloc(): yes, delete_garbage() (gcmodule.c) calls type->clear(). But I'm surprised that the function would be seen as "unreachable" if it's reference counter was equal to 135:
(gdb) print func.ob_refcnt
$32 = 135
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38006>
_______________________________________
More information about the Python-bugs-list
mailing list