-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
v8 crashes hard when setting property remoteAddress on wrapped TLS socket #8854
Comments
/cc @indutny |
I also get the same
Which seems very much like it should throw an error in JS, not in V8. Sidenote: For reference, this is where the remote address is, if anyone needs it:
|
@nodejs/crypto |
I've tested in node v9.11.1 and this is still an issue. If you'd like to get some ssl certs to test with you can click-click-next through the process here: https://greenlock.ppl.family/ |
@coolaj86 Would it be easy enough to test with 10.0.0? (9.x goes EOL in a couple months, but 10.x will be supported for another 2.5 years.) |
Yep, still a problem in 10.0.0
|
This bug needs a test case with a high goldilocks factor to trigger but the synopsis is that `v8::TryCatch::Message()` returns an empty handle when the TryCatch is declared at a time when an exception is already pending. We now recompute the message inside `node::ReportException()` and all is well again. Fixes: nodejs#8854
This bug needs a test case with a high goldilocks factor to trigger but the synopsis is that `v8::TryCatch::Message()` returns an empty handle when the TryCatch is declared at a time when an exception is already pending. We now recompute the message inside `node::ReportException()` and all is well again. PR-URL: #20708 Fixes: #8854 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
When assigning
remoteAddress
to atlsSocket
that is created from aDuplex
, node crashes hard.I discovered this as part of the workaround for #8752
crash.js
:It may be possible to slim this down a little further and still get it to crash if #8752 gets fixed... except that the
remoteAddress
property would probably show up as expected and then I wouldn't be trying to write to it in the first place...The text was updated successfully, but these errors were encountered: