panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x58 pc=0xa28cd5] goroutine 1245202 [running]: panic(0xf86ee0, 0x1b80ef0) GOROOT/src/runtime/panic.go:1064 +0x46d fp=0xc088318630 sp=0xc088318578 pc=0x43438d runtime.panicmem(...) GOROOT/src/runtime/panic.go:212 runtime.sigpanic() GOROOT/src/runtime/signal_unix.go:695 +0x3da fp=0xc088318660 sp=0xc088318630 pc=0x44b93a gvisor.dev/gvisor/pkg/tcpip/stack.PacketHeader.View(...) pkg/tcpip/stack/packet_buffer.go:294 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).HandlePacket(0xc000442420, 0x0, 0x0) pkg/tcpip/network/ipv6/ipv6.go:615 +0x65 fp=0xc088320338 sp=0xc088318660 pc=0xa28cd5 gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).writePacket(0xc000442420, 0xc005d6a2d0, 0x0, 0xc005d6c1e0, 0x11, 0xff2a08001100) pkg/tcpip/network/ipv6/ipv6.go:460 +0x78b fp=0xc0883224e0 sp=0xc088320338 pc=0xa2761b gvisor.dev/gvisor/pkg/tcpip/network/ipv6.(*endpoint).WritePacket(0xc000442420, 0xc005d6a2d0, 0x0, 0x4000000011, 0xc005d6c1e0, 0x0) pkg/tcpip/network/ipv6/ipv6.go:427 +0x93 fp=0xc088322520 sp=0xc0883224e0 pc=0xa26e63 gvisor.dev/gvisor/pkg/tcpip/stack.(*Route).WritePacket(0xc005d6a2d0, 0x0, 0x4000000011, 0xc005d6c1e0, 0xcb80) pkg/tcpip/stack/route.go:210 +0xca fp=0xc088322560 sp=0xc088322520 pc=0x85bc5a gvisor.dev/gvisor/pkg/tcpip/transport/udp.sendUDP(0xc005d6a2d0, 0x0, 0x0, 0x0, 0x0, 0x1000000cd09, 0x12cf100, 0xc007ac6a80, 0x0, 0x0) pkg/tcpip/transport/udp/endpoint.go:1024 +0x432 fp=0xc088323288 sp=0xc088322560 pc=0xa0f432 gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).write(0xc006860780, 0x12d19c0, 0xc006d675e0, 0xc006d59ca0, 0x0, 0x0, 0x0, 0x0) pkg/tcpip/transport/udp/endpoint.go:537 +0x4cd fp=0xc088323528 sp=0xc088323288 pc=0xa0c90d gvisor.dev/gvisor/pkg/tcpip/transport/udp.(*endpoint).Write(0xc006860780, 0x12d19c0, 0xc006d675e0, 0xc006d59ca0, 0x0, 0x0, 0x7a0000, 0xc006d7000a) pkg/tcpip/transport/udp/endpoint.go:395 +0x68 fp=0xc088323578 sp=0xc088323528 pc=0xa0c308 gvisor.dev/gvisor/pkg/sentry/socket/netstack.(*socketOpsCommon).SendMsg(0xc006802a00, 0xc007ac6a80, 0x12ecd20, 0xc007a4a000, 0x0, 0x1, 0x0, 0x0, 0x100, 0xc006d760a0, ...) pkg/sentry/socket/netstack/netstack.go:2991 +0x19d fp=0xc088323868 sp=0xc088323578 pc=0xa4bfed gvisor.dev/gvisor/pkg/sentry/syscalls/linux.sendTo(0xc007ac6a80, 0xc000000003, 0x0, 0x0, 0x40001, 0x200000c0, 0x1c, 0x0, 0x0, 0x0) pkg/sentry/syscalls/linux/sys_socket.go:1115 +0x43a fp=0xc088323aa8 sp=0xc088323868 pc=0x97a7ba gvisor.dev/gvisor/pkg/sentry/syscalls/linux.SendTo(0xc007ac6a80, 0x3, 0x0, 0x0, 0x40001, 0x200000c0, 0x1c, 0x0, 0x0, 0x0, ...) pkg/sentry/syscalls/linux/sys_socket.go:1128 +0x71 fp=0xc088323b08 sp=0xc088323aa8 pc=0x97abf1 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc007ac6a80, 0x2c, 0x3, 0x0, 0x0, 0x40001, 0x200000c0, 0x1c, 0xc007887cd8, 0x11009e0, ...) pkg/sentry/kernel/task_syscall.go:104 +0x122 fp=0xc088323c68 sp=0xc088323b08 pc=0x8fc672 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc007ac6a80, 0x2c, 0x3, 0x0, 0x0, 0x40001, 0x200000c0, 0x1c, 0x200000c0, 0x1c) pkg/sentry/kernel/task_syscall.go:239 +0x66 fp=0xc088323cf0 sp=0xc088323c68 pc=0x8fd856 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc007ac6a80, 0x2c, 0x3, 0x0, 0x0, 0x40001, 0x200000c0, 0x1c, 0x12c27a0, 0x0) pkg/sentry/kernel/task_syscall.go:199 +0x96 fp=0xc088323d50 sp=0xc088323cf0 pc=0x8fd3e6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc007ac6a80, 0x2, 0xc007ac6a80) pkg/sentry/kernel/task_syscall.go:174 +0x15c fp=0xc088323e10 sp=0xc088323d50 pc=0x8fcd7c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0x0, 0xc007ac6a80, 0x12c27a0, 0x0) pkg/sentry/kernel/task_run.go:275 +0xc18 fp=0xc088323f60 sp=0xc088323e10 pc=0x8f1718 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc007ac6a80, 0x7ef3) pkg/sentry/kernel/task_run.go:93 +0x18b fp=0xc088323fd0 sp=0xc088323f60 pc=0x8f042b runtime.goexit() src/runtime/asm_amd64.s:1373 +0x1 fp=0xc088323fd8 sp=0xc088323fd0 pc=0x467da1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:323 +0xfe