-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Assertion `(write_req_.result) >= (0)' failed #40345
Comments
I'm not able to reproduce: $ node --trace-event-categories v8,node,node.async_hooks,node.promises.rejections
Welcome to Node.js v16.10.0.
Type ".help" for more information.
> The REPL opens as expected. Are you running some other code or some other options to get to the crash you described? |
Sorry I wansn't clear enough. That's the crash we get when we running our server app that has uncaught promise rejections with |
Confirmed. Crash occurs only with |
Any chance you would be able to share a code snippet that reproduces the issue? It's almost impossible to reliably fix the issue without a repro case. |
The issue is that we don't know ourselves what code is responsible. When we add
As you see |
Version
v16.10.0
Platform
Linux af87af56-9877-4f08-60c5-f271 5.4.0-84-generic #94~18.04.1-Ubuntu SMP Thu Aug 26 23:17:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
Running our server app with
node --trace-event-categories v8,node,node.async_hooks,node.promises.rejections
flags.How often does it reproduce? Is there a required condition?
When
node.promises.rejections
enabled, server crashes at least once per hour with this error.What is the expected behavior?
Printing promise rejection trace, when rejection occurs.
What do you see instead?
Node crashes
Additional information
No response
The text was updated successfully, but these errors were encountered: