-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
17.12 VS hang on solution close #11044
Comments
It looks like we lost information about worker node shutdown and hence keep waiting for it (nodeId is 2 - pointing out to OutOfProcNode). |
I can see that the main node requested that node to be shutdown But without the worker node dump it's hard to tell why that got stuck. In any case - we might want to asynchronously wait abit after signaling shutdown request and just close the connection if we do not hear back: msbuild/src/Build/BackEnd/Components/Communications/NodeProviderOutOfProcBase.cs Lines 107 to 137 in 04ef516
We do similar under some conditions (however the wait is 30 seconds - which is too long for UI actions): msbuild/src/Build/BackEnd/Components/Communications/NodeProviderOutOfProcBase.cs Lines 829 to 870 in 04ef516
But we do not need to necessarily kill the process - we can first just close the connection - node should augument NodeShutdown packet in such case. |
reported bug with the same problem: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2342674 |
Context
microsoft.visualstudio.projectservices.dll!Microsoft.VisualStudio.ProjectServices.DesignTimeBuildService.SolutionClosedEventHandler
https://prism.vsdata.io/failure/?query=ch%3Drelease%20r%3D17.12&eventType=hang&failureHash=cdfda8b0-fdb8-70cd-57c9-ad606708a21f
116 hits in the wild - ranks as top 14 hang
It seems related to previously fixed case: #10709 (comment) (thoug it seems slightly different)
FYI @davkean (pointed this case out)
The text was updated successfully, but these errors were encountered: