-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Segfault when taking heap snapshot with inspector session [Node v16, v18] #44634
Comments
I can reproduce it on MacOS. It seems the crash is triggered by |
Known issue, it's mentioned in |
This is not related to the startup snapshot. I'm untagging it with
snapshot
|
PR-URL: #46354 Refs: #44634 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #46354 Refs: #44634 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #46354 Refs: #44634 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #46354 Refs: #44634 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
PR-URL: #46354 Refs: #44634 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Version
v16.17.0
Platform
Linux 5.15.0-46-generic 49~20.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
The following script causes a segmentation fault
How often does it reproduce? Is there a required condition?
The bug happens every time the script is run, tested on multiple Linux machines.
What is the expected behavior?
It is expected that node logs the result of the heap snapshot
What do you see instead?
[1] 1152371 segmentation fault (core dumped) node segfault.js
Additional information
The bug seems to appear with Node v16 and is also present in Node v18, works fine with Node v14
This only happens when setting
reportProgress: true
flag when taking the heap snapshot withHeapProfiler.takeHeapSnapshot
Here is the stacktrace when the segfault occurs
The text was updated successfully, but these errors were encountered: