You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
singlepass backend somehow emits instructions that can cause unexpected OOB in table access.
llvm and cranelift backend doesn't reproduce this issue. Also this issue has been introduced since 2.2.0-rc1
$ wasmer run --singlepass VarArgs.swift.wasmerror: failed to run `VarArgs.swift.wasm`│ 1: RuntimeError: undefined element: out of bounds table access╰─▶ 2: table_get_oob
Describe the bug
singlepass backend somehow emits instructions that can cause unexpected OOB in table access.
llvm and cranelift backend doesn't reproduce this issue. Also this issue has been introduced since 2.2.0-rc1
Steps to reproduce
VarArgs.swift.wasm.zip
$ wasmer run --singlepass VarArgs.swift.wasm
Expected behavior
Actual behavior
Additional context
This issue was found in SwiftWasm's CI: swiftwasm/swift#4203
The text was updated successfully, but these errors were encountered: