-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
worker_threads.moveMessagePortToContext
results in an abort
#38499
Labels
c++
Issues and PRs that require attention from people who are familiar with C++.
confirmed-bug
Issues with confirmed bugs.
good first issue
Issues that are suitable for first-time contributors.
worker
Issues and PRs related to Worker support.
Comments
addaleax
added
worker
Issues and PRs related to Worker support.
c++
Issues and PRs that require attention from people who are familiar with C++.
confirmed-bug
Issues with confirmed bugs.
good first issue
Issues that are suitable for first-time contributors.
labels
May 1, 2021
This is the invalid Line 1068 in c975dff
Fwiw, this is happening because MessagePorts, like all libuv handles, close asynchronously. Wrapping the crashing call in a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
c++
Issues and PRs that require attention from people who are familiar with C++.
confirmed-bug
Issues with confirmed bugs.
good first issue
Issues that are suitable for first-time contributors.
worker
Issues and PRs related to Worker support.
What steps will reproduce the bug?
Setup a node instance,
and run the following javascript code line by line.
Then an abort occurs.
Noticed that paste these codes to REPL all at once seems cannot trigger this abort. Run these codes line by line pls.
How often does it reproduce? Is there a required condition?
This problem can always be triggered following the steps above.
What is the expected behavior?
If any error occurs, an exception or other similar error-reporting stuff should be thrown. There is no reason to abort the whole node process.
What do you see instead?
Additional information
The text was updated successfully, but these errors were encountered: