Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

fatal error: concurrent map writes #136

Closed
franciscocpg opened this issue Jan 24, 2017 · 3 comments · Fixed by #205
Closed

fatal error: concurrent map writes #136

franciscocpg opened this issue Jan 24, 2017 · 3 comments · Fixed by #205
Labels

Comments

@franciscocpg
Copy link

I run dep init in one of my projects and after sometime (it took a long time, #131 (comment)) it generated lock.json and manifest.json.

Then I removed these two files and run again but now using time to measure: time dep init
And I got this:

fatal error: concurrent map writes

goroutine 1 [running]:
runtime.throw(0x8109c0, 0x15)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/panic.go:566 +0x95 fp=0xc4204d4348 sp=0xc4204d4328
runtime.mapassign1(0x7a0c80, 0xc42022c5a0, 0xc4204d4520, 0xc4204d4510)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/hashmap.go:458 +0x8ef fp=0xc4204d4430 sp=0xc4204d4348
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*gitSource).listVersions(0xc420606180, 0xc42041aee0, 0x1a, 0x0, 0x0, 0x9bede0)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/vcs_source.go:126 +0x48f fp=0xc4204d45c8 sp=0xc4204d4430
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*SourceMgr).ListVersions(0xc42008e840, 0xc42041aee0, 0x1a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source_manager.go:395 +0x1f6 fp=0xc4204d4620 sp=0xc4204d45c8
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*bridge).ListVersions(0xc4201bc400, 0xc42041aee0, 0x1a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9be720)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/bridge.go:94 +0x138 fp=0xc4204d4700 sp=0xc4204d4620
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).unselectedComparator(0xc4201061e0, 0x2, 0x0, 0x50)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:991 +0x30a fp=0xc4204d48c8 sp=0xc4204d4700
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).(github.com/golang/dep/vendor/github.com/sdboyer/gps.unselectedComparator)-fm(0x2, 0x0, 0xc42040ab40)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:276 +0x3e fp=0xc4204d48f8 sp=0xc4204d48c8
github.com/golang/dep/vendor/github.com/sdboyer/gps.unselected.Less(0xc420175400, 0x3, 0x10, 0xc420457500, 0x2, 0x0, 0x0)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/selection.go:160 +0x3a fp=0xc4204d4920 sp=0xc4204d48f8
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*unselected).Less(0xc420424140, 0x2, 0x0, 0x0)
	<autogenerated>:84 +0x81 fp=0xc4204d4968 sp=0xc4204d4920
container/heap.up(0x9bd940, 0xc420424140, 0x2)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/container/heap/heap.go:93 +0x64 fp=0xc4204d49a0 sp=0xc4204d4968
container/heap.Push(0x9bd940, 0xc420424140, 0x7d6e40, 0xc42040ab40)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/container/heap/heap.go:54 +0x7e fp=0xc4204d49c8 sp=0xc4204d49a0
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).selectAtom(0xc4201061e0, 0xc420424960, 0x1b, 0x0, 0x0, 0x9be8a0, 0xc420412200, 0xc420424c40, 0x2, 0x2, ...)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:1109 +0xace fp=0xc4204d5328 sp=0xc4204d49c8
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).solve(0xc4201061e0, 0x0, 0x0, 0xc4203dbd10)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:389 +0x5aa fp=0xc4204d56c0 sp=0xc4204d5328
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).Solve(0xc4201061e0, 0x38, 0xc4200140db, 0x21, 0xc420144e40)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:317 +0x8e fp=0xc4204d58d8 sp=0xc4204d56c0
main.(*initCommand).Run(0x9f8188, 0xc42000c560, 0x0, 0x0, 0x0, 0x0)
	/home/francisco/go/src/github.com/golang/dep/init.go:153 +0x102f fp=0xc4204d5db0 sp=0xc4204d58d8
main.main()
	/home/francisco/go/src/github.com/golang/dep/main.go:100 +0x68b fp=0xc4204d5f38 sp=0xc4204d5db0
