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

Re: [perl #54934] Attempt to free unreferenced scalar fiddling with the symbol table

Thread Previous | Thread Next
From:
Niko Tyni
Date:
May 30, 2008 16:50
Subject:
Re: [perl #54934] Attempt to free unreferenced scalar fiddling with the symbol table
Message ID:
20080530170353.GA3919@rebekka
On Fri, May 30, 2008 at 02:55:22PM +0200, Rafael Garcia-Suarez wrote:
> 2008/5/27 via RT Niko Tyni <perlbug-followup@perl.org>:
> > As seen in <http://cpantesters.perl.org/show/PerlIO-via-dynamic.html>,
> > the test suite of the PerlIO::via::dynamic CPAN module generates
> > 'Attempt to free unreferenced scalar' warnings with recent perl versions,
> > including 5.10.0 but not 5.8.8.

> Good catch. I've traced the double-freed scalar; the patch below fixes
> the error. However I'm not sure at all it creates no leak.

I'm happy to report that the patch fixes all the numerous failures in
the SVK v2.0.2 test suite on Perl 5.10.0.

 http://cpantesters.perl.org/show/SVK.html#SVK-v2.0.2

Many thanks for looking at this.
-- 
Niko Tyni   ntyni@debian.org

Thread Previous | Thread Next


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