Comments (3)
The crash occurs due to an out of bounds check here https://github.com/Veykril/wasm3-rs/blob/cb7e54aa4be74afb0beb1792aa7f66138cf10fc4/src/function.rs#L113. Its not specific to f64 but to having more than 3 arguments. 1291c06 should hopefully fix it, let me know if it does.
from wasm3-rs.
That worked, thanks! I was way off on the cause of the bug, apologies for that.
from wasm3-rs.
No problem .It fortunately was a panic in rust and not a crash on the cpp side so by recreating your snippet it was quick to find.
from wasm3-rs.
Related Issues (20)
- Module find_function is producing an opaque Wasm3Error HOT 10
- use-32bit-slots feature is broken HOT 2
- expose a wasm3 runtime's `memoryLimit` HOT 3
- doesn't compile HOT 4
- Replace the Runtime references in Module and Function HOT 1
- CallContext should be branded with a lifetime HOT 1
- Can't compile with build-bindgen HOT 16
- Support wasm3 compile flags HOT 3
- wasm3 support for arm64 (Apple Silicon, M1) HOT 11
- Update Wasm3, make use of exciting new API HOT 1
- `ParsedModule` API is unsound HOT 3
- Bindgen version used by wasm3-sys on crates.io doesn't match the source code HOT 3
- Multi-Value Return Types HOT 2
- why is there a inner pointer error?
- Unable to generate bindings HOT 3
- Example for string/vec u8 transfer HOT 3
- Please publish v0.5.0 to crates.io
- How to call host functions in wasm3 rust api? HOT 1
- ESP32-C3 Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasm3-rs.