Message352676
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 |
|
| Date |
User |
Action |
Args |
| 2019-09-17 23:38:47 | vstinner | set | recipients:
+ vstinner, pablogsal, miss-islington |
| 2019-09-17 23:38:47 | vstinner | set | messageid: <1568763527.81.0.578604314859.issue38070@roundup.psfhosted.org> |
| 2019-09-17 23:38:47 | vstinner | link | issue38070 messages |
| 2019-09-17 23:38:47 | vstinner | create | |
|