Skip to content

"cabal exec hadrian" occasionally segfaults on aarch64

These are the 20 cases I have identified. Earliest is July 1 2022; latest is yesterday November 3 2022.

Running hadrian/build-cabal --flavour=validate -j8 --broken-test= --bignum=gmp test --test-root-dirs=testsuite/tests/stage1 --test-compiler=stage1 runtest.opts+=...
[...]
hadrian/build-cabal: line 36: 120399 Segmentation fault      (core dumped) "$CABAL" --project-file="$PROJ" new-exec "${CABFLAGS[@]}" hadrian -- --directory "$PWD" "$@"
hadrian/build-cabal --flavour=validate -j8 --broken-test= --bignum=gmp test --test-root-dirs=testsuite/tests/stage1 --test-compiler=stage1 runtest.opts+= failed
error: hadrian stage1 test

Is it cabal or hadrian that is segfaulting? I don't actually know based on that output.