Skip to content

Commit

Permalink
Check if problem is a busy-loop scheduling nightmare
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Oct 16, 2024
1 parent 59edd40 commit 5ee2ba2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test-msys2-ucrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,12 @@ jobs:
EOT
sleep 5s
if ps -p $test_pid > /dev/null; then
echo "asyncappender is deadlocked!!"
kill $test_pid
echo "asyncappender is still active"
gdb $test_exe --pid=$test_winpid <<EOT
info threads
thread apply all backtrace
EOT
#kill $test_pid
break
else
echo "asyncappender terminated OK"
Expand Down

0 comments on commit 5ee2ba2

Please sign in to comment.