panic: close of closed channel goroutine 2887261 [running]: panic(0x115efe0, 0x147f260) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc00338f408 sp=0xc00338f340 pc=0x437c65 runtime.closechan(0xc00d5fafc0) GOROOT/src/runtime/chan.go:363 +0x3f5 fp=0xc00338f448 sp=0xc00338f408 pc=0x4064b5 gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).sendResponse(0xc0251abf00, 0x14c52f8, 0xc00e57e000, 0xc00e9063c0, 0x1499520, 0x1d28190) pkg/sentry/fsimpl/fuse/dev.go:417 +0x14b fp=0xc00338f4d0 sp=0xc00338f448 pc=0xf301cb gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).writeLocked(0xc0251abf00, 0x14c52f8, 0xc00e57e000, 0x14bf460, 0xc00d5cf000, 0x0, 0x1, 0x20000300, 0x78, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:341 +0x40a fp=0xc00338f718 sp=0xc00338f4d0 pc=0xf2f7ea gvisor.dev/gvisor/pkg/sentry/fsimpl/fuse.(*DeviceFD).Write(0xc0251abf00, 0x14c52f8, 0xc00e57e000, 0x14bf460, 0xc00d5cf000, 0x0, 0x1, 0x20000300, 0x78, 0x100, ...) pkg/sentry/fsimpl/fuse/dev.go:246 +0x105 fp=0xc00338f7b8 sp=0xc00338f718 pc=0xf2f365 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Write(0xc0251abf00, 0x14c52f8, 0xc00e57e000, 0x14bf460, 0xc00d5cf000, 0x0, 0x1, 0x20000300, 0x78, 0x100, ...) pkg/sentry/vfs/file_description.go:657 +0xb4 fp=0xc00338f850 sp=0xc00338f7b8 pc=0x759574 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.write(0xc00e57e000, 0xc0251abf00, 0x14bf460, 0xc00d5cf000, 0x0, 0x1, 0x20000300, 0x78, 0x100, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:348 +0x9b fp=0xc00338f9e0 sp=0xc00338f850 pc=0xe732fb gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Write(0xc00e57e000, 0x3, 0x20000300, 0x78, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/vfs2/read_write.go:317 +0x245 fp=0xc00338fb10 sp=0xc00338f9e0 pc=0xe72be5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00e57e000, 0x1, 0x3, 0x20000300, 0x78, 0x0, 0x0, 0x0, 0x0, 0x131baa0, ...) pkg/sentry/kernel/task_syscall.go:103 +0x13c fp=0xc00338fc70 sp=0xc00338fb10 pc=0x9f411c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00e57e000, 0x1, 0x3, 0x20000300, 0x78, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/sentry/kernel/task_syscall.go:238 +0x66 fp=0xc00338fcf8 sp=0xc00338fc70 pc=0x9f52c6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00e57e000, 0x1, 0x3, 0x20000300, 0x78, 0x0, 0x0, 0x0, 0x14d6608, 0xc00dfa7200) pkg/sentry/kernel/task_syscall.go:198 +0x98 fp=0xc00338fd58 sp=0xc00338fcf8 pc=0x9f4eb8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00e57e000, 0x2, 0xc00e57e000) pkg/sentry/kernel/task_syscall.go:173 +0x15c fp=0xc00338fe28 sp=0xc00338fd58 pc=0x9f485c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc00e57e000, 0x1497280, 0x0) pkg/sentry/kernel/task_run.go:254 +0xc27 fp=0xc00338ff68 sp=0xc00338fe28 pc=0x9e9587 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00e57e000, 0x376e) pkg/sentry/kernel/task_run.go:95 +0x182 fp=0xc00338ffd0 sp=0xc00338ff68 pc=0x9e84c2 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00338ffd8 sp=0xc00338ffd0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:339 +0xfe