-
Notifications
You must be signed in to change notification settings - Fork 758
Closed
Description
Hey,
Similar assertion failure than #1413 but in another expression.
Assertion `sig_index < module_->types.size()' failed.
Related code (line 737
):
Lines 736 to 738 in e88bc66
Result BinaryReaderIR::OnReturnCallIndirectExpr(Index sig_index, Index table_index) { | |
assert(sig_index < module_->types.size()); | |
auto expr = MakeUnique<ReturnCallIndirectExpr>(); |
Reproducing
Download: assert_OnReturnCallIndirectExpr_wabt.zip
Run:
./bin/wasm2wat --enable-all assert_OnReturnCallIndirectExpr_wabt.wasm -o /dev/null
wasm2wat: /home/scop/Documents/wabt/src/binary-reader-ir.cc:737: virtual wabt::Result wabt::(anonymous namespace)::BinaryReaderIR::OnReturnCallIndirectExpr(wabt::Index, wabt::Index): Assertion `sig_index < module_->types.size()' failed.
[1] 13148 abort (core dumped) ./bin/wasm2wat --enable-all assert_OnReturnCallIndirectExpr_wabt.wasm -o
Metadata
Metadata
Assignees
Labels
No labels