runtime.main()
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/proc.go:183 +0x1f4 fp=0xc4204d5f90 sp=0xc4204d5f38
runtime.goexit()
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc4204d5f98 sp=0xc4204d5f90

goroutine 17 [syscall, 1 minutes, locked to thread]:
runtime.goexit()
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/asm_amd64.s:2086 +0x1

goroutine 5 [syscall, 1 minutes]:
os/signal.signal_recv(0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/sigqueue.go:116 +0x157
os/signal.loop()
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.1
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/signal/signal_unix.go:28 +0x41

goroutine 6 [select, 1 minutes, locked to thread]:
runtime.gopark(0x845880, 0x0, 0x80ab55, 0x6, 0x18, 0x2)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/proc.go:259 +0x13a
runtime.selectgoImpl(0xc42002c730, 0x0, 0x18)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/select.go:423 +0x11d9
runtime.selectgo(0xc42002c730)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/select.go:238 +0x1c
runtime.ensureSigM.func1()
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/signal1_unix.go:304 +0x2f3
runtime.goexit()
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/asm_amd64.s:2086 +0x1

goroutine 7 [select, 1 minutes]:
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*SourceMgr).HandleSignals.func1(0xc42008e840, 0xc4201a78c0, 0xc4201a7a40)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source_manager.go:207 +0x28b
created by github.com/golang/dep/vendor/github.com/sdboyer/gps.(*SourceMgr).HandleSignals
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source_manager.go:243 +0xb4

