Skip to content

Instantly share code, notes, and snippets.

@runcom
Created May 24, 2015 20:31
Show Gist options
  • Save runcom/c8be5b347dfc1deddba3 to your computer and use it in GitHub Desktop.
Save runcom/c8be5b347dfc1deddba3 to your computer and use it in GitHub Desktop.
race stats native driver 1
==================
WARNING: DATA RACE
Write by goroutine 32:
runtime.mapassign1()
/usr/local/go/src/runtime/hashmap.go:383 +0x0
github.com/docker/docker/daemon/execdriver/native.(*driver).Run()
/go/src/github.com/docker/docker/daemon/execdriver/native/driver.go:142 +0x7cb
github.com/docker/docker/daemon.(*Daemon).Run()
/go/src/github.com/docker/docker/daemon/daemon.go:1033 +0xe1
github.com/docker/docker/daemon.(*containerMonitor).Start()
/go/src/github.com/docker/docker/daemon/monitor.go:138 +0x784
github.com/docker/docker/daemon.*containerMonitor.Start·fm()
/go/src/github.com/docker/docker/daemon/container.go:703 +0x46
github.com/docker/docker/pkg/promise.func·001()
/go/src/github.com/docker/docker/pkg/promise/promise.go:8 +0x4f
Previous read by goroutine 27:
runtime.mapaccess1_faststr()
/usr/local/go/src/runtime/hashmap_fast.go:179 +0x0
github.com/docker/docker/daemon/execdriver/native.(*driver).Stats()
/go/src/github.com/docker/docker/daemon/execdriver/native/driver.go:338 +0xbe
github.com/docker/docker/daemon.(*Daemon).Stats()
/go/src/github.com/docker/docker/daemon/daemon.go:1041 +0xaa
github.com/docker/docker/daemon.(*Container).Stats()
/go/src/github.com/docker/docker/daemon/container.go:727 +0x69
github.com/docker/docker/daemon.(*statsCollector).run()
/go/src/github.com/docker/docker/daemon/stats_collector.go:108 +0x534
Goroutine 32 (running) created at:
github.com/docker/docker/pkg/promise.Go()
/go/src/github.com/docker/docker/pkg/promise/promise.go:9 +0x159
github.com/docker/docker/daemon.(*Container).waitForStart()
/go/src/github.com/docker/docker/daemon/container.go:703 +0x3c4
github.com/docker/docker/daemon.(*Container).Start()
/go/src/github.com/docker/docker/daemon/container.go:273 +0x5b2
github.com/docker/docker/daemon.(*Container).initializeNetworking()
/go/src/github.com/docker/docker/daemon/container_linux.go:795 +0x928
github.com/docker/docker/daemon.(*Container).Start()
/go/src/github.com/docker/docker/daemon/container.go:251 +0x2de
github.com/docker/docker/daemon.(*Daemon).ContainerStart()
/go/src/github.com/docker/docker/daemon/start.go:35 +0x2b2
github.com/docker/docker/api/server.(*Server).postContainersStart()
/go/src/github.com/docker/docker/api/server/server.go:1001 +0x207
github.com/docker/docker/api/server.*Server.(github.com/docker/docker/api/server.postContainersStart)·fm()
/go/src/github.com/docker/docker/api/server/server.go:1503 +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 27 (running) created at:
github.com/docker/docker/daemon.newStatsCollector()
/go/src/github.com/docker/docker/daemon/stats_collector.go:29 +0x18b
github.com/docker/docker/daemon.NewDaemon()
/go/src/github.com/docker/docker/daemon/daemon.go:863 +0x3390
main.mainDaemon()
/go/src/github.com/docker/docker/docker/daemon.go:143 +0xc7d
main.main()
/go/src/github.com/docker/docker/docker/docker.go:92 +0x94f
==================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment