Skip to content
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

callback is never called #47

Open
nnnikolay opened this issue Dec 5, 2017 · 2 comments
Open

callback is never called #47

nnnikolay opened this issue Dec 5, 2017 · 2 comments

Comments

@nnnikolay
Copy link

Hi there,

Am I doing something wrong? or it's a known issue?

I've the following code:

SegfaultHandler.registerHandler("crash.log", function(signal, address, stack) {
  console.log('TETETETETETETETET');
});

SegfaultHandler.causeSegfault();

I've never seen my message from the callback. And the log filename is like that stacktrace-1512461249-10000.log. The numbers (in the filename) every time are different.

But if I remove the callback, the log stores under the "crash.log" filename.

I'm using
"segfault-handler": "1.0.0" and node: v8.9.1

Thanks

@saurav-bhagat
Copy link

Hey if this is inside a container and a log file is generated, how do you access the log file?

@OmgImAlexis
Copy link

OmgImAlexis commented Jun 22, 2022

Duplicate of #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants