STINNER Victor <vstin...@python.org> added the comment:
Aha, interesting bug report. I attached a simplified reproducer. Output with a Python built in debug mode: --- Objects/frameobject.c:590: _Py_NegativeRefcount: Assertion failed: object has negative ref count <object at 0x25e8570 is freed> Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailed Python runtime state: initialized Current thread 0x00007efd7a2d0740 (most recent call first): File "/home/vstinner/bug.py", line 29 in <module> Abandon (core dumped) --- ---------- nosy: +vstinner Added file: https://bugs.python.org/file49431/bug.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41654> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com