[issue32322] Heap type with Py_TPFLAGS_HAVE_GC leads to segfault due to not incrementing type object refcout in PyObject_GC_New

Rostislav Kondratenko report at bugs.python.org
Tue Jun 15 08:06:55 EDT 2021


Rostislav Kondratenko <grostik at gmail.com> added the comment:

Hello, I don't have that code, as I worked around that issue at the time.
I checked with my project, using PyObject_GC_New works fine.
It seems that since then the issue has been fixed at some point since 2017.
Either that or I misinterpreted what was going on back then.
I think we can safely close this issue.

On Tue, 15 Jun 2021 at 14:18, Irit Katriel <report at bugs.python.org> wrote:

>
> Irit Katriel <iritkatriel at yahoo.com> added the comment:
>
> Do you still have the code that created the crash? It would help to
> understand what you are/were seeing.
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue32322>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32322>
_______________________________________


More information about the Python-bugs-list mailing list