panic: runtime error: index out of range [0] with length 0 goroutine 79 [running]: panic(0x1335460, 0xc000670048) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc00080fb08 sp=0xc00080fa40 pc=0x437c65 runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:88 +0xa5 fp=0xc00080fb50 sp=0xc00080fb08 pc=0x434fc5 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write(0xc0005f2368, 0x2060c68, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/link/tun/device.go:260 +0x734 fp=0xc00080fc38 sp=0xc00080fb50 pc=0xc38d54 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write(0xc0005f2300, 0x15fb330, 0xc00049b800, 0x15f5760, 0xc000767000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:175 +0x1ac fp=0xc00080fd08 sp=0xc00080fc38 pc=0x102a4cc gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).PWrite(0xc0005f2300, 0x15fb330, 0xc00049b800, 0x15f5760, 0xc000767000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:163 +0x95 fp=0xc00080fd88 sp=0xc00080fd08 pc=0x102a2d5 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).PWrite(0xc0005f2300, 0x15fb330, 0xc00049b800, 0x15f5760, 0xc000767000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/vfs/file_description.go:731 +0xe2 fp=0xc00080fe28 sp=0xc00080fd88 pc=0x788b62 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getAIOCallback.func1(0x15fb330, 0xc00049b800) pkg/sentry/syscalls/linux/vfs2/aio.go:224 +0x591 fp=0xc00080ffa0 sp=0xc00080fe28 pc=0xf9b5b1 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO.func1(0xc0003dd7a0, 0x15fb330, 0xc00049b800, 0xc00061658c) pkg/sentry/kernel/aio.go:33 +0x44 fp=0xc00080ffc0 sp=0xc00080ffa0 pc=0xaa2b04 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc00080ffc8 sp=0xc00080ffc0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO pkg/sentry/kernel/aio.go:31 +0xde