-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
The inspector process.on(SIGPROF)
warning is non-standard.
#12706
Comments
|
I don't think it shows up as an official warning because it's just a print statement. I think it would have to use |
This commit replaces a fprintf() with a call to ProcessEmitWarning(). Refs: nodejs#12706 PR-URL: nodejs#12709 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
This commit replaces a fprintf() with a call to ProcessEmitWarning(). Refs: nodejs#12706 PR-URL: nodejs#12709 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Refs: #12709 (the above commit(s)) |
What should we do about this? Nothing? Change it to emit a warning? Something else? |
This is a proper warning since #12709. The only question is whether or not the inspector should reserve |
Given that it's now a proper warning, I think we should close this issue. Whether inspector should reserve SIGPROF is a separate concern. |
An internal project is generating this warning when run:
It was not immediately clear to me that this was indeed from node, since no
(node:pid)
prefix was attached.The warning is emitted from here and was added in 84ad31f about a year ago (though I'm not sure inspector was on by default then). My understanding is that this warning does not happen for us on LTS versions of Node.
Edit: We are not launching the inspector in any way when running into this.
The text was updated successfully, but these errors were encountered: