On Jul 17, 9:54 am, Philip Martin <philip.mar...@wandisco.com> wrote: > "rupert.thurner" <rupert.thur...@gmail.com> writes: > > it seems that the python bindings leak memory, and there seems no test > > covering this? > > It's possible. Please provide more details.
the problem seems to be in svn_ra_replay and/or svn_ra_get_log. what i tried to do is: python svnmem.py valgrind python svnmem.py for a start, i tried to run the test case from http://subversion.tigris.org/issues/show_bug.cgi?id=3052 with svn-1.6.12, but it produces a segmentation fault here. see below for the script. #!/usr/bin/python import svn.client import svn.core import svn.ra pool = svn.core.Pool() client = svn.client.create_context() ra = svn.client.open_ra_session("http://gcc.gnu.org/svn/gcc", client) def rcvr(orig_paths, rev, author, date, message, pool): if orig_paths is not None: for x in orig_paths: orig_paths[x]._parent_pool.destroy() print rev svn.ra.get_log(ra, [""], 0, 700000, 0, True, False, rcvr)