http.request crash nodejs 32 bit #42705
Replies: 6 comments 8 replies
-
From your description of the problem, it seems you've deduced it's a runtime error (and I concur, the stack trace makes it clear creating the connection fails.) I don't see anything that's actionable as a bug report for us. Do you want me to convert it to a discussion? |
Beta Was this translation helpful? Give feedback.
-
Yes please |
Beta Was this translation helpful? Give feedback.
-
Does anyone have an idea of how to reproduce the same error? |
Beta Was this translation helpful? Give feedback.
-
I can't really help you reproduce it, but I did observe what looks like the same thing. Running a node application on a windows Azure ASP, I'd see relatively frequent crashes in node 16.13.0. If I attached remotely to the process, the exit code was 0xc0000409 ( STATUS_STACK_BUFFER_OVERRUN, although that can apparently mean many things.) I didn't get to the point of pulling out more information about the crashes; running on Azure made this tricky. I could reproduce in node 14, but not with node 12. I was never able to reproduce it on a locally running node instance with the same traffic. On Azure it crashed perhaps 1 out of a few hundred requests when under load; it seemed to matter how many outbound HTTP requests the app was making per inbound request, which kind of matches the cause indicated here. (That is, I'd disable the application from making certain http calls, and the crash rate seemed to decrease.) We switched to the 64 bit version of node and things seem to have dramatically improved -- we have no particular need to run on the 32 bit version. Once I realized that, I was able to locate this issue/discussion. Sorry I can't add much more detail, but hopefully this at least confirms others see the crash. |
Beta Was this translation helpful? Give feedback.
-
Reviving this discussion, as we have seen this same crash in our application intermittently several times, using 32-bit Node v18.16.1 on Windows. I have been able to reproduce it using just a simple Javascript program that loops on I do have multiple crash dump files, only one of which is from just the simple JS program. Crash dumps are too big to upload, but I can find a way to share if someone wants it. Here is what I have learned so far:
I am willing to keep trying to discover more, but I would really like suggestions about how to make it more reproducible based on what I have so far. Thanks. |
Beta Was this translation helpful? Give feedback.
-
FYI -- Like everyone else who has encountered this problem, we have worked around it. We moved the functionality we were using |
Beta Was this translation helpful? Give feedback.
-
Version
14.17.0 32 bit in this debug , But it happens with
Platform
Microsoft Windows NT 10.0.19042.0 x64
Subsystem
No response
What steps will reproduce the bug?
We have servers forward request to the back-end side that worked through http .
Some requests are repeated every 10 to 20 seconds and All requests are localhost .
What this means is that the node works as a proxy at a high level(Application layer).
What happens in particular is that the nodejs CRASH without any message error, even though we followed the rules for the wrong documentation.
After following we put nodejs through WinDbg or qt creator.
This error has been thrown.
handle->delayed_error = 25701
err = 1
Note that it does not happen continuously and we do not know when it will happen.
What i find here is that it is an error in winsock and we were unable to remedy the error, it may be useful to redirect the same error.
How often does it reproduce? Is there a required condition?
It happens randomly, the more servers you get, the more, i.e. 10 to 20%
no required condition ....
What is the expected behavior?
No response
What do you see instead?
....
Additional information
Beta Was this translation helpful? Give feedback.
All reactions