Skip to content

fix uv_signal_start EINVAL error #68

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

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

devtempmac
Copy link

@devtempmac devtempmac commented Apr 18, 2025

hello!
I'm using nodejs 22 (ubuntu 22), and the examples gave me EINVAL error when I tried to run them.

this commit fixes the issue, and these are reasons I removed some signal handlers:

"SIGUSR1", <-- interferes with nodejs debug
"SIGUSR2", <-- won't kill process
"SIGKILL", <-- causes EINVAL error
"SIGSTOP", <-- causes EINVAL error

reference:
nodejs/node-v0.x-archive#6339
https://nodejs.org/api/process.html#process_signal_events

removed:
"SIGUSR1", <-- interferes with nodejs debug
"SIGUSR2", <-- won't kill process
"SIGKILL", <-- causes EINVAL error
"SIGSTOP", <-- causes EINVAL error
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.

1 participant