You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have tried multiple of above troubleshooting approaches but are still unable to resolve this issue. If anyone has encountered similar segmentation faults with Node.js 20 or has suggestions for further debugging, please share your thoughts.
System Vitals Monitoring:
○ Monitored memory usage, agent configurations, and system vitals to identify any anomalies.
○ Found no indications of memory pressure or system resource limitations.
2. Core Dump Analysis:
○ Installed Valgrind and a segfault handler to capture and analyze core dump logs.
○ Unfortunately, no meaningful insights were captured from the VM or agent machine logs.
3. Node Version Update:
○ Verified and updated all Node.js native modules and dependencies for compatibility with Node.js 20.
4. Heap Space Configuration:
○ Ensured no misconfigurations targeting the "new" space in the heap.
○ Adjusted heap settings with the following commands: node --max-old-space-size=8192 dist/server.js
○ Introduced the --max-semi-space-size parameter to configure the "new" space in the heap.
5. Node Environment Cleanup:
○ Removed older versions of Node.js from the environment to prevent conflicts during pipeline execution.
Any assistance or guidance would be appreciated. Please tag anyone relevant who can help us out.
Minimal Reproduction
Use a Linux-based CI agent.
Execute the following pipeline commands: yarn lage build bundle stage-deployment --concurrency 32
Observe the segmentation fault during execution.
Output
We are encountering segmentation fault (core dump) when running our pipeline after upgrading to Node.js 20. This issue specifically arises during the execution of yarn lage build bundle steps on a Linux-based CI agent. The core dump logs do not provide sufficient insights into the root cause. This behaviour was not observed prior when running with Node.js 18, it's only been seen when we are trying to upgrade from Node 18.15.0 to Node 20.15.0
Before You Submit
I have looked for issues that already exist before submitting this
Node.js Version
20.15.0
NPM Version
10.7.0
Operating System
linux-gnu
Subsystem
Other
Description
We have tried multiple of above troubleshooting approaches but are still unable to resolve this issue. If anyone has encountered similar segmentation faults with Node.js 20 or has suggestions for further debugging, please share your thoughts.
○ Monitored memory usage, agent configurations, and system vitals to identify any anomalies.
○ Found no indications of memory pressure or system resource limitations.
2. Core Dump Analysis:
○ Installed Valgrind and a segfault handler to capture and analyze core dump logs.
○ Unfortunately, no meaningful insights were captured from the VM or agent machine logs.
3. Node Version Update:
○ Verified and updated all Node.js native modules and dependencies for compatibility with Node.js 20.
4. Heap Space Configuration:
○ Ensured no misconfigurations targeting the "new" space in the heap.
○ Adjusted heap settings with the following commands:
node --max-old-space-size=8192 dist/server.js
○ Introduced the --max-semi-space-size parameter to configure the "new" space in the heap.
5. Node Environment Cleanup:
○ Removed older versions of Node.js from the environment to prevent conflicts during pipeline execution.
Any assistance or guidance would be appreciated. Please tag anyone relevant who can help us out.
Minimal Reproduction
yarn lage build bundle stage-deployment --concurrency 32
Output
We are encountering segmentation fault (core dump) when running our pipeline after upgrading to Node.js 20. This issue specifically arises during the execution of yarn lage build bundle steps on a Linux-based CI agent. The core dump logs do not provide sufficient insights into the root cause. This behaviour was not observed prior when running with Node.js 18, it's only been seen when we are trying to upgrade from Node 18.15.0 to Node 20.15.0
Before You Submit
The text was updated successfully, but these errors were encountered: