[issue44184] crash on windows invoking flake8
STINNER Victor
report at bugs.python.org
Thu May 20 20:08:17 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
Apply attached debug_subtype_dealloc.patch to reproduce the issue on Linux with attached ref.py script:
$ ./python ref.py
exit
subtype_dealloc(_ABC): call basedealloc() with Py_REFCNT(type)=1
subtype_dealloc(_Precedence): call basedealloc() with Py_REFCNT(type)=1
subtype_dealloc(property): call basedealloc() with Py_REFCNT(type)=1
subtype_dealloc(FlagBoundary): call basedealloc() with Py_REFCNT(type)=1
LAST GC
Cycle.__del__
Cycle.__del__
subtype_dealloc(keyword): call basedealloc() with Py_REFCNT(type)=1
python: Objects/typeobject.c:1462: subtype_dealloc: Assertion `!_PyMem_IsPtrFreed(type->tp_name)' failed.
Abandon (core dumped)
----------
Added file: https://bugs.python.org/file50055/ref.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44184>
_______________________________________
More information about the Python-bugs-list
mailing list