Skip to content

Commit

Permalink
Merge pull request #572 from h2o/kazuho/fix-asan-crashes
Browse files Browse the repository at this point in the history
fix asan crashes
  • Loading branch information
kazuho authored Mar 14, 2024
2 parents 3336ce1 + 4c3fa98 commit 8d5bef5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion t/e2e.t
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8d5bef5

Please sign in to comment.