Open
Description
Steps to reproduce
- Create a custom task that results in endless recursion.
- Call it with multiproc (/m) enabled.
Desired behavior
Child logs that there was infinite recursion and exits gracefully; parent fails the build.
Actual behavior
Child becomes unresponsive, parent thinks the child crashed and exits saying the child disconnected, and the child exits saying the parent became unresponsive.
12/11/2019 13:51:52
System.IO.IOException: Pipe is broken.
at System.IO.Pipes.NamedPipeServerStream.CheckConnectOperationsServer()
at System.IO.Pipes.NamedPipeServerStream.BeginWaitForConnection(AsyncCallback callback, Object state)
at Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.PacketPumpProc()
See https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1019781/