Skip to content

Instantly share code, notes, and snippets.

@softmoth
Created August 30, 2015 23:05
Show Gist options
  • Save softmoth/edc6b60c1b787e0f9b33 to your computer and use it in GitHub Desktop.
Save softmoth/edc6b60c1b787e0f9b33 to your computer and use it in GitHub Desktop.
perl6-m segfault with start { ... rm_rf } combo
#! /usr/bin/env perl6
use Shell::Command;
constant $top = './tmp/junk';
sub MAIN (:$workers = 5, :$levels = '20, 3, 5', Bool :$force = False, Bool :$create-only = False) {
create-junk($levels.comb(/\d+/)) if $force or not $top.IO.d;
remove-junk($workers) unless $create-only;
note "# DONE";
}
sub remove-junk($num-workers) {
my @work = $top.IO.dir.pairs.classify({.key % $num-workers}).values».value;
my @threads;
for @work.kv -> $worker, $work {
@threads.push: start {
do-work($worker, $work);
}
}
note "# WORKERS STARTED";
dd $_ for @threads;
note "# WAITING FOR WORKERS";
dd await @threads;
note "# THREADS AT END";
dd $_ for @threads;
rmdir $top;
sub do-work($id, @jobs) {
for @jobs -> $job {
note "#$id $job";
#sleep 0.5.rand;
rm_rf $job;
CATCH { default { note "#$id Error $_" } }
}
return "DONE: $id";
}
}
sub create-junk (@levels) {
if $top.IO.d {
note "Removing existing junk '$top'";
# Too slow
#rm_rf $top;
run(<<rm -rf $top>>);
note "... done.";
}
note "Creating junk with {[*] @levels} files (this may take a while)";
mkdir $top;
flesh-out($top, @levels);
#use File::Find; use Test;
#is +find(:dir($top), :type<file>), ([*] @levels), "Made {[*] @levels} files";
sub flesh-out($dir, [$size, *@levels]) {
#dd $size, @levels;
if @levels > 0 {
note "# $dir/..." if @levels == 1;
for ^$size {
my $name = $*SPEC.catfile($dir, $_);
mkdir $name;
flesh-out($name, @levels);
}
}
else {
for ^$size {
my $name = $*SPEC.catfile($dir, $_);
my @cmd = «dd if=/dev/random "of=$name" bs=1024 count=4»;
#dd @cmd;
my $proc = run(@cmd, :!err)
or die "dd $name failed! $!";
#note "#DEBUG FILE $name";
}
}
}
}
tsmith@ganesha:~/local/src/p6/tmp/doc/export-ecosystem (master *%>)
[17:04:09] &1 $ perl6 --version
This is perl6 version 2015.07.1-169-g30d6fe7 built on MoarVM version 2015.07-68-g3240047
tsmith@ganesha:~/local/src/p6/tmp/doc/export-ecosystem (master *%>)
[16:37:03] &1 $ time ./chdir-segfault --force --create-only
Removing existing junk './tmp/junk'
... done.
Creating junk with 300 files (this may take a while)
# tmp/junk/0/...
# tmp/junk/1/...
# tmp/junk/2/...
# tmp/junk/3/...
# tmp/junk/4/...
# tmp/junk/5/...
# tmp/junk/6/...
# tmp/junk/7/...
# tmp/junk/8/...
# tmp/junk/9/...
# tmp/junk/10/...
# tmp/junk/11/...
# tmp/junk/12/...
# tmp/junk/13/...
# tmp/junk/14/...
# tmp/junk/15/...
# tmp/junk/16/...
# tmp/junk/17/...
# tmp/junk/18/...
# tmp/junk/19/...
# DONE
real 0m4.818s
user 0m3.186s
sys 0m1.601s
tsmith@ganesha:~/local/src/p6/tmp/doc/export-ecosystem (master *%>)
[16:37:19] &1 $ time ./chdir-segfault --workers=2
# WORKERS STARTED#0 tmp/junk/1
#1 tmp/junk/0
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
# WAITING FOR WORKERS
#1 tmp/junk/10
#0 tmp/junk/11
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/10': chdir failed: no such file or directory
#1 tmp/junk/12
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/11': chdir failed: no such file or directory
#0 tmp/junk/13
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/12': chdir failed: no such file or directory
#1 tmp/junk/14
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/13': chdir failed: no such file or directory
#0 tmp/junk/15
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/14': chdir failed: no such file or directory
#1 tmp/junk/16
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/15': chdir failed: no such file or directory
#0 tmp/junk/17
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/16': chdir failed: no such file or directory
#1 tmp/junk/18
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/17': chdir failed: no such file or directory
#0 tmp/junk/19
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/18': chdir failed: no such file or directory
#1 tmp/junk/2
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/19': chdir failed: no such file or directory
#0 tmp/junk/3
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/2': chdir failed: no such file or directory
#1 tmp/junk/4
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/3': chdir failed: no such file or directory
#0 tmp/junk/5
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/4': chdir failed: no such file or directory
#1 tmp/junk/6
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/5': chdir failed: no such file or directory
#0 tmp/junk/7
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/6': chdir failed: no such file or directory
#1 tmp/junk/8
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/7': chdir failed: no such file or directory
#0 tmp/junk/9
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/8': chdir failed: no such file or directory
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/9': chdir failed: no such file or directory
("DONE: 0", "DONE: 1")
# THREADS AT END
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
# DONE
real 0m1.536s
user 0m1.774s
sys 0m0.129s
tsmith@ganesha:~/local/src/p6/tmp/doc/export-ecosystem (master *%>)
[16:37:32] &1 $ time ./chdir-segfault --workers=2
# WORKERS STARTED
#0 tmp/junk/11
#1 tmp/junk/10
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
# WAITING FOR WORKERS
#0 tmp/junk/13#1 tmp/junk/12
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/12': chdir failed: no such file or directory#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/13': chdir failed: no such file or directory
#0 tmp/junk/15
#1 tmp/junk/14
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/15': chdir failed: no such file or directory
#0 tmp/junk/17
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/14': chdir failed: no such file or directory
#1 tmp/junk/16
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/17': chdir failed: no such file or directory
#0 tmp/junk/19
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/16': chdir failed: no such file or directory
#1 tmp/junk/18
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/19': chdir failed: no such file or directory
#0 tmp/junk/3
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/18': chdir failed: no such file or directory
#1 tmp/junk/2
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/3': chdir failed: no such file or directory
#0 tmp/junk/5
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/2': chdir failed: no such file or directory
#1 tmp/junk/4
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/5': chdir failed: no such file or directory
#0 tmp/junk/7
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/4': chdir failed: no such file or directory
#1 tmp/junk/6
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/7': chdir failed: no such file or directory
#0 tmp/junk/9
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/6': chdir failed: no such file or directory
#1 tmp/junk/8
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/9': chdir failed: no such file or directory
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/8': chdir failed: no such file or directory
("DONE: 0", "DONE: 1")
# THREADS AT END
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
# DONE
real 0m1.507s
user 0m1.738s
sys 0m0.132s
tsmith@ganesha:~/local/src/p6/tmp/doc/export-ecosystem (master *%>)
[16:37:35] &1 $ time ./chdir-segfault --workers=2
# WORKERS STARTED#0 tmp/junk/13
#1 tmp/junk/12
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
# WAITING FOR WORKERS
#1 tmp/junk/14
#0 tmp/junk/15
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/14': chdir failed: no such file or directory
#1 tmp/junk/16
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/15': chdir failed: no such file or directory
#0 tmp/junk/17
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/16': chdir failed: no such file or directory
#1 tmp/junk/18
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/17': chdir failed: no such file or directory
#0 tmp/junk/19
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/18': chdir failed: no such file or directory
#1 tmp/junk/2
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/19': chdir failed: no such file or directory
#0 tmp/junk/3
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/2': chdir failed: no such file or directory
#1 tmp/junk/4
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/3': chdir failed: no such file or directory
#0 tmp/junk/5
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/4': chdir failed: no such file or directory
#1 tmp/junk/6
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/5': chdir failed: no such file or directory
#0 tmp/junk/7
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/6': chdir failed: no such file or directory
#1 tmp/junk/8
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/7': chdir failed: no such file or directory
#0 tmp/junk/9
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/8': chdir failed: no such file or directory
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/9': chdir failed: no such file or directory
("DONE: 0", "DONE: 1")
# THREADS AT END
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
# DONE
real 0m1.460s
user 0m1.668s
sys 0m0.121s
tsmith@ganesha:~/local/src/p6/tmp/doc/export-ecosystem (master *%>)
[16:37:39] &1 $ time ./chdir-segfault --workers=2
# WORKERS STARTED
#0 tmp/junk/15
#1 tmp/junk/14
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
# WAITING FOR WORKERS
#0 tmp/junk/17
#1 tmp/junk/16
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/17': chdir failed: no such file or directory
#0 tmp/junk/19
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/16': chdir failed: no such file or directory
#1 tmp/junk/18
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/19': chdir failed: no such file or directory
#0 tmp/junk/3
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/18': chdir failed: no such file or directory
#1 tmp/junk/2
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/3': chdir failed: no such file or directory
#0 tmp/junk/5
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/2': chdir failed: no such file or directory
#1 tmp/junk/4
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/5': chdir failed: no such file or directory
#0 tmp/junk/7
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/4': chdir failed: no such file or directory
#1 tmp/junk/6
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/7': chdir failed: no such file or directory
#0 tmp/junk/9
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/6': chdir failed: no such file or directory
#1 tmp/junk/8
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/9': chdir failed: no such file or directory
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/8': chdir failed: no such file or directory
("DONE: 0", "DONE: 1")
# THREADS AT END
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
# DONE
real 0m1.466s
user 0m1.680s
sys 0m0.122s
tsmith@ganesha:~/local/src/p6/tmp/doc/export-ecosystem (master *%>)
[16:37:44] &1 $ time ./chdir-segfault --workers=5
#0 tmp/junk/2
#1 tmp/junk/19
#2 tmp/junk/17
#3 tmp/junk/16
# WORKERS STARTED
#4 tmp/junk/18
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
# WAITING FOR WORKERS
#3 Error Cannot invoke this object (REPR: Null)
#3 tmp/junk/3
#4 tmp/junk/5
#1 tmp/junk/6
#2 tmp/junk/4
#4 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/5': chdir failed: no such file or directory
#0 tmp/junk/7
#1 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/6': chdir failed: no such file or directory
#2 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/4': chdir failed: no such file or directory
#2 tmp/junk/9
#0 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/7': chdir failed: no such file or directory
#2 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/9': chdir failed: no such file or directory
#3 tmp/junk/8
#3 Error Failed to get the directory contents of '/Users/tsmith/local/src/p6/tmp/doc/export-ecosystem/tmp/junk/8': chdir failed: no such file or directory
("DONE: 0", "DONE: 1", "DONE: 2", "DONE: 3", "DONE: 4")
# THREADS AT END
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Kept)
# DONE
real 0m2.146s
user 0m2.998s
sys 0m1.019s
tsmith@ganesha:~/local/src/p6/tmp/doc/export-ecosystem (master *%>)
[16:37:50] &1 $ time ./chdir-segfault --workers=5
#0 tmp/junk/7
#1 tmp/junk/6
#2 tmp/junk/4
#3 tmp/junk/16
# WORKERS STARTED
#4 tmp/junk/5
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
@threads = Promise.new(scheduler => ThreadPoolScheduler.new(initial_threads => 0, max_threads => 16, uncaught_handler => Callable), status => PromiseStatus::Planned)
# WAITING FOR WORKERS
moar(27870,0x10e147000) malloc: *** error for object 0x7fae023e58b0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
real 0m1.479s
user 0m1.118s
sys 0m0.103s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment