Bug#839218: nama: FTBFS: Failed 1/7 test programs. 0/91 subtests failed.Bad plan. You planned 126 tests but ran 57.
Balint Reczey
balint.reczey at canonical.com
Mon Mar 27 07:33:29 UTC 2017
Control: tags -1 patch
Hi Niko,
On Sun, Mar 26, 2017 at 8:23 PM, Niko Tyni <ntyni at debian.org> wrote:
> On Fri, Mar 24, 2017 at 11:30:11AM +0200, Niko Tyni wrote:
>
>> I'll also work a bit on reducing the test further when I find the time.
>
> I got it down to this:
>
> my $a = [ 0, 1 ];
> sub f {
> my $arg = shift;
> my @a1 = @$a;
> @$a = @a1;
> return();
> }
> map{ f($_) } @$a;
>
>
> This looks to me like an instance of the general stack-not-refcounted
> issue, see https://rt.perl.org/Public/Bug/Display.html?id=77706 et al.
>
> But let's see what upstream says, I'll follow up there as well.
Thanks!
Seeing that they confirmed that and the refcounting issue is rather old
I think it would be reasonable to apply a workaround in nama.
The attached patch made nama build in current unstable.
Cheers,
Balint
--
Balint Reczey
Debian & Ubuntu Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: workaround-perl-stack-not-refcounted-crash.patch
Type: text/x-patch
Size: 977 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20170327/d02c5af7/attachment.bin>
More information about the Perl-maintainers
mailing list