panic: runtime error: index out of range [0] with length 0 goroutine 71 [running]: panic(0x121e180, 0xc0000de060) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc000683ad8 sp=0xc000683a10 pc=0x437c65 runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:88 +0xa5 fp=0xc000683b20 sp=0xc000683ad8 pc=0x434fc5 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write(0xc0002f27e8, 0x1d6fe28, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/link/tun/device.go:214 +0x5c9 fp=0xc000683c00 sp=0xc000683b20 pc=0xb724c9 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write(0xc0002f2780, 0x14b5c30, 0xc000280460, 0x14afec0, 0xc000417000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:146 +0x1f0 fp=0xc000683d08 sp=0xc000683c00 pc=0xf1f5b0 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).PWrite(0xc0002f2780, 0x14b5c30, 0xc000280460, 0x14afec0, 0xc000417000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:137 +0x8b fp=0xc000683d88 sp=0xc000683d08 pc=0xf1f36b gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).PWrite(0xc0002f2780, 0x14b5c30, 0xc000280460, 0x14afec0, 0xc000417000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/vfs/file_description.go:645 +0xc8 fp=0xc000683e28 sp=0xc000683d88 pc=0x7568c8 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getAIOCallback.func1(0x14b5c30, 0xc000280460) pkg/sentry/syscalls/linux/vfs2/aio.go:174 +0x514 fp=0xc000683fa0 sp=0xc000683e28 pc=0xe97294 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO.func1(0xc0002e8310, 0x14b5c30, 0xc000280460, 0xc00020edcc) pkg/sentry/kernel/aio.go:30 +0x3a fp=0xc000683fc0 sp=0xc000683fa0 pc=0xa0c3da runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc000683fc8 sp=0xc000683fc0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO pkg/sentry/kernel/aio.go:29 +0xbf