develooper Front page | perl.perl5.porters | Postings from January 2018

Re: [perl #132671] Bleadperl v5.27.6-206-g16ada235c3 breaksJGAMBLE/Algorithm-QuineMcCluskey-0.16.tar.gz

Thread Previous | Thread Next
From:
Zefram
Date:
January 1, 2018 15:24
Subject:
Re: [perl #132671] Bleadperl v5.27.6-206-g16ada235c3 breaksJGAMBLE/Algorithm-QuineMcCluskey-0.16.tar.gz
Message ID:
20180101152418.GA11996@fysh.org
This problem isn't actually with Algorithm-QuineMcCluskey, but with
List-MoreUtils-XS.  It's another GvSV refcounting bug in List-MoreUtils-XS
that is being uncovered by having fixed pp_sort.  We previously saw a
similar failure in List-MoreUtils-XS's own test suite, [perl #132578].
A new version of List-MoreUtils-XS has been released which doesn't fail
in its own test suite, but still has GvSV refcounting bugs.  The one
hitting Algorithm-QuineMcCluskey is with pairwise():

$ perl -MDevel::Peek=Dump -MList::MoreUtils::XS=pairwise -lwe 'pairwise {  } @{["0"]}, @{["0"]}; Dump $a; Dump $b'
SV = UNKNOWN(0xff) (0xfecab0) at 0xfc9128
  REFCNT = 0
  FLAGS = ()
SV = UNKNOWN(0xff) (0xfecb88) at 0xfecac8
  REFCNT = 0
  FLAGS = ()

This bug falls within the scope of [rt.cpan.org #123868] that I opened
in response to [perl #132578].  I'll add a comment to it about this
particular problem.

-zefram

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