Last active
July 8, 2017 15:54
-
-
Save dogbert17/0b0baed4ac8aaf762a3e26f8c74110f1 to your computer and use it in GitHub Desktop.
Fails with ASAN barfage when run normally but works with MVM_SPESH_DISABLE=1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use nqp; | |
{ | |
constant $read-file = "t/spec/packages/README".IO; | |
$read-file.IO.r; | |
for ^80 { | |
my $p = Proc::Async.new( | «/bin/cat $read-file» ); | |
my $output = ''; | |
$p.stdout.tap: -> $s { $output ~= $s; }; | |
await $p.start; | |
nqp::force_gc(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment