You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
Hi! We appreciate the issue. This one's a duplicate of #351, so gonna close this out in favor of that.
With future issues, if possible, please indicate the project you were running against (so that we can try to replicate), and include the trace output (via dep {init,ensure} -v).
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x114d488]
goroutine 1 [running]:
github.com/golang/dep/gps/pkgtree.wmToReach.func3(0xc420150550, 0x1, 0x1, 0xc42044c5c1, 0x32)
/Users/myuser//Go/src/github.com/golang/dep/gps/pkgtree/pkgtree.go:613 +0x78
github.com/golang/dep/gps/pkgtree.wmToReach.func4(0xc42044c5c1, 0x32, 0xc420150550, 0x1, 0x1, 0xc420150501)
/Users/myuser//Go/src/github.com/golang/dep/gps/pkgtree/pkgtree.go:752 +0x462
github.com/golang/dep/gps/pkgtree.wmToReach.func4(0xc42039a7e0, 0x2e, 0xc420150550, 0x1, 0x1, 0x1)
/Users/myuser//Go/src/github.com/golang/dep/gps/pkgtree/pkgtree.go:709 +0xd08
github.com/golang/dep/gps/pkgtree.wmToReach(0xc420645f68, 0xc420645f01, 0xc420645f28, 0xc42007f0e8)
/Users/myuser//Go/src/github.com/golang/dep/gps/pkgtree/pkgtree.go:791 +0xd1c
github.com/golang/dep/gps/pkgtree.PackageTree.ToReachMap(0xc4201a8160, 0x19, 0xc4201a0120, 0x10001, 0xc420201140, 0x166e580, 0xc42044eea0)
/Users/myuser//Go/src/github.com/golang/dep/gps/pkgtree/pkgtree.go:482 +0x2c0
github.com/golang/dep/gps.(*solver).getImportsAndConstraintsOf(0xc42069fc20, 0xc4201a8160, 0x19, 0x0, 0x0, 0x166e580, 0xc42044eea0, 0xc42033ea00, 0x4, 0x4, ...)
/Users/myuser//Go/src/github.com/golang/dep/gps/solver.go:548 +0x1f7
github.com/golang/dep/gps.(*solver).check(0xc42069fc20, 0xc4201a8160, 0x19, 0x0, 0x0, 0x166e580, 0xc42044eea0, 0xc42033ea00, 0x4, 0x4, ...)
/Users/myuser//Go/src/github.com/golang/dep/gps/satisfy.go:38 +0x238
github.com/golang/dep/gps.(*solver).findValidVersion(0xc42069fc20, 0xc420214500, 0xc42033ea00, 0x4, 0x4, 0x0, 0xc42033ea00)
/Users/myuser//Go/src/github.com/golang/dep/gps/solver.go:818 +0x2d5
github.com/golang/dep/gps.(*solver).createVersionQueue(0xc42069fc20, 0xc4201a8160, 0x19, 0x0, 0x0, 0xc42033ea00, 0x4, 0x4, 0x0, 0x0, ...)
/Users/myuser//Go/src/github.com/golang/dep/gps/solver.go:791 +0xafc
github.com/golang/dep/gps.(*solver).solve(0xc42069fc20, 0x0, 0x0, 0x2b)
/Users/myuser//Go/src/github.com/golang/dep/gps/solver.go:408 +0x471
github.com/golang/dep/gps.(*solver).Solve(0xc42069fc20, 0x50, 0x166a220, 0x16b7e08, 0xc42001a029)
/Users/myuser//Go/src/github.com/golang/dep/gps/solver.go:359 +0xab
main.(*initCommand).Run(0xc4201536a1, 0xc420138d20, 0xc42000c1c0, 0x0, 0x0, 0x0, 0x0)
/Users/myuser//Go/src/github.com/golang/dep/cmd/dep/init.go:166 +0xd66
main.main()
/Users/myuser//Go/src/github.com/golang/dep/cmd/dep/main.go:128 +0x6c2
The text was updated successfully, but these errors were encountered: