Compare commits

...

2 commits

Author SHA1 Message Date
5b077a8581
fix: update thespian to fix subprocess file descriptor race
Thespian uses asio which was double closing stdout and stderr file descriptors
of subprocesses.

closes #240
2025-04-30 16:09:17 +02:00
8211be2754
build: add strace output to test_race.sh script 2025-04-30 14:57:09 +02:00
2 changed files with 7 additions and 3 deletions

View file

@ -15,8 +15,8 @@
.hash = "dizzy-1.0.0-AAAAAM1wAAAiDbx_6RwcVEOBk8p2XOu8t9WPNc3K7kBK", .hash = "dizzy-1.0.0-AAAAAM1wAAAiDbx_6RwcVEOBk8p2XOu8t9WPNc3K7kBK",
}, },
.thespian = .{ .thespian = .{
.url = "https://github.com/neurocyte/thespian/archive/42a98a44e7590fd6e952b75523e5c0f4fa0e6c97.tar.gz", .url = "https://github.com/neurocyte/thespian/archive/a7b2354ad2fbe9d2b3629a455f2e823b463c18eb.tar.gz",
.hash = "thespian-0.0.1-owFOjnUTBgBUlBtQ-SbN_6S7bXE6e2mKmCgk4A-RGBMA", .hash = "thespian-0.0.1-owFOjosTBgAgvY4TcT_xI30QsbU8cE_tAUu_HoxoTjMV",
}, },
.themes = .{ .themes = .{
.url = "https://github.com/neurocyte/flow-themes/releases/download/master-ac2e3fe2df3419b71276f86fa9c45fd39d668f23/flow-themes.tar.gz", .url = "https://github.com/neurocyte/flow-themes/releases/download/master-ac2e3fe2df3419b71276f86fa9c45fd39d668f23/flow-themes.tar.gz",

View file

@ -9,5 +9,9 @@ fi
for i in {1..60}; do for i in {1..60}; do
echo "running $i ..." echo "running $i ..."
flow --exec quit "$@" || exit 1 # flow --exec quit "$@" || exit 1
strace -f -t \
-e trace=open,openat,close,socket,pipe,pipe2,dup,dup2,dup3,fcntl,accept,accept4,epoll_create,epoll_create1,eventfd,timerfd_create,signalfd,execve,fork \
-o trace.log \
flow --exec quit --trace-level 9 "$@"
done done