This repository has been archived by the owner on Mar 11, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If docker exec to a container, and then kill the runtime's shim process it will close a nil chan in Supervisor' execExit interface. Supervisor.exit |---> s.delete | | | V | execMap := s.getDeleteExecSyncMap(t.ID) make getExecSyncChannel return nil | |--->s.execExit | | | V | synCh := s.getExecSyncChannel(t.ID, t.PID) | | | V | close(synCh) close a nil chan make container panic Signed-off-by: yangshukui <yangshukui@huawei.com> (cherry picked from commit de0e943) Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
- Loading branch information