Describe the bug
I've been getting a process crash using vitest when using either bcrypt or argon2 (so I assume it's not a bug with either but something that vitest is doing).
libc++abi: terminating with uncaught exception of type Napi::Error
I assume it's an issue with tinypool? tinylibs/tinypool#48
Does vitest use multiples processes when threads are disabled?
Reproduction
I couldn't easily reproduce the issue. I believe it has something to do with multithreading and usage of native libraries like bcrypt or argon2.
System Info
System:
OS: macOS 12.3
CPU: (8) arm64 Apple M1
Memory: 111.63 MB / 16.00 GB
Shell: 5.8 - /opt/homebrew/bin/zsh
Binaries:
Node: 19.6.0 - ~/Library/Caches/fnm_multishells/72546_1678121779252/bin/node
npm: 9.4.0 - ~/Library/Caches/fnm_multishells/72546_1678121779252/bin/npm
Browsers:
Chrome: 110.0.5481.177
Safari: 15.4
Used Package Manager
npm
Validations
Describe the bug
I've been getting a process crash using vitest when using either bcrypt or argon2 (so I assume it's not a bug with either but something that vitest is doing).
I assume it's an issue with tinypool? tinylibs/tinypool#48
Does vitest use multiples processes when threads are disabled?
Reproduction
I couldn't easily reproduce the issue. I believe it has something to do with multithreading and usage of native libraries like bcrypt or argon2.
System Info
System: OS: macOS 12.3 CPU: (8) arm64 Apple M1 Memory: 111.63 MB / 16.00 GB Shell: 5.8 - /opt/homebrew/bin/zsh Binaries: Node: 19.6.0 - ~/Library/Caches/fnm_multishells/72546_1678121779252/bin/node npm: 9.4.0 - ~/Library/Caches/fnm_multishells/72546_1678121779252/bin/npm Browsers: Chrome: 110.0.5481.177 Safari: 15.4Used Package Manager
npm
Validations