goroutine 70 [IO wait, 1 minutes]:
net.runtime_pollWait(0x7f9e78505d80, 0x72, 0x6)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/netpoll.go:160 +0x59
net.(*pollDesc).wait(0xc420173250, 0x72, 0xc4200419d0, 0xc420012118)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/fd_poll_runtime.go:73 +0x38
net.(*pollDesc).waitRead(0xc420173250, 0x9b9220, 0xc420012118)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/fd_poll_runtime.go:78 +0x34
net.(*netFD).Read(0xc4201731f0, 0xc42050e000, 0x1000, 0x1000, 0x0, 0x9b9220, 0xc420012118)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/fd_unix.go:243 +0x1a1
net.(*conn).Read(0xc420244198, 0xc42050e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/net.go:173 +0x70
net/http.(*persistConn).Read(0xc42000b100, 0xc42050e000, 0x1000, 0x1000, 0x5e1000, 0xc420041b58, 0x41a7ad)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1261 +0x154
bufio.(*Reader).fill(0xc4203d91a0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/bufio/bufio.go:97 +0x10c
bufio.(*Reader).Peek(0xc4203d91a0, 0x1, 0xc420041bbd, 0x1, 0x1, 0xc4203d9200, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/bufio/bufio.go:129 +0x62
net/http.(*persistConn).readLoop(0xc42000b100)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1418 +0x1a1
created by net/http.(*Transport).dialConn
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1062 +0x4e9

goroutine 237 [syscall]:
syscall.Syscall(0x0, 0xc, 0xc4201ed200, 0x200, 0x200, 0x5e0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0xc, 0xc4201ed200, 0x200, 0x200, 0x7f9e785d14b0, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/syscall/zsyscall_linux_amd64.go:783 +0x55
syscall.Read(0xc, 0xc4201ed200, 0x200, 0x200, 0x0, 0xc420470800, 0xc42008d860)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/syscall/syscall_unix.go:161 +0x49
os.(*File).read(0xc4201c60c8, 0xc4201ed200, 0x200, 0x200, 0x5200cb, 0x784f60, 0x200)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/file_unix.go:228 +0x4f
os.(*File).Read(0xc4201c60c8, 0xc4201ed200, 0x200, 0x200, 0xc42008d860, 0x9b6ee0, 0xc420027620)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/file.go:101 +0x59
bytes.(*Buffer).ReadFrom(0xc42015e230, 0x9b7c20, 0xc4201c60c8, 0xc420027688, 0x423f01, 0xc420027690)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/bytes/buffer.go:176 +0x155
io.copyBuffer(0x9b6ae0, 0xc42015e230, 0x9b7c20, 0xc4201c60c8, 0x0, 0x0, 0x0, 0xc4201a7858, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/io/io.go:384 +0x323
io.Copy(0x9b6ae0, 0xc42015e230, 0x9b7c20, 0xc4201c60c8, 0x7816e0, 0xc4201a7800, 0xc420027790)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/io/io.go:360 +0x68
os/exec.(*Cmd).writerDescriptor.func1(0x7816e0, 0xc4201a7800)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/exec/exec.go:253 +0x4d
os/exec.(*Cmd).Start.func1(0xc420326840, 0xc420433380)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/exec/exec.go:370 +0x27
created by os/exec.(*Cmd).Start
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/exec/exec.go:371 +0x4db

goroutine 40 [IO wait]:
net.runtime_pollWait(0x7f9e78505f00, 0x72, 0x4)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/netpoll.go:160 +0x59
net.(*pollDesc).wait(0xc4202901b0, 0x72, 0xc42003d758, 0xc420012118)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/fd_poll_runtime.go:73 +0x38
net.(*pollDesc).waitRead(0xc4202901b0, 0x9b9220, 0xc420012118)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/fd_poll_runtime.go:78 +0x34
net.(*netFD).Read(0xc420290150, 0xc42029a400, 0x400, 0x400, 0x0, 0x9b9220, 0xc420012118)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/fd_unix.go:243 +0x1a1
net.(*conn).Read(0xc4201c6058, 0xc42029a400, 0x400, 0x400, 0x0, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/net.go:173 +0x70
crypto/tls.(*block).readFromUntil(0xc4201bf0b0, 0x7f9e78541078, 0xc4201c6058, 0x5, 0xc4201c6058, 0x120f4e759d97ed01)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/crypto/tls/conn.go:476 +0x91
crypto/tls.(*Conn).readRecord(0xc420296000, 0x845917, 0xc420296108, 0xc420274000)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/crypto/tls/conn.go:578 +0xc4
crypto/tls.(*Conn).Read(0xc420296000, 0xc420136000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/crypto/tls/conn.go:1113 +0x116
bufio.(*Reader).fill(0xc420072900)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/bufio/bufio.go:97 +0x10c
bufio.(*Reader).Read(0xc420072900, 0xc420197bf8, 0x9, 0x9, 0xfef, 0x11, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/bufio/bufio.go:209 +0x1bc
io.ReadAtLeast(0x9b6a20, 0xc420072900, 0xc420197bf8, 0x9, 0x9, 0x9, 0xc42003dc80, 0x5ba50e, 0xc420296000)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/io/io.go:307 +0xa4
io.ReadFull(0x9b6a20, 0xc420072900, 0xc420197bf8, 0x9, 0x9, 0x0, 0x0, 0xc42003dcd8)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/io/io.go:325 +0x58
net/http.http2readFrameHeader(0xc420197bf8, 0x9, 0x9, 0x9b6a20, 0xc420072900, 0x0, 0xc400000000, 0x649925, 0xc4203666c0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/h2_bundle.go:779 +0x7b
net/http.(*http2Framer).ReadFrame(0xc420197bc0, 0xc4204536a0, 0x0, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/h2_bundle.go:1001 +0xa4
net/http.(*http2clientConnReadLoop).run(0xc42003df80, 0x845318, 0xc420028790)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/h2_bundle.go:6004 +0xbb
net/http.(*http2ClientConn).readLoop(0xc420066d00)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/h2_bundle.go:5937 +0xa6
created by net/http.(*http2Transport).newClientConn
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/h2_bundle.go:5314 +0x709

goroutine 12 [IO wait, 1 minutes]:
net.runtime_pollWait(0x7f9e78505e40, 0x72, 0x5)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/netpoll.go:160 +0x59
net.(*pollDesc).wait(0xc42015e370, 0x72, 0xc4204dc6f0, 0xc420012118)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/fd_poll_runtime.go:73 +0x38
net.(*pollDesc).waitRead(0xc42015e370, 0x9b9220, 0xc420012118)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/fd_poll_runtime.go:78 +0x34
net.(*netFD).Read(0xc42015e310, 0xc4204fa000, 0x1000, 0x1000, 0x0, 0x9b9220, 0xc420012118)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/fd_unix.go:243 +0x1a1
net.(*conn).Read(0xc42002e070, 0xc4204fa000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/net.go:173 +0x70
crypto/tls.(*block).readFromUntil(0xc420145800, 0x7f9e78541078, 0xc42002e070, 0x5, 0xc42002e070, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/crypto/tls/conn.go:476 +0x91
crypto/tls.(*Conn).readRecord(0xc4204f4000, 0x845917, 0xc4204f4108, 0xc420276ea0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/crypto/tls/conn.go:578 +0xc4
crypto/tls.(*Conn).Read(0xc4204f4000, 0xc4204fb000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/crypto/tls/conn.go:1113 +0x116
net/http.(*persistConn).Read(0xc420280100, 0xc4204fb000, 0x1000, 0x1000, 0x5e1000, 0xc4204dcb58, 0x41a7ad)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1261 +0x154
bufio.(*Reader).fill(0xc4201d32c0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/bufio/bufio.go:97 +0x10c
bufio.(*Reader).Peek(0xc4201d32c0, 0x1, 0xc4204dcbbd, 0x1, 0x0, 0xc4201d3320, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/bufio/bufio.go:129 +0x62
net/http.(*persistConn).readLoop(0xc420280100)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1418 +0x1a1
created by net/http.(*Transport).dialConn
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1062 +0x4e9

goroutine 13 [select, 1 minutes]:
net/http.(*persistConn).writeLoop(0xc420280100)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1646 +0x3bd
created by net/http.(*Transport).dialConn
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1063 +0x50e

goroutine 71 [select, 1 minutes]:
net/http.(*persistConn).writeLoop(0xc42000b100)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1646 +0x3bd
created by net/http.(*Transport).dialConn
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/net/http/transport.go:1063 +0x50e

goroutine 315 [runnable]:
path/filepath.Join(0xc42052bc78, 0x2, 0x2, 0x19, 0x19)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/path/filepath/path.go:204
os/exec.LookPath(0x809996, 0x3, 0x809996, 0x3, 0xc42052be01, 0x2)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/exec/lp_unix.go:52 +0x166
os/exec.Command(0x809996, 0x3, 0xc42052be38, 0x2, 0x2, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/exec/exec.go:135 +0x1ff
github.com/golang/dep/vendor/github.com/Masterminds/vcs.(*base).RunFromDir(0xc420188080, 0x809996, 0x3, 0xc42052be38, 0x2, 0x2, 0xc4203c55c0, 0xc4203c5600, 0x2, 0x2, ...)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/Masterminds/vcs/repo.go:224 +0x57
github.com/golang/dep/vendor/github.com/Masterminds/vcs.(*GitRepo).Update(0xc420188080, 0x5, 0x23)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/Masterminds/vcs/git.go:134 +0xae
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*baseVCSSource).syncLocal(0xc420606180, 0x0, 0x0)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source.go:311 +0x194
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*SourceMgr).SyncSourceFor(0xc42008e840, 0xc42041aee0, 0x1a, 0x0, 0x0, 0x0, 0x0)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source_manager.go:461 +0x18a
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*bridge).SyncSourceFor(0xc4201bc400, 0xc42041aee0, 0x1a, 0x0, 0x0, 0x1, 0xc42041ff40)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/bridge.go:353 +0x5b
created by github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).selectAtom
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:1085 +0x581

goroutine 245 [syscall]:
syscall.Syscall6(0xf7, 0x1, 0x6670, 0xc42058a780, 0x1000004, 0x0, 0x0, 0x7a7fe0, 0xc4205296a0, 0x4487fe)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/syscall/asm_linux_amd64.s:44 +0x5
os.(*Process).blockUntilWaitable(0xc4203805a0, 0x845448, 0xc420326840, 0xc420433380)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/wait_waitid.go:28 +0xbc
os.(*Process).wait(0xc4203805a0, 0x0, 0x42569e, 0xc4201c60e0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/exec_unix.go:22 +0xab
os.(*Process).Wait(0xc4203805a0, 0xc4204dd7b8, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/doc.go:49 +0x2b
os/exec.(*Cmd).Wait(0xc420326840, 0x0, 0x0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/exec/exec.go:434 +0x6d
os/exec.(*Cmd).Run(0xc420326840, 0xc42015e230, 0x810870)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/exec/exec.go:279 +0x48
os/exec.(*Cmd).CombinedOutput(0xc420326840, 0x2, 0x2, 0xc42047b400, 0x52, 0xa0)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/os/exec/exec.go:494 +0x140
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*gitSource).doListVersions(0xc4201a7740, 0x47, 0xc4203509f3, 0x4, 0x5887b91c, 0xc42021f530)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/vcs_source.go:140 +0x188
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*gitSource).listVersions(0xc4201a7740, 0xc42021f688, 0xc42021f690, 0x4b936e, 0xc42021f688, 0xc42021f698)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/vcs_source.go:112 +0x25a
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*gitSource).(github.com/golang/dep/vendor/github.com/sdboyer/gps.listVersions)-fm(0xc4201a7740, 0x0, 0x0, 0x0, 0x466a10)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/maybe_source.go:84 +0x2a
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*baseVCSSource).syncLocal(0xc4201a7740, 0x0, 0x0)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source.go:302 +0x107
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*SourceMgr).SyncSourceFor(0xc42008e840, 0xc42035ec80, 0x10, 0x0, 0x0, 0x0, 0x0)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source_manager.go:461 +0x18a
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*bridge).SyncSourceFor(0xc4201bc400, 0xc42035ec80, 0x10, 0x0, 0x0, 0x9bac20, 0xc420435a60)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/bridge.go:353 +0x5b
created by github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).selectAtom
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:1085 +0x581

goroutine 293 [semacquire]:
sync.runtime_Semacquire(0xc4201a7774)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/runtime/sema.go:47 +0x30
sync.(*Mutex).Lock(0xc4201a7770)
	/home/francisco/.linuxbrew/Cellar/go/1.7.4_1/libexec/src/sync/mutex.go:85 +0xd0
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*baseVCSSource).syncLocal(0xc4201a7740, 0x0, 0x0)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source.go:286 +0x4c
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*SourceMgr).SyncSourceFor(0xc42008e840, 0xc42035ec80, 0x10, 0x0, 0x0, 0x0, 0x0)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source_manager.go:461 +0x18a
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*bridge).SyncSourceFor(0xc4201bc400, 0xc42035ec80, 0x10, 0x0, 0x0, 0x9bac20, 0xc42045ff60)
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/bridge.go:353 +0x5b
created by github.com/golang/dep/vendor/github.com/sdboyer/gps.(*solver).selectAtom
	/home/francisco/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/solver.go:1085 +0x581
dep init  6,35s user 1,31s system 12% cpu 1:01,11 total

Trying to run again, I get this

getSourceManager: cache lock file /home/francisco/go/pkg/dep/sm.lock exists - another process crashed or is still running?
dep init  0,00s user 0,00s system 69% cpu 0,006 total

So I removed $GOPATH/pkg/dep/sm.lock and after running again

dep init  6,25s user 1,22s system 16% cpu 46,238 total
@sdboyer
Copy link
Member

sdboyer commented Jan 24, 2017

Yep, known issue - see sdboyer/gps#156. I'll keep this one open here so that we have a reference point on this side.

Thanks for the detailed report!

@jessfraz jessfraz added the bug label Jan 25, 2017
@peterbourgon
Copy link
Contributor

I just got this. Does gps need to be updated?

@sdboyer
Copy link
Member

sdboyer commented Jan 31, 2017

I've been trying to get my 0.14.0 milestone done before merging in the latest version, just so that we can get off tracking the branch. But that's likely to take another day or two, so I can just roll a PR that brings us to the latest in the meantime.

krisnova pushed a commit to krisnova/dep that referenced this issue Apr 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants