Created
July 26, 2016 18:22
-
-
Save benburkert/4eb8e7e4acb72984f7568f4e1fdf1847 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================== | |
WARNING: DATA RACE | |
Read at 0x00c4200a6230 by goroutine 7: | |
net/http.(*Server).shouldConfigureHTTP2ForServe() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2227 +0x48 | |
net/http.(*Server).Serve() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2263 +0xcf | |
main.main.func2() | |
/tmp/main.go:23 +0x4e | |
Previous write at 0x00c4200a6230 by goroutine 6: | |
net/http.http2ConfigureServer() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/h2_bundle.go:2861 +0xb7f | |
net/http.(*Server).onceSetNextProtoDefaults() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2454 +0xcd | |
net/http.(*Server).(net/http.onceSetNextProtoDefaults)-fm() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2440 +0x41 | |
sync.(*Once).Do() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/sync/once.go:44 +0xf2 | |
net/http.(*Server).setupHTTP2() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2440 +0x79 | |
net/http.(*Server).Serve() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2264 +0x552 | |
main.main.func1() | |
/tmp/main.go:22 +0x4e | |
Goroutine 7 (running) created at: | |
main.main() | |
/tmp/main.go:23 +0x1ac | |
Goroutine 6 (running) created at: | |
main.main() | |
/tmp/main.go:22 +0x176 | |
================== | |
================== | |
WARNING: DATA RACE | |
Read at 0x00c4200fc048 by goroutine 7: | |
net/http.(*Server).shouldConfigureHTTP2ForServe() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2243 +0x7e | |
net/http.(*Server).Serve() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2263 +0xcf | |
main.main.func2() | |
/tmp/main.go:23 +0x4e | |
Previous write at 0x00c4200fc048 by goroutine 6: | |
net/http.http2ConfigureServer() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/h2_bundle.go:2894 +0x6b0 | |
net/http.(*Server).onceSetNextProtoDefaults() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2454 +0xcd | |
net/http.(*Server).(net/http.onceSetNextProtoDefaults)-fm() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2440 +0x41 | |
sync.(*Once).Do() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/sync/once.go:44 +0xf2 | |
net/http.(*Server).setupHTTP2() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2440 +0x79 | |
net/http.(*Server).Serve() | |
/usr/local/Cellar/go/1.7rc3/libexec/src/net/http/server.go:2264 +0x552 | |
main.main.func1() | |
/tmp/main.go:22 +0x4e | |
Goroutine 7 (running) created at: | |
main.main() | |
/tmp/main.go:23 +0x1ac | |
Goroutine 6 (running) created at: | |
main.main() | |
/tmp/main.go:22 +0x176 | |
================== | |
Found 2 data race(s) | |
exit status 66 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment