mirror of
https://github.com/containerd/containerd.git
synced 2026-11-08 06:16:50 +00:00
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>