develooper Front page | perl.perl5.porters | Postings from August 2008

Re: [perl #56908] DBI memory leak in 5.10.0 due to change 26530

Thread Previous
From:
Nicholas Clark
Date:
August 6, 2008 05:41
Subject:
Re: [perl #56908] DBI memory leak in 5.10.0 due to change 26530
Message ID:
20080806124126.GF40282@plum.flirble.org
On Wed, Aug 06, 2008 at 12:12:44PM +0100, Tim Bunce wrote:

> Nick, in case it helps... DBI uses weakrefs for only one thing.
> Whenever a new handle is created the parent handle's ChildHandles
> attribute (an array ref) gets a weak ref to the new child pushed onto it.
> This is the code that does that (search for weak in DBI.xs):

> One thing that's unusual is that these are weakrefs to *tied* hashes.
> Perhaps that's an odd case not handled by the patch.

Well, it should have still worked...

I doubt that I'll get any time to look at this this side of September.

Nicholas Clark

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About