[jira] [Commented] (SVN-4918) swig-py: parse_fns3 driver object and parse_baton can make a circular reference which causes Python reference leak

"Daniel Sahlberg (Jira)" <[email protected]> Sun, 1 Oct 2023 16:09:00 +0000 (UTC)
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/SVN-4918?page=3Dcom.atlassian.j=
ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D177708=
86#comment-17770886 ]=20

Daniel Sahlberg commented on SVN-4918:
--------------------------------------

Fixed by [http://svn.apache.org/viewvc?rev=3D1912500&view=3Drev|http://svn.=
apache.org/viewvc?rev=3D1912515&view=3Drev]

> swig-py: parse_fns3 driver object and parse_baton can make a circular ref=
erence which causes Python reference leak
> -------------------------------------------------------------------------=
-----------------------------------------
>
>                 Key: SVN-4918
>                 URL: https://issues.apache.org/jira/browse/SVN-4918
>             Project: Subversion
>          Issue Type: Bug
>          Components: bindings_swig_python
>    Affects Versions: trunk, 1.14.2
>            Reporter: Yasuhito Futatsuki
>            Assignee: Yasuhito Futatsuki
>            Priority: Major
>
> parse_fns3 driver object and parse_baton can make a circular references t=
hrough the pool cleanup callback registration which is not visible by Pytho=
n interpreter.
> =C2=A0
> If parse_fn3 driver and parse_baton object are allocated from same pool,=
=C2=A0 the python wrapper object of the pool and its entity pool can't clea=
n up.
> =C2=A0



--
This message was sent by Atlassian Jira
(v8.20.10#820010)