On Sun Aug 28 20:09:29 2016, c...@zoffix.com wrote: > On occasion, I get this error when trying to run the bellow program on > a 32-core box: > > $ time RAKUDO_MAX_THREADS=40 perl6 foo.p6 > Cannot invoke this object (REPR: Null; VMNull) > in block <unit> at foo.p6 line 9 > > > sub what-is { > return $^num.is-prime ?? "$num is prime" !! "$num is not prime"; > } > > my @results; > for 3¹²³⁴⁵ … 3¹²³⁴⁵+127 -> $n { > @results.push: start what-is $n; > } > print await @results;
I've fiddled with it a bit, but had trouble getting this to blow on my much-less-core-endowed box. Guess I can leave it running in a loop while I take lunch or something... :-) Any chance you could: 1) Run it with `--ll-exception` 2) Stick a CATCH block in the sub that does `.backtrace.full.say` or similar, to see if we get any more details output there Thanks! /jnthn