You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running proprietary code under ThreadSanitizer I see the following reports:
WARNING: DATA RACE at 0x000040115140
Write by goroutine 104:
os.epipecheck()
src/pkg/os/file_posix.go:23 +0x135
os.(*File).Write()
src/pkg/os/file.go:144 +0xec
...
Previous write by goroutine 99:
os.epipecheck()
src/pkg/os/file_posix.go:23 +0x135
os.(*File).Write()
src/pkg/os/file.go:144 +0xec
...
epipecheck() clearly has a data race on file.npipe:
func epipecheck(file *File, e error) {
if e == syscall.EPIPE {
file.nepipe++
if file.nepipe >= 10 {
sigpipe()
}
} else {
file.nepipe = 0
}
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: