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 vstinner
Date 2019-09-09.14:05:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568037936.88.0.10373402622.issue38070@roundup.psfhosted.org>
In-reply-to
Content
This issue is related to bpo-36389 "Add gc.enable_object_debugger(): detect corrupted Python objects in the GC.

I propose to call _PyObject_IsFreed() in visit_decref() in debug mode, to get a better error message if something goes wrong.

visit_decref() is commonly found in C traceback (ex: gdb backtrace) of bugs related to the garbage collector.
History
Date User Action Args
2019-09-09 14:05:36vstinnersetrecipients: + vstinner
2019-09-09 14:05:36vstinnersetmessageid: <1568037936.88.0.10373402622.issue38070@roundup.psfhosted.org>
2019-09-09 14:05:36vstinnerlinkissue38070 messages
2019-09-09 14:05:36vstinnercreate