Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfaults on Node.js 14.9.0 and later #99

Open
justablob opened this issue Oct 22, 2020 · 2 comments
Open

Segfaults on Node.js 14.9.0 and later #99

justablob opened this issue Oct 22, 2020 · 2 comments

Comments

@justablob
Copy link

justablob commented Oct 22, 2020

While testing some code, I noticed that Node 14.9.0 and newer cause segfaults to often occur while loading a library. All versions up to and including 14.8.0 work without any issues. It seems like the segfaults are more likely to happen the more modules are require'd, so my uneducated guess would be that this is GC-related.

For reference, here's my code: https://github.com/justablob/node-liboqs-ffi
Here's a segfault trace (created using node-segfault-handler): https://ghostbin.co/paste/zhtov5

Versions:
Nodejs 14.9.0
ffi-napi 3.0.1
ref-napi 3.0.1
Windows 10 Pro 19041.572
cl 19.27.29111
Python 3.8.3

@justablob justablob changed the title Segfaults on Node.js 14.9.0 and later. Segfaults on Node.js 14.9.0 and later Oct 22, 2020
@splitice
Copy link

Likely duplicate of #97

@justablob
Copy link
Author

Likely, although I think my issue is more general? You think I should close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants