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
Facing an issue when trying to use the package segfault-handler with Node.js 20.15.0. When working on a Linux VM, I encountered segmentation faults during build and bundle processes. To debug these issues, I attempted to use segfault-handler to get stack traces but encountered the following error:
A similar issue occurs when using the package node-segfault-handler.
Minimal Reproduction
There are no specific reproduction steps available. The segmentation fault started occurring after migrating from Node.js 18 to Node.js 20.
Output
Here is the error log (with some information redacted for privacy):
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/path/to/segfault.js:1:23)
at Module._compile (node:internal/modules/cjs/loader:1358:14) {
tries: [
'/path/to/node-segfault-handler/build/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/build/Debug/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/build/Release/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/out/Debug/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/Debug/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/out/Release/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/Release/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/build/default/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/compiled/20.15.0/linux/x64/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/addon-build/release/install-root/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/addon-build/debug/install-root/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/addon-build/default/install-root/NodeSegfaultHandler.node',
'/path/to/node-segfault-handler/lib/binding/node-v115-linux-x64/NodeSegfaultHandler.node'
]
}
### Before You Submit
- [X] I have looked for issues that already exist before submitting this
- [X] My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask
The text was updated successfully, but these errors were encountered:
Node.js Version
20.15.0
NPM Version
10.7.0
Operating System
linux-gnu
Subsystem
Other
Description
Facing an issue when trying to use the package segfault-handler with Node.js 20.15.0. When working on a Linux VM, I encountered segmentation faults during build and bundle processes. To debug these issues, I attempted to use
segfault-handler
to get stack traces but encountered the following error:A similar issue occurs when using the package
node-segfault-handler
.Minimal Reproduction
There are no specific reproduction steps available. The segmentation fault started occurring after migrating from Node.js 18 to Node.js 20.
Output
Here is the error log (with some information redacted for privacy):
The text was updated successfully, but these errors were encountered: