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

svleak.t fails on -Dmad (Re: [perl.git] branch blead, updated.v5.17.2-151-gd97935e)

Thread Next
From:
Tony Cook
Date:
August 5, 2012 21:25
Subject:
svleak.t fails on -Dmad (Re: [perl.git] branch blead, updated.v5.17.2-151-gd97935e)
Message ID:
20120806042529.GA11795@mars.tony.develop-help.com
On Wed, Aug 01, 2012 at 02:35:56PM +0200, Dave Mitchell wrote:
> In perl.git, the branch blead has been updated
> 
> <http://perl5.git.perl.org/perl.git/commitdiff/d97935e01b36de894b55057e3945044c9d47dfc9?hp=c50bda7c602d34fbc8752fc972be6f3050164834>
> 
> - Log -----------------------------------------------------------------
> commit d97935e01b36de894b55057e3945044c9d47dfc9
> Author: David Mitchell <davem@iabyn.com>
> Date:   Wed Aug 1 13:31:03 2012 +0100
> 
>     stop /$unchanging/ leaking
>     
> +
> +
> +# [perl #114356] run-time rexexp with unchanging pattern got
> +# inflated refcounts
> +
> +leak(2, 0, sub { eval q{ my $x = "x"; "abc" =~ /$x/ for 1..5 } }, '#114356');

The new test introduced here has failed on -Dmad builds since it was
added.

tony@mars:.../perl/t$ git log -n1 --oneline
d97935e stop /$unchanging/ leaking
tony@mars:.../perl/t$ ./perl harness op/svleak.t 
op/svleak.t .. 1/22 # Failed test 22 - \#114356 at op/svleak.t line 30
#      got "2"
# expected <= "0"
op/svleak.t .. Failed 1/22 subtests 

Test Summary Report
-------------------
op/svleak.t (Wstat: 0 Tests: 22 Failed: 1)
  Failed test:  22
Files=1, Tests=22,  0 wallclock secs ( 0.04 usr  0.00 sys +  0.07 cusr  0.00 csys =  0.11 CPU)
Result: FAIL
tony@mars:.../perl/t$ ./perl -I../lib -V:config_args
config_args='-des -Dusedevel -Dmad';

(Also tested in blead @b166eea.)

Tony

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