Skip Menu |

This queue is for tickets about the Devel-MAT CPAN distribution.

Report information
The Basics
Id: 108463
Status: resolved
Priority: 0/
Queue: Devel-MAT

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

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



Subject: Breakage on 5.22 with threads
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 -- Paul Evans
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
Subject: rt108463.patch
=== 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; } }
Fixed by 0.22 -- Paul Evans