Skip to content

Wasm backend testsuite failure: foundation

foundation fails on unreg+int_gmp with:

    Group Precedence
      Running + and - (1)
        Passed 100 iterations
      Running + and - (2)
        Passed 100 iterations
      Running + and * (1)
        Passed 100 iterations
      Running + and * (2)
        Passed 100 iterations
      Running - and * (1)
        Passed 100 iterations
      Running - and * (2)
        Passed 100 iterations
      Running * and ^ (1)
Error: failed to run main module `foundation.wasm`

Caused by:
    0: failed to invoke command default
    1: error while executing at wasm backtrace:
           0: 0x1667db - <unknown>!__gmpn_toom6h_mul
           1: 0x144b02 - <unknown>!__gmpn_mul_n
           2: 0x162f1f - <unknown>!__gmpn_toom53_mul
           3: 0x11fb0c - <unknown>!__gmpn_mul
           4: 0x11f3c8 - <unknown>!__gmpn_mul
           5: 0x18aa4d - <unknown>!_blk_c65B
           6: 0x1d1f13 - <unknown>!StgRun
           7: 0x1b2544 - <unknown>!scheduleWaitThread
           8: 0x1a7c27 - <unknown>!rts_evalLazyIO
           9: 0x1a7dbf - <unknown>!hs_main
          10: 0x2099d - <unknown>!main
          11: 0x1f76f1 - <unknown>!__main_void
          12: 0x90d1 - <unknown>!_start
    2: wasm trap: out of bounds memory access

On unreg+int_native, it passes, but the steps Running * and ^ (1)/Running * and ^ (2) still take pretty long time, around 2m40s for wasmtime.

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