[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: problem freeing references in perl bindings

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Thu, 21 May 2009 10:17:06 -0400

Guillaume Rousse wrote:
> Unfortunatly, current subversion version is now 1.6.2, and the problem
> is still there:
> [guillaume_at_oberkampf ~]$ perl Desktop/testcase.t
> Attempt to free unreferenced scalar: SV 0xd127f8, Perl interpreter:
> 0xce1010 at Desktop/testcase.t line 18.

This is a double-free in the Subversion bindings build against Perl
5.10.0. It doesn't have anything to do with Subversion per se; Perl
5.10.0 included a lot of changes and the SWIG bindings haven't been
updated. The Subversion bindings work fine when built with Perl 5.8.9,
however, and is the workaround I personally have to use.

At some point, I'll revive my perl_bindings_improvements branch and fix
this (as well as lots of other limitations).


Received on 2009-05-21 16:17:41 CEST

This is an archived mail posted to the Subversion Dev mailing list.