Coder Social home page Coder Social logo

omp-wasi-parallel's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

omp-wasi-parallel's Issues

wasmtime crashes when worker has a function call

$ wasmtime --wasi-modules experimental-wasi-parallel omp-hello.wasm 4
thread '<unnamed>' panicked at 'kernel failed: wasm trap: call stack exhausted
wasm backtrace:
    0: 0xffffffff - <unknown>!wasi_unwrapper
', crates/wasi-parallel/src/device/cpu.rs:66:49
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'kernel failed: wasm trap: call stack exhausted
wasm backtrace:
    0: 0xffffffff - <unknown>!wasi_unwrapper
', crates/wasi-parallel/src/device/cpu.rs:66:49
thread '<unnamed>' panicked at 'kernel failed: wasm trap: call stack exhausted
wasm backtrace:
    0: 0xffffffff - <unknown>!wasi_unwrapper
', crates/wasi-parallel/src/device/cpu.rs:66:49
thread '<unnamed>' panicked at 'kernel failed: wasm trap: call stack exhausted
wasm backtrace:
    0: 0xffffffff - <unknown>!wasi_unwrapper
', crates/wasi-parallel/src/device/cpu.rs:66:49
thread 'main' panicked at 'Thread pool worker panicked', /home/ppenzin/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs:236:13

In case of this repo it happens when any calls are added to wasi_unwrapper, which serves as a worker function. The same can also be reproduced by adding a function call to the worker function in any of the existing examples (say, nstream_cpp.cpp).

CC @abrown @egalli

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.