We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On a proprietary test ThreadSanitizer says: WARNING: DATA RACE Write by goroutine 4: time.initLocal() src/pkg/time/zoneinfo_unix.go:49 +0x11f sync.(*Once).Do() src/pkg/sync/once.go:40 +0x7a time.(*Location).lookup() src/pkg/time/zoneinfo.go:102 +0x46 time.Time.abs() src/pkg/time/time.go:253 +0xf9 time.Time.date() src/pkg/time/time.go:647 +0x31 time.Time.Date() src/pkg/time/time.go:286 +0x36 [stripped] Previous read by goroutine 57: time.Time.abs() src/pkg/time/time.go:250 +0x6b time.Time.date() src/pkg/time/time.go:647 +0x31 time.Time.Date() src/pkg/time/time.go:286 +0x36 [stripped] One goroutine reads local Location while another mutates it.
The text was updated successfully, but these errors were encountered:
Comment 1:
Labels changed: added priority-soon, removed priority-triage.
Status changed to Accepted.
Sorry, something went wrong.
Comment 2:
This issue was closed by revision 84a5a9b.
Status changed to Fixed.
[release-branch.go1] time: avoid data race in abs
01b381f
««« backport b2855a1654b6 time: avoid data race in abs Fixes #3967. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6460115 »»»
No branches or pull requests
The text was updated successfully, but these errors were encountered: