MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/tests/par_conj' /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/scripts/mmc --generate-dependencies --grade asm_fast.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS threads_hang > threads_hang.dep_err 2>&1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/tests/par_conj' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/tests/par_conj' /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/scripts/mmc --make-interface --grade asm_fast.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS threads_hang /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/scripts/mmc --compile-to-c --grade asm_fast.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS threads_hang > threads_hang.err 2>&1 /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/scripts/mgnuc --grade asm_fast.par.gc -- -c threads_hang.c -o threads_hang.o /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/scripts/mgnuc --grade asm_fast.par.gc -- -c threads_hang_init.c -o threads_hang_init.o /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/scripts/ml --grade asm_fast.par.gc --no-mercury-stdlib-dir --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/browser/mer_browser.init --trace-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/mdbcomp/mer_mdbcomp.init --ssdb-init-file /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/ssdb/mer_ssdb.init -- -o threads_hang threads_hang_init.o \ threads_hang.o \ /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/trace/libmer_trace.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/trace/libmer_eventspec.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/ssdb/libmer_ssdb.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/browser/libmer_browser.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/mdbcomp/libmer_mdbcomp.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/library/libmer_std.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/runtime/libmer_rt.a /mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/stage2/boehm_gc/libpar_gc.a for i in 1 2 3 4 5 6 7 8 9 10 ; do \ MERCURY_OPTIONS=-P10 ./threads_hang 2>&1 > threads_hang.out ||\ { echo 'failed' > threads_hang.out; break; } \ done *** Mercury runtime: caught segmentation violation *** cause: address not mapped to object PC at signal: 93850974851684 (555b62049264) address involved: (nil) This may have been caused by a stack overflow, due to unbounded recursion. exiting from signal handler Segmentation fault (core dumped) Comparing threads_hang.out with threads_hang.exp*, results in threads_hang.res ** threads_hang.out did not match the expected output ** (closest match was threads_hang.res1) --- threads_hang.exp 2020-10-11 14:28:49.000000000 +1100 +++ threads_hang.out 2023-07-15 11:31:17.894001569 +1000 @@ -1,2 +1 @@ -21 -13 +failed make[3]: *** [../Mmake.common:138: threads_hang.res] Error 1 make[3]: Target 'threads_hang.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2023-07-14/tests/par_conj'