Message 352676 - Python tracker

Message352676

Author vstinner
Recipients miss-islington, pablogsal, vstinner
Date 2019-09-17.23:38:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568763527.81.0.578604314859.issue38070@roundup.psfhosted.org>
In-reply-to
Content
msg351473 example with the new assertion and enhanced debug functions:
---
Modules/gcmodule.c:379: visit_decref: Assertion "!_PyObject_IsFreed(op)" failed
<object at 0x7ff0038956d0 is freed>
Fatal Python error: _PyObject_AssertFailed
Python runtime state: finalizing (tstate=0x1d1c9b0)

Current thread 0x00007ff010841740 (most recent call first):
<no Python frame>
Aborted (core dumped)
---

* Obviously, "Modules/gcmodule.c:379: visit_decref: Assertion "!_PyObject_IsFreed(op)" failed" is the first most visible enhancement
* Add "Python runtime state: finalizing (tstate=0x1d1c9b0)": Python is finalizing (Py_Finalize)
* New "<no Python frame>" in the traceback
* "<Freed object>" became "<object at 0x7ff0038956d0 is freed>": add the object address
History
Date User Action Args
2019-09-17 23:38:47vstinnersetrecipients: + vstinner, pablogsal, miss-islington
2019-09-17 23:38:47vstinnersetmessageid: <1568763527.81.0.578604314859.issue38070@roundup.psfhosted.org>
2019-09-17 23:38:47vstinnerlinkissue38070 messages
2019-09-17 23:38:47vstinnercreate