We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Setup a node instance,
» node
and run the following javascript code.
fs.chmod('', '32070617715522160000', (err)=>{})
Then the node instance crashes.
This abort can always be triggered following the steps above.
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.
» node Welcome to Node.js v14.15.1. Type ".help" for more information. > fs.chmod('', '32070617715522160000', (err)=>{}) node[2623846]: ../src/node_file.cc:2119:void node::fs::Chmod(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsInt32()' failed. 1: 0xa03530 node::Abort() [node] 2: 0xa035ae [node] 3: 0xa0e83a [node] 4: 0xbe369b [node] 5: 0xbe4c46 [node] 6: 0xbe52c6 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [node] 7: 0x13ff259 [node] [1] 2623846 abort node
The text was updated successfully, but these errors were encountered:
Related #38004
Sorry, something went wrong.
Duplicate of #37995.
No branches or pull requests
What steps will reproduce the bug?
Setup a node instance,
and run the following javascript code.
Then the node instance crashes.
How often does it reproduce? Is there a required condition?
This abort 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: