-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Inaccurate windows stacktrace printer #53361
Comments
For comparison, here's the same command on Linux (v22.2.0):
|
@nodejs/platform-windows |
Does it reproduce on older Node.js Windows releases? Maybe there was a regression? Or has it never really worked? |
I'd like to share an observation regarding the Node.js build process. When preparing for a release or running it in the CI, we always use the command However, it's important to note that this optimization may result in a more concise stack trace compared to builds created without the I've checked all the supported versions of Node.js (v18, v20, v22 and the v23-pre) and they all behave the same way. |
Yes, this can also reproduce on older Node.js releases, but with slightly different stack traces. I think it never really worked properly. |
Is there any resolution for this? From what I understand this is expected because of the |
I think we should disable windows stack trace printer if it is deemed to be inaccurate -- it is better to not provide incorrect information IMO. My local build with |
Version
v20.11.1
Platform
Microsoft Windows NT 10.0.19045.0 x64
Subsystem
debug util
What steps will reproduce the bug?
One line quick reproduction:
$ node --max-heap-size=10 -e 'var idx = 0; while (true) {global[idx++] = new Array(10_000_000) }'
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Expected stack trace:
What do you see instead?
Actual stack trace:
Additional information
Only reproducible on Windows release build downloaded from https://nodejs.org/download/ and https://nodejs.org/dist/. Local
.\vcbuild.bat
build can output correct stacktrace.This is not related to #50849 since that only released in
v20.12.0
. This problem can reproduce on v20.11.1 and previous versions./cc @joyeecheung
The text was updated successfully, but these errors were encountered: