Repo trying to reproduce following issues I've encountered with napi-rs
:
SIGSEV
errorSIGABRT
error- Threadsafe Function aborting lock with
PoisonError
thread 'tokio-runtime-worker' panicked at 'Threadsafe Function aborted lock failed: PoisonError { .. }', /home/vmenge/.cargo/registry/src/github.com-1ecc6299db9ec823/napi-2.12.5/src/threadsafe_function.rs:123:8
- Install dependencies
yarn install
- Build project
yarn build
- Run faulty project
ts-node use_after_free.ts
- Run working project
ts-node fine.ts