Created
May 23, 2015 21:52
-
-
Save runcom/2bcd9c2cc8b1dfb10328 to your computer and use it in GitHub Desktop.
race registry.go
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 | |
Write by goroutine 82: | |
github.com/docker/docker/registry.(*httpsRequestModifier).ModifyRequest() | |
/go/src/github.com/docker/docker/registry/registry.go:129 +0x192c | |
github.com/docker/docker/pkg/transport.(*transport).RoundTrip() | |
/go/src/github.com/docker/docker/pkg/transport/transport.go:55 +0x185 | |
github.com/docker/docker/pkg/transport.(*transport).RoundTrip() | |
/go/src/github.com/docker/docker/pkg/transport/transport.go:61 +0x2e0 | |
github.com/docker/docker/registry.(*authTransport).RoundTrip() | |
/go/src/github.com/docker/docker/registry/session.go:91 +0x592 | |
net/http.send() | |
/usr/local/go/src/net/http/client.go:219 +0x6f2 | |
net/http.(*Client).send() | |
/usr/local/go/src/net/http/client.go:142 +0x200 | |
net/http.(*Client).doFollowingRedirects() | |
/usr/local/go/src/net/http/client.go:367 +0xf17 | |
net/http.(*Client).Do() | |
/usr/local/go/src/net/http/client.go:174 +0xc3 | |
github.com/docker/docker/registry.(*Session).GetV2ImageBlobReader() | |
/go/src/github.com/docker/docker/registry/session_v2.go:193 +0x44a | |
github.com/docker/docker/graph.func·008() | |
/go/src/github.com/docker/docker/graph/pull.go:483 +0xaf9 | |
github.com/docker/docker/graph.func·009() | |
/go/src/github.com/docker/docker/graph/pull.go:527 +0x4f | |
Previous write by goroutine 81: | |
github.com/docker/docker/registry.(*httpsRequestModifier).ModifyRequest() | |
/go/src/github.com/docker/docker/registry/registry.go:129 +0x192c | |
github.com/docker/docker/pkg/transport.(*transport).RoundTrip() | |
/go/src/github.com/docker/docker/pkg/transport/transport.go:55 +0x185 | |
github.com/docker/docker/pkg/transport.(*transport).RoundTrip() | |
/go/src/github.com/docker/docker/pkg/transport/transport.go:61 +0x2e0 | |
github.com/docker/docker/registry.(*authTransport).RoundTrip() | |
/go/src/github.com/docker/docker/registry/session.go:91 +0x592 | |
net/http.send() | |
/usr/local/go/src/net/http/client.go:219 +0x6f2 | |
net/http.(*Client).send() | |
/usr/local/go/src/net/http/client.go:142 +0x200 | |
net/http.(*Client).doFollowingRedirects() | |
/usr/local/go/src/net/http/client.go:367 +0xf17 | |
net/http.(*Client).Do() | |
/usr/local/go/src/net/http/client.go:174 +0xc3 | |
github.com/docker/docker/registry.(*Session).GetV2ImageBlobReader() | |
/go/src/github.com/docker/docker/registry/session_v2.go:193 +0x44a | |
github.com/docker/docker/graph.func·008() | |
/go/src/github.com/docker/docker/graph/pull.go:483 +0xaf9 | |
github.com/docker/docker/graph.func·009() | |
/go/src/github.com/docker/docker/graph/pull.go:527 +0x4f | |
Goroutine 82 (running) created at: | |
github.com/docker/docker/graph.(*TagStore).pullV2Tag() | |
/go/src/github.com/docker/docker/graph/pull.go:528 +0x2c09 | |
github.com/docker/docker/graph.(*TagStore).pullV2Repository() | |
/go/src/github.com/docker/docker/graph/pull.go:398 +0xa76 | |
github.com/docker/docker/graph.(*TagStore).Pull() | |
/go/src/github.com/docker/docker/graph/pull.go:87 +0xe63 | |
github.com/docker/docker/api/server.(*Server).postImagesCreate() | |
/go/src/github.com/docker/docker/api/server/server.go:711 +0xefc | |
github.com/docker/docker/api/server.*Server.(github.com/docker/docker/api/server.postImagesCreate)·fm() | |
/go/src/github.com/docker/docker/api/server/server.go:1494 +0x88 | |
github.com/docker/docker/api/server.func·008() | |
/go/src/github.com/docker/docker/api/server/server.go:1454 +0xb5b | |
net/http.HandlerFunc.ServeHTTP() | |
/usr/local/go/src/net/http/server.go:1265 +0x4e | |
github.com/gorilla/mux.(*Router).ServeHTTP() | |
/go/src/github.com/docker/docker/vendor/src/github.com/gorilla/mux/mux.go:98 +0x377 | |
net/http.serverHandler.ServeHTTP() | |
/usr/local/go/src/net/http/server.go:1703 +0x1f6 | |
net/http.(*conn).serve() | |
/usr/local/go/src/net/http/server.go:1204 +0x1087 | |
Goroutine 81 (running) created at: | |
github.com/docker/docker/graph.(*TagStore).pullV2Tag() | |
/go/src/github.com/docker/docker/graph/pull.go:528 +0x2c09 | |
github.com/docker/docker/graph.(*TagStore).pullV2Repository() | |
/go/src/github.com/docker/docker/graph/pull.go:398 +0xa76 | |
github.com/docker/docker/graph.(*TagStore).Pull() | |
/go/src/github.com/docker/docker/graph/pull.go:87 +0xe63 | |
github.com/docker/docker/api/server.(*Server).postImagesCreate() | |
/go/src/github.com/docker/docker/api/server/server.go:711 +0xefc | |
github.com/docker/docker/api/server.*Server.(github.com/docker/docker/api/server.postImagesCreate)·fm() | |
/go/src/github.com/docker/docker/api/server/server.go:1494 +0x88 | |
github.com/docker/docker/api/server.func·008() | |
/go/src/github.com/docker/docker/api/server/server.go:1454 +0xb5b | |
net/http.HandlerFunc.ServeHTTP() | |
/usr/local/go/src/net/http/server.go:1265 +0x4e | |
github.com/gorilla/mux.(*Router).ServeHTTP() | |
/go/src/github.com/docker/docker/vendor/src/github.com/gorilla/mux/mux.go:98 +0x377 | |
net/http.serverHandler.ServeHTTP() | |
/usr/local/go/src/net/http/server.go:1703 +0x1f6 | |
net/http.(*conn).serve() | |
/usr/local/go/src/net/http/server.go:1204 +0x1087 | |
================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment