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

[perl #124181] Tests spew unreferenced scalar warnings

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
May 9, 2015 14:52
Subject:
[perl #124181] Tests spew unreferenced scalar warnings
Message ID:
rt-4.0.18-18378-1431183147-1146.124181-15-0@perl.org
On Sat May 09 07:01:15 2015, perl@profvince.com wrote:
> 
> >
> > With the configuration attached, I could not reproduce your findings:
> >
> >
> > No error output in any of the 4 cases.  Am I doing something wrong?
> > Is my configuration significantly different from yours?
> >
> > Thank you very much.
> >
> 
> You don't have DEBUGGING enabled, for starters.
> 
> 


Yes, confirmed.

#####
$ !33;!34;!35;!36
PERL_DESTRUCT_LEVEL=2 ./perl -e '@INC = "lib"; { package XS::Typemap; require XSLoader; XSLoader::load() } XS::Typemap::T_STDIO_open("stdio.tmp")';PERL_DESTRUCT_LEVEL=2 ./perl -e '@INC = "lib"; { package XS::Typemap; require XSLoader; XSLoader::load() } $buf = ""; open $fh, "+<", \$buf; XS::Typemap::T_INOUT($fh); close $fh';PERL_DESTRUCT_LEVEL=2 ./perl -e '@INC = "lib"; { package XS::Typemap; require XSLoader; XSLoader::load() } $buf = ""; open $fh, "<", \$buf; XS::Typemap::T_IN($fh); close $fh';PERL_DESTRUCT_LEVEL=2 ./perl -e '@INC = "lib"; { package XS::Typemap; require XSLoader; XSLoader::load() } $buf = ""; open $fh, "+<", \$buf; XS::Typemap::T_OUT($fh); close $fh'
Attempt to free unreferenced scalar: SV 0x1702fa8 during global destruction.
Attempt to free unreferenced scalar: SV 0x1249a30 during global destruction.
Attempt to free unreferenced scalar: SV 0x22e5270 during global destruction.
Attempt to free unreferenced scalar: SV 0xea4148 during global destruction.
#####
-- 
James E Keenan (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=124181

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