-
Notifications
You must be signed in to change notification settings - Fork 44
malloc error on shutdown #53
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
Comments
Thanks for reporting the crash. I can reproduce in my environment (Catalina, node v16) but not in CI. Strange |
It fails on linux (4.14, x86) as well.
|
I was able to reproduce this issue in node v14.5.0 - v14.7.0 (latest). I was not able to reproduce this issue before node v14.5.0. In the short-term, @samizdatco try downgrading to v14.4.0. Until then, I will investigate further.
|
I might have found a solution after reading through the napi_wrap documentation. #55 adds a See notes at the bottom of the
Here is the resulting run for the
Still new to N-API, so any feedback is much appreciated. |
Please try again by doing |
When running the
class-simple
example from the current repo all the tests pass but then the script crashes at the end (presumably when the bound object is deallocated):The text was updated successfully, but these errors were encountered: