From e6ba12785f2e3cbc5921dd672c9c4c1d344371cc Mon Sep 17 00:00:00 2001 From: Kazuho Oku Date: Thu, 14 Mar 2024 13:24:04 +0900 Subject: [PATCH 1/2] report the cause --- t/e2e.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/e2e.t b/t/e2e.t index cf48ecb5..52faa4de 100755 --- a/t/e2e.t +++ b/t/e2e.t @@ -455,7 +455,7 @@ sub spawn_process { } while (`netstat -na` !~ /^udp.*\s(127\.0\.0\.1|0\.0\.0\.0|\*)[\.:]$listen_port\s/m) { if (waitpid($pid, WNOHANG) == $pid) { - die "failed to launch @{[$cmd->[0]]}"; + die "failed to launch @{[$cmd->[0]]}:$?"; } sleep 0.1; } From 4c3fa98c7781138fe7edb85b69dd352ad7822f22 Mon Sep 17 00:00:00 2001 From: Kazuho Oku Date: Thu, 14 Mar 2024 13:31:44 +0900 Subject: [PATCH 2/2] otherwise asan crashes --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09da9fad..aa74d9d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,10 @@ jobs: - uses: actions/checkout@v2 with: submodules: recursive + - name: setup + run: | + sudo sysctl -w vm.mmap_rnd_bits=28 # new default is 32 that causes libasan crashes + - name: Run with Docker shell: 'script -q -e -c "bash -xe {0}"' run: |