panic: runtime error: index out of range [0] with length 0 goroutine 955276 [running]: panic(0x1a069e0, 0xc0b1427560) GOROOT/src/runtime/panic.go:1065 +0x565 fp=0xc0053e78b8 sp=0xc0053e77f0 pc=0x43a6c5 runtime.goPanicIndex(0x0, 0x0) GOROOT/src/runtime/panic.go:88 +0xa5 fp=0xc0053e7900 sp=0xc0053e78b8 pc=0x437a25 gvisor.dev/gvisor/pkg/tcpip/link/tun.(*Device).Write(0xc001d62368, 0x31584d8, 0x0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/link/tun/device.go:214 +0x89d fp=0xc0053e7a80 sp=0xc0053e7900 pc=0xfd22bd gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).Write(0xc001d62300, 0x1dc0090, 0xc0065bcb50, 0x1dba1a0, 0xc004ee1000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:146 +0x237 fp=0xc0053e7ba8 sp=0xc0053e7a80 pc=0x1576977 gvisor.dev/gvisor/pkg/sentry/devices/tundev.(*tunFD).PWrite(0xc001d62300, 0x1dc0090, 0xc0065bcb50, 0x1dba1a0, 0xc004ee1000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/devices/tundev/tundev.go:137 +0xef fp=0xc0053e7c78 sp=0xc0053e7ba8 pc=0x15766cf gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).PWrite(0xc001d62300, 0x1dc0090, 0xc0065bcb50, 0x1dba1a0, 0xc004ee1000, 0x0, 0x1, 0x0, 0x0, 0x0, ...) pkg/sentry/vfs/file_description.go:645 +0x15a fp=0xc0053e7d60 sp=0xc0053e7c78 pc=0x96163a gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.getAIOCallback.func1(0x1dc0090, 0xc0065bcb50) pkg/sentry/syscalls/linux/vfs2/aio.go:174 +0x5ae fp=0xc0053e7fa0 sp=0xc0053e7d60 pc=0x1498a6e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO.func1(0xc0018428c0, 0x1dc0090, 0xc0065bcb50, 0xc0006002ec) pkg/sentry/kernel/aio.go:30 +0x48 fp=0xc0053e7fc0 sp=0xc0053e7fa0 pc=0xdb4ca8 runtime.goexit() src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0053e7fc8 sp=0xc0053e7fc0 pc=0x477541 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).QueueAIO pkg/sentry/kernel/aio.go:29 +0x14c