Platform-specific (MacOS 'El Capitan') failure in S32-list/pick.t #3470
Labels
BLOCKER
Preventing the next release of rakudo, or just needing attention before the release
regression
Issue did not exist previously
The Problem
On one platform (MacOS 'El Capitan') a test in S32-list/pick.t fails. Linux/Ubuntu works fine.
Actual Behavior
Error randomizing a big integer: Invalid error code
at SETTING::src/core.c/Range.pm6:488 (/Users/dhoekman/.rakudobrew/versions/moar-blead/install/share/perl6/runtime/CORE.c.setting.moarvm:roll)
Steps to Reproduce
my $v = 2; for (1..31) { is ([+|] ((^$v).pick for ^162)), $v - 1 ; $v +<= 1 }
Note that the original test is as below, but the limits used above show the exact iteration at which the failure occurs.
my $v = 2; for (1..259) { is ([+|] ((^$v).pick for ^200)), $v - 1 ; $v +<= 1 }
Environment
I'm seeing this only on an older MacOS ('El Capitan'):
Darwin Mac-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 x86_64
First noticed on:
Rakudo version 2020.01-76-ge1faa704e built on MoarVM version 2020.01.1-25-g9709537d9
It may be there's no easy fix (this is an older OS, with increasingly out-of-date libraries) but I report in case it illuminates other issues related .pick or
libtommath
. Direct tests on withlibtommath
package showed no errors.See Also
The test that's failing was added in response to an older issue:
Raku/old-issue-tracker#2633
The text was updated successfully, but these errors were encountered: