WARNING: DATA RACE Read at 0x00c0129a7c88 by goroutine 1044: reflect.typedmemmove() GOROOT/src/runtime/mbarrier.go:177 +0x0 reflect.packEface() GOROOT/src/reflect/value.go:120 +0x12f reflect.valueInterface() GOROOT/src/reflect/value.go:1045 +0x1cd reflect.Value.Interface() GOROOT/src/reflect/value.go:1015 +0x3aa4 fmt.(*pp).printValue() GOROOT/src/fmt/print.go:726 +0x3aa5 fmt.(*pp).printValue() GOROOT/src/fmt/print.go:880 +0x25fc fmt.(*pp).printArg() GOROOT/src/fmt/print.go:716 +0x26b fmt.(*pp).doPrintf() GOROOT/src/fmt/print.go:1030 +0x326 fmt.Sprintf() GOROOT/src/fmt/print.go:219 +0x73 gvisor.dev/gvisor/pkg/log.GoogleEmitter.Emit() pkg/log/glog.go:81 +0x1ba gvisor.dev/gvisor/pkg/log.(*BasicLogger).DebugfAtDepth() pkg/log/log.go:217 +0x127 gvisor.dev/gvisor/pkg/log.Debugf() pkg/log/log.go:275 +0x98 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.commonGenerateTCP() pkg/sentry/fsimpl/proc/task_net.go:354 +0x1024 gvisor.dev/gvisor/pkg/sentry/fsimpl/proc.(*netTCP6Data).Generate() pkg/sentry/fsimpl/proc/task_net.go:493 +0xa4 gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).preadLocked() pkg/sentry/vfs/file_description_impl_util.go:287 +0x135 gvisor.dev/gvisor/pkg/sentry/vfs.(*DynamicBytesFileDescriptionImpl).Read() pkg/sentry/vfs/file_description_impl_util.go:314 +0x139 gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFD).Read() pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:107 +0xf0 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Read() pkg/sentry/vfs/file_description.go:594 +0x130 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.read() pkg/sentry/syscalls/linux/vfs2/read_write.go:94 +0xed gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Read() pkg/sentry/syscalls/linux/vfs2/read_write.go:63 +0x2a4 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:104 +0x452 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:239 +0xb9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:199 +0x10e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:174 +0x1e9 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:282 +0x1266 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x397 Previous write at 0x00c0129a7c88 by goroutine 1140: sync/atomic.AddInt32() src/runtime/race_amd64.s:269 +0xb sync.(*Mutex).Unlock() GOROOT/src/sync/mutex.go:186 +0x51 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef.func1() pkg/sentry/vfs/file_description.go:190 +0x3a4 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescriptionRefs).DecRef() bazel-out/k8-fastbuild-ST-85f86a41aebae9b44e06a227fc2c34bde1094098ba6d32170f99a32414da6482/bin/pkg/sentry/vfs/file_description_refs.go:128 +0x7c gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).DecRef() pkg/sentry/vfs/file_description.go:156 +0x76 gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).dropVFS2() pkg/sentry/kernel/fd_table.go:171 +0x1bc gvisor.dev/gvisor/pkg/sentry/kernel.(*FDTable).NewFDAtVFS2() pkg/sentry/kernel/fd_table.go:455 +0xe6 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).NewFDAtVFS2() pkg/sentry/kernel/task.go:794 +0x18f gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.dup3() pkg/sentry/syscalls/linux/vfs2/fd.go:106 +0x12d gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Dup2() pkg/sentry/syscalls/linux/vfs2/fd.go:79 +0x16d gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall() pkg/sentry/kernel/task_syscall.go:104 +0x452 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke() pkg/sentry/kernel/task_syscall.go:239 +0xb9 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter() pkg/sentry/kernel/task_syscall.go:199 +0x10e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall() pkg/sentry/kernel/task_syscall.go:174 +0x1e9 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute() pkg/sentry/kernel/task_run.go:282 +0x1266 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run() pkg/sentry/kernel/task_run.go:97 +0x397