[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: Guillaume Rousse <guillomovitch_at_zarb.org>
Date: 2007-06-29 10:48:03 CEST

John Peacock a écrit :
> Guillaume Rousse wrote:
>> When executed, the attached test case produce the following warning:
>> [guillaume@oberkampf 2.0]$ perl testcase.t
>> Attempt to free unreferenced scalar: SV 0xa71e80 at testcase.t line 18.
>
> `perl -v` would be very helpful to know; there are a couple of distros
> *cough*RedHat*cough* that ship with non-standard 5.8.x releases of relatively
> ancient origins.
Right, I forgot it:
[rousse@stalingrad ~]$ perl -v

This is perl, v5.8.8 built for x86_64-linux
(with 1 registered patch, see perl -V for more detail)

That's almost verbatim perl 5.8.8, on mandriva cooker, development version.

> But I can replicate with v5.8.8 and Subversion 1.4.2. That's a classic refcount
> mistake (and it is actually the mkdir() on line 16 that is throwing the free
> error, regardless). The odds are good that it is the error message itself that
> isn't being decremented properly:
>
> Filesystem has no item: File not found: transaction '0-1', path '/foo/bar' at
> testcase.t line 15
>
> which is being hidden by the eval{}. I'll try to take a deeper look in the
> morning...
Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 29 10:48:13 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.