WARNING: DATA RACE Read at 0x00c024b8db08 by goroutine 1869: 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.(*netTCPData).Generate() pkg/sentry/fsimpl/proc/task_net.go:477 +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).PRead() pkg/sentry/vfs/file_description_impl_util.go:306 +0x11d gvisor.dev/gvisor/pkg/sentry/fsimpl/kernfs.(*DynamicBytesFD).PRead() pkg/sentry/fsimpl/kernfs/dynamic_bytes_file.go:112 +0xfd gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).PRead() pkg/sentry/vfs/file_description.go:586 +0x159 gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.pread() pkg/sentry/syscalls/linux/vfs2/read_write.go:258 +0xfa gvisor.dev/gvisor/pkg/sentry/syscalls/linux/vfs2.Preadv() pkg/sentry/syscalls/linux/vfs2/read_write.go:206 +0x2c8 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 0x00c024b8db08 by goroutine 411: 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/syscalls/linux/vfs2.Close() pkg/sentry/syscalls/linux/vfs2/fd.go:44 +0x238 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