Skip to content

Do not listen on SIGBUS, SIGFPE, SIGSEGV and SIGILL - #40

Merged
bcoe merged 1 commit into
tapjs:masterfrom
addaleax:no-sigsegv
Sep 8, 2016
Merged

bcoe merged 1 commit into
tapjs:masterfrom
addaleax:no-sigsegv

Conversation

@addaleax

@addaleax addaleax commented Sep 5, 2016

Copy link
Copy Markdown
Contributor

Listening for one of these signals from JS will make the process enter an infinite loop when encountering them naturally because the underlying problem is not resolved while the signal handler is being scheduled.

Ref: npm/npm#13782 (real problem caused by this :/)
Ref: nodejs/node#8410 (me wanting to warn about this in the Node.js docs)

Listening for one of these signals from JS will make the process
enter an infinite loop when encountering them naturally
because the underlying problem is not resolved while the signal
handler is being scheduled.

Ref: npm/npm#13782
Ref: nodejs/node#8410
@addaleax

addaleax commented Sep 8, 2016

Copy link
Copy Markdown
Contributor Author

hmm, /cc @bcoe?

@bcoe

bcoe commented Sep 8, 2016

Copy link
Copy Markdown
Member

👍 thanks for the patch.

@bcoe
bcoe merged commit 5b105fb into tapjs:master Sep 8, 2016
@addaleax
addaleax deleted the no-sigsegv branch September 8, 2016 15:38
@addaleax

addaleax commented Sep 8, 2016

Copy link
Copy Markdown
Contributor Author

thanks :)

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

Successfully merging this pull request may close these issues.

2 participants