-
Notifications
You must be signed in to change notification settings - Fork 842
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
clone() fails with CLONE_UNTRACED or without SIGCHLD #2781
Comments
I suspect we don’t yet handle CLONE_UNTRACED. |
I thought that too, but oddly the test case fails even if you drop |
Oh. Looks like we also don't support non-SIGCHLD signaling without CLONE_THREAD. Which is odd because I added support for that weeks ago. But it turns out it was never merged! So we'll fix that first, and then we can see if we have time for CLONE_UNTRACED. |
Fixed in 17093. |
Confirmed - this works in 17127. |
This came out of #121 where leak sanitizer part of address sanitizer doesn't work under WSL. To reproduce this in a standalone sample, I extracted this code from lsan:
Compiling & running this under regular Linux makes clone() return a positive PID; running under WSL however returns PID -1:
This happens in build 17063
The text was updated successfully, but these errors were encountered: