wabt icon indicating copy to clipboard operation
wabt copied to clipboard

wasm-interp: possible misexecution issue

Open yamt opened this issue 1 year ago • 2 comments

see https://github.com/yamt/toywasm/blob/424755e4210568ed112b155000c05d772b02e989/test/run-ffmpeg.sh#L18-L22

the same wasm binary works fine on other engines listed in https://github.com/yamt/toywasm/blob/424755e4210568ed112b155000c05d772b02e989/test/run-ffmpeg.sh#L4-L8

yamt avatar Nov 19 '22 05:11 yamt

It might be easier to debug this with a direct link to the Wasm module (apologies I couldn't find it easily from your link). interp-wasi.cc describes WASI support as "an experiment and currently extremely limited"; there may be a WASI call that needs to be supported or supported better in the interpreter.

keithw avatar Nov 19 '22 06:11 keithw

It might be easier to debug this with a direct link to the Wasm module (apologies I couldn't find it easily from your link).

https://assets.runno.dev/ffmpeg/ffmpeg.wasm

yamt avatar Nov 19 '22 07:11 yamt