# New Ticket Created by Geoffrey Broadwell # Please include the string: [perl #115390] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115390 >
I see a segfault or backtrace crash after a few iterations of: perl6 -e 'for 1..100 -> $i { say $i; run "true"; 1; }' See https://gist.github.com/3925501 for example output. It crashes in about half the iterations if the run() is not in sink context, as in: perl6 -e 'for 1..100 -> $i { say $i; my $error = run "true"; 1; }' However, if the run() is the last statement in the loop block, it survives even 1000 iterations: perl6 -e 'for 1..1000 -> $i { say $i; my $error = run "true"; }' -'f