panic: runtime error: index out of range [0] with length 0 goroutine 324 [running]: panic(0x121e180, 0xc000272138) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc00016dad8 sp=0xc00016da10 pc=0x437c65 runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:88 +0xa5 fp=0xc00016db20 sp=0xc00016dad8 pc=0x434fc5 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write(0xc0006ac1e8, 0x1d6fe28, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/link/tun/device.go:214 +0x5c9 fp=0xc00016dc00 sp=0xc00016db20 pc=0xb724c9 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write(0xc0006ac180, 0x14b5c30, 0xc00036c7f0, 0x14afec0, 0xc000946000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:146 +0x1f0 fp=0xc00016dd08 sp=0xc00016dc00 pc=0xf1f5b0 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).PWrite(0xc0006ac180, 0x14b5c30, 0xc00036c7f0, 0x14afec0, 0xc000946000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:137 +0x8b fp=0xc00016dd88 sp=0xc00016dd08 pc=0xf1f36b gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).PWrite(0xc0006ac180, 0x14b5c30, 0xc00036c7f0, 0x14afec0, 0xc000946000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/vfs/file_description.go:645 +0xc8 fp=0xc00016de28 sp=0xc00016dd88 pc=0x7568c8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getAIOCallback.func1(0x14b5c30, 0xc00036c7f0) pkg/sentry/syscalls/linux/vfs2/aio.go:174 +0x514 fp=0xc00016dfa0 sp=0xc00016de28 pc=0xe97294 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO.func1(0xc000414a80, 0x14b5c30, 0xc00036c7f0, 0xc000332c4c) pkg/sentry/kernel/aio.go:30 +0x3a fp=0xc00016dfc0 sp=0xc00016dfa0 pc=0xa0c3da runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00016dfc8 sp=0xc00016dfc0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO pkg/sentry/kernel/aio.go:29 +0xbf