Comments (3)
https://github.com/dart-lang/wasm/runs/6082080368?check_suite_focus=true
Looks like this is a bug in a newer version of one of the internal wasmer libraries. Wasn't reproing on my machine because cargo was just happily using an older version of that lib.
thread '<unnamed>' panicked at 'range end index 3416 out of range for slice of length 3415', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wasmer-engine-universal-2.2.1/src/artifact.rs:169:38
stack backtrace:
0: rust_begin_unwind
at /rustc/7737e0b5c4103[21](https://github.com/dart-lang/wasm/runs/6082080368?check_suite_focus=true#step:7:21)6d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5
1: core::panicking::panic_fmt
at /rustc/7737e0b5c410[32](https://github.com/dart-lang/wasm/runs/6082080368?check_suite_focus=true#step:7:32)16d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14
2: core::slice::index::slice_end_index_len_fail
at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/slice/index.rs:43:5
3: wasmer_engine_universal::artifact::UniversalArtifact::deserialize
4: <wasmer_engine_universal::engine::UniversalEngine as wasmer_engine::engine::Engine>::deserialize
5: wasmer::sys::module::Module::deserialize
6: wasm_module_deserialize
7: <unknown>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
fatal runtime error: failed to initiate panic, error 5
from wasm.
Nope, that's not the issue. Cleared all my caches and updated everything, and it still passes on my machine
from wasm.
It's only the deserialization test that's failing. I've been planning to remove the serialization/deserialization feature, because the serialized format is not cross platform, which defeats the purpose (this is probably why CI is failing, because the serialized module was generated on my machine). This issue is a good catalyst to do that work.
from wasm.
Related Issues (20)
- WasmError: Missing import: function HOT 5
- Windows dart run wasm:setup fail HOT 1
- WasmError: This case is not (yet) supported. Please file an issue on pkg:wasm HOT 7
- Show wasm stack trace in exception thrown from wasm trap handler
- GitHub CI crash HOT 1
- Provide an explicit public API and hide internals from users. HOT 1
- NativeFinalizer HOT 7
- Multiprocessing use case. HOT 5
- flaky macos CI HOT 2
- Slow CI HOT 1
- Wasmer async module compilation.
- Investigate generating bindings. HOT 2
- [ux] WASI
- [bindgen] functions starting with an underscore HOT 1
- Example projects are not easy to run HOT 2
- No JIT on iOS HOT 1
- Dart bindings via javascript transpilation/execution.
- iOS support has some problems HOT 1
- run Wasm-wasm_demo in android studio. show. this error "NDK not install"
- intent to discontinue HOT 7
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 wasm.