-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minimodem binary works in wasmtime, doesn't work in wasmer #2904
Comments
I reproduced the issue, even with current wasmer (almost 3.0) code. I built a native version of minimodem also, and found that only the "rx" part is broken. The "tx" part seems to be working as intended. I'll continue my investigations. |
Ok, I found the issue. It was the |
6d08c88 does indeed fix it. Ty. |
3045: Fixed WASI fd_read syscall when reading multiple iovs and read is partial (for #2904) r=ptitSeb a=ptitSeb # Description Fixed an issue with WASI fd_read: when reading on multiple iovs, if a read is partial (so not all the wanted bytes are read), the function would still continue to try reading on subsequent iov (eventualy reading more bytes but not in the right place). Co-authored-by: ptitSeb <[email protected]>
This exact same issue reappeared ( I'll try to bisect it if I find the time. Should I also add a minimodem test case? It seems to be good at finding bugs. |
Ok, I tested with current master, and indeed it's borken. I'll try to digg in and see what is happening. |
Fixed Vectored IO when a partial operation occurs (help rx part of #2904)
The second part of the fix has been merged with #3741 |
Wow, fast. |
And it will be tested now, it's been added to snapshot tests. No more regressions :) |
Describe the bug
This wasm-wasi binary (compiled from here) works fine on wasmtime:
But bugs on wasmer
Steps to reproduce
Expected behavior
Shouldn't fail to decode audio
Actual behavior
Fails to decode audio
Additional context
The text was updated successfully, but these errors were encountered: