wabt icon indicating copy to clipboard operation
wabt copied to clipboard

Two wasm2c tests are consistently failing on macos-latest "attempt to deallocate altstack while in use"

Open sbc100 opened this issue 3 months ago • 1 comments

This seems to have started happening on main at some point unrealted to specific wabt change.

It only seems to be happening on macos-latest.

The failing tests are the two different flavors of the exception-handling/throw.txt test.

+ test/wasm2c/spec/exception-handling/legacy/rethrow.txt (0.518s)
2207
- test/wasm2c/spec/exception-handling/legacy/throw.txt
2208
  expected error code 0, got 250.
2209
  STDERR MISMATCH:
2210
  --- expected
2211
  +++ actual
2212
  @@ -0,0 +1 @@
2213
  +Assertion failed: (!(ss.ss_flags & SS_ONSTACK) && "attempt to deallocate altstack while in use"), function os_disable_and_deallocate_altstack, file wasm-rt-impl.c, line 227.
2215
+ test/wasm2c/spec/exception-handling/legacy/try_catch.txt (0.600s)
2216
+ test/wasm2c/spec/exception-handling/legacy/try_delegate.txt (0.441s)
2217
+ test/wasm2c/spec/exception-handling/ref_null.txt (0.387s)
2218
+ test/wasm2c/spec/exception-handling/tag.txt (0.484s)
2219
- test/wasm2c/spec/exception-handling/throw.txt
2220
  expected error code 0, got 250.
2221
  STDERR MISMATCH:
2222
  --- expected
2223
  +++ actual
2224
  @@ -0,0 +1 @@
2225
  +Assertion failed: (!(ss.ss_flags & SS_ONSTACK) && "attempt to deallocate altstack while in use"), function os_disable_and_deallocate_altstack, file wasm-rt-impl.c, line 227.
2227
+ test/wasm2c/spec/exception-handling/throw_ref.txt (0.403s)
2228
+ test/wasm2c/spec/exception-handling/try_table.txt (0.622s)

sbc100 avatar Nov 02 '25 00:11 sbc100

@shravanrn any idea about this? @keithw ?

sbc100 avatar Nov 02 '25 00:11 sbc100