[pypy-issue] [issue1305] [CFFI] Clarify ownership of nested structs

Gabriel tracker at bugs.pypy.org
Mon Oct 29 11:54:26 CET 2012


New submission from Gabriel <g2p.code+pypy at gmail.com>:

When a struct contains nested structs (not through pointers, embedded directly
inside), it appears that references to the inner struct can become invalid,
probably because they depend on the outer struct but don't prevent it from being
garbage collected.

Here is a test case; smaller test cases don't seem to trigger the memory error:
https://travis-ci.org/g2p/bedup/builds/2972522

----------
messages: 4917
nosy: pypy-issue
priority: critical
status: unread
title: [CFFI] Clarify ownership of nested structs

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1305>
________________________________________


More information about the pypy-issue mailing list