On Wed Nov 04 11:47:01 2015, PEVANS wrote:
Show quoted text> 5.20 and earlier works fine with/without threads.
> 5.22 without threads works fine.
>
> 5.22 with threads appears currently broken:
>
>
http://matrix.cpantesters.org/?dist=Devel-
> MAT%200.21;os=linux;perl=5.22.0;reports=1
Easiest bugfix evar.
--
Paul Evans
=== modified file 'lib/Devel/MAT/SV.pm'
--- lib/Devel/MAT/SV.pm 2015-10-29 21:09:11 +0000
+++ lib/Devel/MAT/SV.pm 2016-03-16 12:24:00 +0000
@@ -1361,7 +1361,7 @@
# Clear the obviously unused elements of lexnames and padlists
foreach my $ix ( @$idxes ) {
- $padnames->_clear_elem( $ix );
+ $padnames->_clear_elem( $ix ) if $padnames;
$_ and $_->_clear_elem( $ix ) for @pads;
}
}