-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
SIGILL when using abort-on-uncaught-exception #14060
Comments
Ah, right. This isn’t a new thing then, is it? It seems V8 has aborted like this since at least Node 0.12. |
I think so. I checked 200 commits back and it happened before that. |
/cc @nodejs/v8 |
what happens if you run it with |
@targos then it exits with |
This is setup here: Line 75 in bec3877
We can use Isolate::SetAbortOnUncaughtExceptionCallback to change the behavior.The default is here: Lines 1114 to 1121 in 2db2857
|
Does anyone care enough about this issue to make the necessary changes or should we just close it out? |
Since no one replied I'll go ahead and close out the issue, reopen if that's a mistake. :-) (But note that to reopen is to volunteer.) |
Sorry, this has actually been fixed in #13985, I think |
test case:
When using
--abort-on-uncaught-exception
and an error throws, the process should exit withSIGABRT
instead it exists withSIGILL
(illegal instruction). When usingprocess.abort()
directly the process exits withSIGABRT
as it should.This is the abort message:
The text was updated successfully, but these errors were encountered: