-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Crash with Node.js v10.5.0 #21591
Comments
FWIW it doesn't crash for me on Linux with no special node parameters. |
Running this within the repl, I get a proper (if not extremely verbose) error. |
not sure if it helps, but here is my output: C:\>node
> (_=>_(_))(_=>eval(`(${_})(${_})`))
C:\>echo %ERRORLEVEL%
-1073741571
C:\> and same if run like |
For me, on Windows 7 x64, this crashes REPL with no errors on 06.14.3, 08.11.3, 10.5.0, last nightly and canary. |
|
I think it would be better if Node.js throws an error in case of stack owerflow (like browsers do) instead of terminating the process. |
this is fixed via #26832 . Closing, pls re-open if I am wrong |
Issue #26829 is unrelated (as explained in #26829 (comment)) and thus #26832 is also unrelated. I can confirm that this issue still reproduces (on master) on some platforms, including windows 8.1 The real issue is v8:8053. I reported it more than a year ago, they confirmed the issue, but still no updates. Note that the issue also reproduces in Chrome. |
thanks @Hakerh400 for the explanation. seeing the linked issue, and seeing that this is not happening in mac where I tested, I thought this is fixed. re-opening. |
Does not reproduce on master and in v14.0.0. If nobody can reproduce on master I think this can be closed. |
Thank you @Hakerh400, closing. |
Here is the bug I noticed today. This code
in Chrome throws
RangeError: Maximum call stack size exceeded
, in Firefox throwsInternalError: too much recursion
, but in Node.js crashes the process with no warnings or errors. Tried reducing max old space size and also tried reducing stack size, but the bug persists.sorry for bad english
The text was updated successfully, but these errors were encountered: