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

Infinite loop on exit when using the shared backend in Node.js #65

Closed
mmomtchev opened this issue Jan 8, 2024 · 2 comments · Fixed by #68 · May be fixed by #67
Closed

Infinite loop on exit when using the shared backend in Node.js #65

mmomtchev opened this issue Jan 8, 2024 · 2 comments · Fixed by #68 · May be fixed by #67

Comments

@mmomtchev
Copy link
Owner

Starting from Node.js 18.18.0, calling worker.terminate() on a worker thread that has WASM code can lead to an infinite loop of processing and throwing exceptions in node::FreeEnvironmnent. The problem seems to appear only on Windows and macOS.

@mmomtchev
Copy link
Owner Author

Since this is mainly a browser project and the problem appears to be somewhere between Node.js - V8 - emscripten - projects to which I do not have access - because of the ongoing situation - this is staying in its current state

@mmomtchev
Copy link
Owner Author

This is a known issue in Node.js: nodejs/node#47748

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