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
by trolleriprofessorn:
What steps will reproduce the problem? Run http://play.golang.org/p/a44Qi91zCe with "go run -race". What do you see? ================== WARNING: DATA RACE Write by goroutine 0: time.initLocal() /home/sni/go/src/pkg/time/zoneinfo_unix.go:49 +0x128 sync.(*Once).Do() /home/sni/go/src/pkg/sync/once.go:40 +0x8d time.(*Location).get() /home/sni/go/src/pkg/time/zoneinfo.go:69 +0x70 time.(*Location).lookup() /home/sni/go/src/pkg/time/zoneinfo.go:102 +0x4c time.Time.locabs() /home/sni/go/src/pkg/time/time.go:274 +0x179 time.Time.Format() /home/sni/go/src/pkg/time/format.go:379 +0x60 time.Time.String() /home/sni/go/src/pkg/time/format.go:366 +0x58 time.(*Time).String() /home/sni/go/src/pkg/time/format.go:0 +0xc7 fmt.(*pp).handleMethods() /home/sni/go/src/pkg/fmt/print.go:712 +0x51a fmt.(*pp).printField() /home/sni/go/src/pkg/fmt/print.go:803 +0x5b2 fmt.(*pp).doPrint() /home/sni/go/src/pkg/fmt/print.go:1134 +0x2d9 fmt.Fprintln() /home/sni/go/src/pkg/fmt/print.go:279 +0x96 fmt.Println() /home/sni/go/src/pkg/fmt/print.go:289 +0xaa main.main() /home/sni/Nada/Pallinda/raceTime.go:10 +0x188 runtime.main() /home/sni/go/src/pkg/runtime/proc.c:248 +0x91 Previous read by goroutine 2: time.Time.locabs() /home/sni/go/src/pkg/time/time.go:270 +0x9a time.Time.Format() /home/sni/go/src/pkg/time/format.go:379 +0x60 time.Time.String() /home/sni/go/src/pkg/time/format.go:366 +0x58 time.(*Time).String() /home/sni/go/src/pkg/time/format.go:0 +0xc7 fmt.(*pp).handleMethods() /home/sni/go/src/pkg/fmt/print.go:712 +0x51a fmt.(*pp).printField() /home/sni/go/src/pkg/fmt/print.go:803 +0x5b2 fmt.(*pp).doPrint() /home/sni/go/src/pkg/fmt/print.go:1134 +0x2d9 fmt.Fprintln() /home/sni/go/src/pkg/fmt/print.go:279 +0x96 fmt.Println() /home/sni/go/src/pkg/fmt/print.go:289 +0xaa Goroutine 2 (running) created at: main.main() /raceTime.go:9 +0xef runtime.main() /go/src/pkg/runtime/proc.c:248 +0x91 ================== 2013-01-06 13:52:56.109210367 +0100 CET 2013-01-06 13:52:56.109020365 +0100 CET Found 1 data race(s) exit status 66 Which version are you using? (run 'go version') go version devel +28ee66c9003f Sat Jan 05 21:15:51 2013 +1100 linux/amd64
The text was updated successfully, but these errors were encountered:
Comment 1:
Labels changed: added priority-later, removed priority-triage.
Status changed to Accepted.
Sorry, something went wrong.
Comment 2:
https://golang.org/cl/7103046
Owner changed to @bradfitz.
Status changed to Started.
Comment 3:
This issue was closed by revision fd1abac.
Status changed to Fixed.
No branches or pull requests
by trolleriprofessorn:
The text was updated successfully, but these errors were encountered: