panic: runtime error: index out of range [0] with length 0 goroutine 1447271 [running]: panic(0x1335460, 0xc013c23f38) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc007e33b08 sp=0xc007e33a40 pc=0x437c65 runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:88 +0xa5 fp=0xc007e33b50 sp=0xc007e33b08 pc=0x434fc5 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write(0xc00da85328, 0x2060c68, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/link/tun/device.go:260 +0x734 fp=0xc007e33c38 sp=0xc007e33b50 pc=0xc38d54 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write(0xc00da852c0, 0x15fb330, 0xc00e558bd0, 0x15f5760, 0xc00e885000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:175 +0x1ac fp=0xc007e33d08 sp=0xc007e33c38 pc=0x102a4cc gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).PWrite(0xc00da852c0, 0x15fb330, 0xc00e558bd0, 0x15f5760, 0xc00e885000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:163 +0x95 fp=0xc007e33d88 sp=0xc007e33d08 pc=0x102a2d5 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).PWrite(0xc00da852c0, 0x15fb330, 0xc00e558bd0, 0x15f5760, 0xc00e885000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/vfs/file_description.go:731 +0xe2 fp=0xc007e33e28 sp=0xc007e33d88 pc=0x788b62 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getAIOCallback.func1(0x15fb330, 0xc00e558bd0) pkg/sentry/syscalls/linux/vfs2/aio.go:224 +0x591 fp=0xc007e33fa0 sp=0xc007e33e28 pc=0xf9b5b1 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO.func1(0xc00e0b48c0, 0x15fb330, 0xc00e558bd0, 0xc00015c28c) pkg/sentry/kernel/aio.go:33 +0x44 fp=0xc007e33fc0 sp=0xc007e33fa0 pc=0xaa2b04 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc007e33fc8 sp=0xc007e33fc0 pc=0x472861 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO pkg/sentry/kernel/aio.go:31 +0xde