develooper Front page | perl.perl5.porters | Postings from July 2001

Re: perl_clone leaks

Thread Previous
Artur Bergman
July 11, 2001 11:12
Re: perl_clone leaks
Message ID:
01-07-11 18.20, skrev Doug MacEachern på följande:

> the following program does not leak with 5.6.1, with bleedperl leaks,
> example:
> % ./clone_leak -MCGI -e0
> Scalars leaked: -4
> Scalars leaked: 4
> 3673  4428 clone_leak

I have seen this this problem on and off for quite some time. It only seems
to happen for the first perl_clone.

It seems like some scalars get accounted for in the wrong interpreter. If
you do 4 -4 you get 0, so in reality we should have no leakder scalars :)

Is this leak with the threadsafe PMOP stuff added? There are leaks in there
that I am fixing now.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About