Skip to content
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

Fix shim crash when cleaning up process-isolated containers #752

Merged

Conversation

TBBle
Copy link
Contributor

@TBBle TBBle commented Jan 7, 2020

The issue was observed while experimenting with Buildkit for Windows against containerd, and getting a 'ttrpc closed' error after the layer had completed its task successfully.

The null ptr access in vm.DeleteContainerStateSupported was killing the thread it was on, and hence the channel back to containerd was never given an answer before the shim cleaned up the container and terminated.

@TBBle TBBle requested a review from a team as a code owner January 7, 2020 19:31
@jterry75
Copy link
Contributor

jterry75 commented Jan 7, 2020

LGTM. Thanks for the contribution!

@jterry75 jterry75 merged commit 1f9b057 into microsoft:master Jan 7, 2020
@TBBle TBBle deleted the fix_crash_in_process_isolated_containers branch January 10, 2020 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants