STINNER Victor <vstin...@python.org> added the comment:
To reproduce the bug, apply attached os_uname_refcount_bug.patch and call os.uname(): --- $ ./python -c 'import os; os.uname()' (...) Fatal Python error: _PyMem_DebugRawFree: bad ID: Allocated using API '', verified using API 'o' (...) --- ---------- keywords: +patch Added file: https://bugs.python.org/file50247/os_uname_refcount_bug.patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45061> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com