You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error while checking for terminated children #30092
Discovering: JIT.jit64.XUnitWrapper
Discovered: JIT.jit64.XUnitWrapper
Starting: JIT.jit64.XUnitWrapper
Process terminated. Error while checking for terminated children. errno = 0
at System.Environment.FailFast(System.String)
at System.Diagnostics.ProcessWaitState.CheckChildren(Boolean)
at System.Diagnostics.Process.OnSigChild(Boolean)
Aborted (core dumped)
If WNOHANG was specified in options and there were no children in a waitable state, then waitid() returns 0 immediately and the state of the siginfo_t structure pointed to by infop is unspecified. To distinguish this case from that where a child was in a waitable state, zero out the si_pid field before the call and check for a nonzero value in this field after the call returns.
Maybe this is what is happening here, and siginfo.si_pid contains a < 0 value.
When I try to reproduce this on x64, I get return -1 with errno ECHILD.
The error occurred on Ubuntu.1604.Arm32.
Activity
stephentoub commentedon Jul 1, 2019
cc: @tmds
tmds commentedon Jul 1, 2019
This happens when this code returns < 0:
https://github.com/dotnet/corefx/blob/b10e8d67b260e26f2e47750cf96669e6f48e774d/src/Native/Unix/System.Native/pal_process.c#L639-L654
The man page says:
Maybe this is what is happening here, and
siginfo.si_pidcontains a< 0value.When I try to reproduce this on x64, I get return
-1with errno ECHILD.The error occurred on Ubuntu.1604.Arm32.
I'll update the code to handle this case.