Skip to content

Two RTS assertion failures

When I use -DDEBUG on every invocation of GHC, including compiling the RTS, I get these two assertion failure in the test suite:

Stderr ( T16992 ):
T16992: internal error: ASSERTION FAILED: file rts/sm/Sanity.c, line 1134

    (GHC version 9.5.20220706 for x86_64_unknown_linux)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
Aborted
*** unexpected failure for T16992(compacting_gc)

and

Stderr ( T4221 ):
T4221: internal error: ASSERTION FAILED: file rts/adjustor/AdjustorPool.c, line 271

    (GHC version 9.5.20220706 for x86_64_unknown_linux)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
Aborted
*** unexpected failure for T4221(normal)

We should not get assertion failures in the RTS!

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information