summary refs log tree commit diff
path: root/tests/substitute.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-05-26 00:14:29 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-26 11:41:05 +0200
commit98a6642298be6663b9d318b7dea46d1dba275839 (patch)
tree2e88f3d44c168bedc301833fff1f8219637d5ce0 /tests/substitute.scm
parentdcb7ce1eb6911f9d503e7cd2bfe380058cee956b (diff)
downloadguix-98a6642298be6663b9d318b7dea46d1dba275839.tar.gz
cuirass: Fork inferior processes before creating threads.
Works around <https://issues.guix.gnu.org/55441#12>.

Start from commit bd86bbd300474204878e927f6cd3f0defa1662a5,
'open-inferior' uses 'primitive-fork' instead of 'open-pipe*'.  As a
result, child process could potentially hang before calling 'execl' due
to undefined behavior when forking a multi-threaded process.

* build-aux/cuirass/evaluate.scm <top level>: Call 'open-inferior'
before 'n-par-for-each'.
Diffstat (limited to 'tests/substitute.scm')
0 files changed, 0 insertions, 0 deletions