Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4916

swig-py: Python ref-count leak on delta.editor object and repos.make_parse_fns3 object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 1.14.2
    • None
    • bindings_swig_python
    • None

    Description

      An edit baton made by delta.make_editor / a parse_fns3 baton made by repos.make_parse_fns3 hold a reference of editor object / parse_fns3 object and they never release it.
       

      This was pointed out in the Trac Open Source Project ticket #13112[1],  #13129[2],  and #13356[3]

       

      [1] repository sync with large Subversion repository has memory leaks
          https://trac.edgewall.org/ticket/13112

      [2] trac-admin resync leaks memory
          https://trac.edgewall.org/ticket/13129

      [3] Subversion pool is destroyed more than once while testing
          trac/versioncontrol/tests/functional.py, comment 6
          https://trac.edgewall.org/ticket/13356#comment:6

       

      I think this affects all versions after those functions were implemented,  but I didn't check.

      Attachments

        Activity

          People

            dsahlberg Daniel Sahlberg
            futatuki Yasuhito Futatsuki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: