Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@polachok
Created July 19, 2016 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save polachok/7f4ac9ed0297aa197ef5d9852c161e48 to your computer and use it in GitHub Desktop.
Save polachok/7f4ac9ed0297aa197ef5d9852c161e48 to your computer and use it in GitHub Desktop.
ebanina
fatal error: concurrent map read and map write
goroutine 565633 [running]:
runtime.throw(0x1fb2020, 0x21)
/usr/local/go/src/runtime/panic.go:547 +0x90 fp=0xc8213895a0 sp=0xc821389588
runtime.mapaccess2_faststr(0x175d060, 0xc820a961b0, 0xc821b0f100, 0xf, 0xc8209e8a48, 0x6fc601)
/usr/local/go/src/runtime/hashmap_fast.go:307 +0x5b fp=0xc821389600 sp=0xc8213895a0
github.com/docker/libnetwork.(*sandbox).resolveName(0xc8208ce1e0, 0xc821b0f100, 0xf, 0x1dc7b28, 0x0, 0xc8214ad760, 0x1, 0x1, 0x1dd7200, 0x2, ...)
/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox.go:585 +0x383 fp=0xc8213896f0 sp=0xc821389600
github.com/docker/libnetwork.(*sandbox).ResolveName(0xc8208ce1e0, 0xc821b0f100, 0xf, 0x2, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox.go:533 +0x5d7 fp=0xc8213898b0 sp=0xc8213896f0
github.com/docker/libnetwork.(*resolver).handleIPQuery(0xc820091100, 0xc821b0f100, 0x10, 0xc820afda70, 0x2, 0x21de874, 0x0, 0x0)
/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/resolver.go:243 +0x6f fp=0xc821389ac8 sp=0xc8213898b0
github.com/docker/libnetwork.(*resolver).ServeDNS(0xc820091100, 0x7f398c1cdc70, 0xc822bc9a40, 0xc820afda70)
/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/resolver.go:370 +0x1975 fp=0xc821389d98 sp=0xc821389ac8
github.com/miekg/dns.(*Server).serve(0xc82093aea0, 0x7f398f2be060, 0xc8227710e0, 0x7f398c1910b0, 0xc820091100, 0xc8212c6600, 0x21, 0x200, 0xc82055ef68, 0xc8222ba380, ...)
/go/src/github.com/docker/docker/vendor/src/github.com/miekg/dns/server.go:535 +0x7c8 fp=0xc821389f48 sp=0xc821389d98
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc821389f50 sp=0xc821389f48
created by github.com/miekg/dns.(*Server).serveUDP
/go/src/github.com/docker/docker/vendor/src/github.com/miekg/dns/server.go:489 +0x3d5
goroutine 565632 [runnable]:
sync.runtime_Semacquire(0xc820af69f8)
/usr/local/go/src/runtime/sema.go:46
sync.(*Mutex).Lock(0xc820af69f4)
/usr/local/go/src/sync/mutex.go:83 +0x1c4
github.com/docker/libnetwork.(*network).getController(0xc820af68c0, 0x0)
/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/network.go:1129 +0x3d
github.com/docker/libnetwork.(*sandbox).resolveName(0xc8208ce1e0, 0xc821b0d580, 0xf, 0x1dc7b28, 0x0, 0xc820027d48, 0x1, 0x1, 0xc82213c000, 0x1, ...)
/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox.go:578 +0x267
github.com/docker/libnetwork.(*sandbox).ResolveName(0xc8208ce1e0, 0xc821b0d580, 0xf, 0x1, 0x0, 0x0, 0x0, 0xc821bfe340)
/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/sandbox.go:533 +0x5d7
github.com/docker/libnetwork.(*resolver).handleIPQuery(0xc820091100, 0xc821b0d580, 0x10, 0xc8216b38c0, 0x1, 0x21de874, 0x0, 0x0)
/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/resolver.go:243 +0x6f
github.com/docker/libnetwork.(*resolver).ServeDNS(0xc820091100, 0x7f398c1cdc70, 0xc8218ac930, 0xc8216b38c0)
/go/src/github.com/docker/docker/vendor/src/github.com/docker/libnetwork/resolver.go:368 +0x162
github.com/miekg/dns.(*Server).serve(0xc82093aea0, 0x7f398f2be060, 0xc822771080, 0x7f398c1910b0, 0xc820091100, 0xc8212c6000, 0x21, 0x200, 0xc82055ef68, 0xc8222ba340, .
..)
/go/src/github.com/docker/docker/vendor/src/github.com/miekg/dns/server.go:535 +0x7c8
created by github.com/miekg/dns.(*Server).serveUDP
/go/src/github.com/docker/docker/vendor/src/github.com/miekg/dns/server.go:489 +0x3d5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment