Skip to content

Calling Process.run() without SystemRoot set prints "*** Could not create wakeup socket pair for CFSocket!!!" and crashes #5106

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
jakepetroules opened this issue Oct 14, 2024 · 0 comments
Labels

Comments

@jakepetroules
Copy link
Contributor

jakepetroules commented Oct 14, 2024

When calling Process.run() without the Windows SystemRoot environment variable set, CoreFoundation may print:

*** Could not create wakeup socket pair for CFSocket!!!

and the program may crash shortly afterwards.

It seems like this may be an issue in Windows itself where bind/getsockname/connect have some dependency on that environment variable, but ideally we could print a somewhat more informative error message in this case.

@jakepetroules jakepetroules changed the title Calling Process.run() without SystemDrive set prints "*** Could not create wakeup socket pair for CFSocket!!!" and crashes Calling Process.run() without SystemRoot set prints "*** Could not create wakeup socket pair for CFSocket!!!" and crashes Oct 14, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant