You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/11/05 00:36:13 UTC

[GitHub] [incubator-tvm] kazum commented on issue #6816: [Rust][WASM] WASM runtime example is broken.

kazum commented on issue #6816:
URL: https://github.com/apache/incubator-tvm/issues/6816#issuecomment-722051783


   I encountered a different error with the latest main branch.
   ```
   $ wasmtime target/wasm32-wasi/debug/test-rt-wasm32.wasm
   Error: failed to run main module `target/wasm32-wasi/debug/test-rt-wasm32.wasm`
   
   Caused by:
       0: failed to invoke `_start`
       1: wasm trap: indirect call type mismatch
          wasm backtrace:
            0: 0x37569 - <unknown>!tvm_graph_rt::module::wrap_backend_packed_func::{{closure}}::hbee2f3ef4e32527e
            1: 0x1a36 - <unknown>!test_rt_wasm32::main::hbb4d387c03ac56d3
            2: 0xe06c - <unknown>!std::rt::lang_start::{{closure}}::h70a400566ab57956
            3: 0x92876 - <unknown>!std::sys_common::backtrace::__rust_begin_short_backtrace::h6103d9a4666ac834
            4: 0x9373e - <unknown>!std::rt::lang_start_internal::ha1eb439644c595a0
            5: 0xe01e - <unknown>!std::rt::lang_start::h230ba3b222020488
            6: 0x1bcd - <unknown>!__original_main
            7: 0x13ae - <unknown>!_start
          
   ```
   Anyway, I'll take a look.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org