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

This module crashes node when running on a worker thread #172

Open
alcuadrado opened this issue Aug 15, 2020 · 0 comments
Open

This module crashes node when running on a worker thread #172

alcuadrado opened this issue Aug 15, 2020 · 0 comments

Comments

@alcuadrado
Copy link

Hey,

We got a bug report in ethereumjs-util about it crashing node when requiring it in a worker thread.

I tried debugging it, but I don't know enough about node's C++ apis. It does seem to be related to this: https://stackoverflow.com/questions/62431517/fatal-error-in-v8handlescopecreatehandle-cannot-create-a-handle-without

You can reproduce it with this repository: https://github.com/APshenkin/ethereumjs-util-crash
Just install it and run node index.js. I was able to reproduce it in multiple versions of node, but sometimes it just doesn't crash. v12.18.2 does seem to crash deterministically though. Not sure if this changes anything, but I'm on macos.

I suspect that this issue may also be present in keccak, but couldn't produce it there.

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

No branches or pull requests

2 participants