node-segfault-handler icon indicating copy to clipboard operation
node-segfault-handler copied to clipboard

Tool for debugging native Node.js modules and getting stack traces when things go wrong.

Results 37 node-segfault-handler issues
Sort by recently updated
recently updated
newest added

The segfault handler implementation on linux relies on the default handler to abort the process. It's doing this by setting the `SA_RESETHAND` flag, which reverts the handler to the default...

Hi, I've got an issue running an NPM install with this module in Docker (node-alpine): ``` FROM node:12.15.0-alpine ``` The issue: ``` > [email protected] install /opt/hades/node_modules/segfault-handler > node-gyp rebuild make:...

As was pointed out [here](https://github.com/ddopson/node-segfault-handler/issues/46#issue-239671538), handled exceptions are reported by `segfault-handler` before reaching their catch blocks. This change will make it so that handled exceptions pass silently.

I am trying to use this module in an AWS lambda to debug a sporadic segmentation fault, but when I include this module I get an invalid ELF header error...

Some Windows libraries use [OutputDebugString()](https://docs.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-outputdebugstringa?redirectedfrom=MSDN) to log a message to a debugger. This works by throwing an exception and then a debugger being a registered exception handler. For example, th...

First of all, fantastic module. Thank you! Is it possible to unregister the handler at runtime? Sometimes I need to force a server shutdown abruptly (not cleanly) and the handler...

On Alpine Linux (popular in docker containers) building this project spews a bunch of warnings that, while not dire, make things hard to debug and scare people who might know...

When loading the segfault handler in Electron 7.x.x and greater there is a warning in the output: ``` (node:39360) Electron: Loading non context-aware native modules in the renderer process is...

Leaving this here where maybe people with some experience debugging node native modules might suggest some ideas. I'm having a problem with a native node module crashing. That module is...