Skip to content

slow validate failure: CheckBoundCompareByteArray threaded

Reproduce with

hadrian/build test --freeze1  --docs=none --flavour=slow-validate --test-speed=slow --only="CheckBoundsCompareByteArray"
Stderr ( CheckBoundsCompareByteArray ):
CheckBoundsCompareByteArray: internal error: Encountered out of bounds array access.
Stack trace:
CheckBoundsCompareByteArray: Failed to get stack frames of current process: no matching address range: Invalid argument
                  0x7b72d2    set_initial_registers (rts/Libdw.c:294.5)
            0x7f6365ab1fa8    dwfl_thread_getframes (/nix/store/fqklswrymlx110vj0sfmpq77yj99paiz-elfutils-0.186/lib/libdw-0.186.so)
            0x7f6365ab1aeb    get_one_thread_cb (/nix/store/fqklswrymlx110vj0sfmpq77yj99paiz-elfutils-0.186/lib/libdw-0.186.so)
            0x7f6365ab1e12    dwfl_getthreads (/nix/store/fqklswrymlx110vj0sfmpq77yj99paiz-elfutils-0.186/lib/libdw-0.186.so)
            0x7f6365ab2357    dwfl_getthread_frames (/nix/store/fqklswrymlx110vj0sfmpq77yj99paiz-elfutils-0.186/lib/libdw-0.186.so)
                  0x7b7963    libdwGetBacktrace (rts/Libdw.c:265.5)
                  0x78099d    rtsFatalInternalErrorFn (rts/RtsMessages.c:176.22)
                  0x780b5a    barf (rts/RtsMessages.c:49.4)
                  0x780e60    (null) (/run/user/1000/ghctest-derda1up/test   spaces/testsuite/tests/codeGen/should_fail/CheckBoundsCompareByteArray.run/CheckBoundsCompareByteArray)
                  0x40db07    Main_main1_info (/run/user/1000/ghctest-derda1up/test   spaces/testsuite/tests/codeGen/should_fail/CheckBoundsCompareByteArray.run/CheckBoundsCompareByteArray)

    (GHC version 9.5.20220805 for x86_64_unknown_linux)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
*** unexpected failure for CheckBoundsCompareByteArray(threaded2)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information