ya0guang commented on issue #6816:
URL: https://github.com/apache/tvm/issues/6816#issuecomment-882666064


   I also encountered a similar problem when executing the WASM.
   
   trace:
   ```sh
   thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: wasm 
trap: indirect call type mismatch
   wasm backtrace:
       0: 0x926a7 - 
tvm_graph_rt::module::wrap_backend_packed_func::{{closure}}::hc41b54aab3cb76f6
                       at 
/home/ya0guang/Code/tvm/rust/tvm-graph-rt/src/module/mod.rs:49:25
       1: 0x31f95 - 
tvm_graph_rt::graph::GraphExecutor::setup_op_execs::{{closure}}::h796f856bdd94f006
                       at 
/home/ya0guang/Code/tvm/rust/tvm-graph-rt/src/graph.rs:311:17
       2: 0xc97ad - <alloc::boxed::Box<F,A> as 
core::ops::function::Fn<Args>>::call::hf5ca8f8ac2b01304
                       at 
/home/ya0guang/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:1560:9
       3: 0x9e858 - 
tvm_graph_rt::graph::GraphExecutor::run::{{closure}}::h64f3e6e6888bde03
                       at 
/home/ya0guang/Code/tvm/rust/tvm-graph-rt/src/graph.rs:204:13
       4: 0x83d82 - <core::slice::iter::Iter<T> as 
core::iter::traits::iterator::Iterator>::for_each::h71b18dc5ce1e6a4c
                       at 
/home/ya0guang/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/slice/iter/macros.rs:203:21
       5: 0x9e80e - tvm_graph_rt::graph::GraphExecutor::run::h2fd8fe0d78a2c3ff
                       at 
/home/ya0guang/Code/tvm/rust/tvm-graph-rt/src/graph.rs:203:9
       6: 0x2bb77 - run
                       at 
/home/ya0guang/Code/tvm/apps/wasm-standalone-mod/wasm-graph/src/lib.rs:86:5
   ', src/main.rs:84:22
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to