Code Monkey home page Code Monkey logo

Comments (3)

liamappelbe avatar liamappelbe commented on May 28, 2024

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.

liamappelbe avatar liamappelbe commented on May 28, 2024

Nope, that's not the issue. Cleared all my caches and updated everything, and it still passes on my machine

from wasm.

liamappelbe avatar liamappelbe commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.