This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Anthony Sottile, ammar2, christian.heimes, erlendaasland, pablogsal, paul.moore, shreyanavigyan, stestagg, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-05-21.00:08:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621555697.2.0.922268771367.issue44184@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2021-05-21 00:08:17vstinnersetrecipients: + vstinner, paul.moore, christian.heimes, tim.golden, zach.ware, steve.dower, Anthony Sottile, ammar2, pablogsal, erlendaasland, stestagg, shreyanavigyan
2021-05-21 00:08:17vstinnersetmessageid: <1621555697.2.0.922268771367.issue44184@roundup.psfhosted.org>
2021-05-21 00:08:17vstinnerlinkissue44184 messages
2021-05-21 00:08:16vstinnercreate