Skip to content

vmenge/napi-segfault

Repository files navigation

About

Repo trying to reproduce following issues I've encountered with napi-rs:

  • SIGSEV error
  • SIGABRT 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

Running the project

  • Install dependencies yarn install
  • Build project yarn build
  • Run faulty project ts-node use_after_free.ts
  • Run working project ts-node fine.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published