Skip Menu |

This queue is for tickets about the Memory-Leak-Hunter CPAN distribution.

Report information
The Basics
Id: 100398
Status: open
Priority: 0/
Queue: Memory-Leak-Hunter

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.02
Fixed in: (no value)



Subject: Test suite fails with perl 5.21.x
On 2014-11-17 02:37:07, SREZIC wrote: Show quoted text
With perl 5.21.3 the test suite works fine, fails start with perl 5.21.4.
On Mon Nov 17 02:41:01 2014, SREZIC wrote: Show quoted text
> On 2014-11-17 02:37:07, SREZIC wrote: > > With perl 5.21.3 the test suite works fine, fails start with perl 5.21.4.
In 5.21.4, ‘sub foo{}’ will now put a code reference in the stash, instead of a full typeglob. That may have something to do with it.
On Mon Nov 17 22:35:13 2014, SPROUT wrote: Show quoted text
> On Mon Nov 17 02:41:01 2014, SREZIC wrote:
> > On 2014-11-17 02:37:07, SREZIC wrote:
> > > See http://matrix.cpantesters.org/?dist=Memory-Leak-Hunter%200.02 > > > for > > > a pass/fail overview.
> > > > With perl 5.21.3 the test suite works fine, fails start with perl > > 5.21.4.
> > In 5.21.4, ‘sub foo{}’ will now put a code reference in the stash, > instead of a full typeglob. That may have something to do with it.
I tried testing this on a recent bleadperl (v5.21.5-539-g6dfba0a), with debugging enabled. I got even more failures: PERL_DL_NONLAZY=1 "/usr/local/bin/perl5.21.6" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-gladiator.t .. Assertion failed: (SvTYPE(_svstash) >= SVt_PVMG), function Perl_sv_ref, file sv.c, line 9885. Assertion failed: (SvTYPE(_svstash) >= SVt_PVMG), function Perl_sv_ref, file sv.c, line 9885. t/01-gladiator.t .. 1/13 Assertion failed: (SvTYPE(_svstash) >= SVt_PVMG), function Perl_sv_ref, file sv.c, line 9885. # Failed test 'one scalar' # at t/01-gladiator.t line 158. # Comparing hash keys of $data # Missing: 'SCALAR' Assertion failed: (SvTYPE(_svstash) >= SVt_PVMG), function Perl_sv_ref, file sv.c, line 9885. Those assertion failures are probably due to the issue described in <https://rt.perl.org/rt3/Ticket/Display.html?id=123223>, so I’ll have to tackle that first.