[issue39001] possible problem with 64-bit mingw DECREF
Dave Lawrence
report at bugs.python.org
Wed Dec 11 17:30:47 EST 2019
Dave Lawrence <mail.dave.lawrence at gmail.com> added the comment:
by redefinining the Py_DECREF macro in my application:
#define Py_DECREF(op) do { if (--op->ob_refcnt == 0) fprintf(stderr, "DECREF %s %d %p %d %s %p\n", __FILE__, __LINE__, op, Py_SIZE(op), Py_TYPE(op)->tp_name,Py_TYPE(op)->tp_dealloc ); fflush(stderr); } while(0)
this outputs lines like this:
DECREF vardef_file.cc 1601 0000000009F3C728 0 generator 0000000000000000
which appears to be showing the tp_dealloc is a null pointer.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39001>
_______________________________________
More information about the Python-bugs-list
mailing list