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

dep init: panic (vendor/github.com/sdboyer) #304

Closed
xionglun opened this issue Mar 8, 2017 · 3 comments
Closed

dep init: panic (vendor/github.com/sdboyer) #304

xionglun opened this issue Mar 8, 2017 · 3 comments

Comments

@xionglun
Copy link

xionglun commented Mar 8, 2017

When I use dep init my project with command dep init, it panic

...
Cached gopkg.in/yaml.v2
Cached github.com/boltdb/bolt
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x133f61c]

goroutine 30 [running]:
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*SourceMgr).SyncSourceFor(0xc42009e9c0, 0xc420012580, 0x10, 0x0, 0x0, 0x0, 0x0)
	/Users/allen/dev/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source_manager.go:461 +0x10c
main.getProjectData.func1(0xc420012580, 0x10, 0xc42009e9c0)
	/Users/allen/dev/go/src/github.com/golang/dep/cmd/dep/init.go:251 +0x6c
created by main.getProjectData.func2
	/Users/allen/dev/go/src/github.com/golang/dep/cmd/dep/init.go:395 +0xb0d
@sdboyer
Copy link
Member

sdboyer commented Mar 8, 2017

Thanks for the report! This is a duplicate of #250, so closing.

@sdboyer sdboyer closed this as completed Mar 8, 2017
@krisnova
Copy link
Contributor

krisnova commented Mar 8, 2017

@xionglun This wouldn't happen to be an open source project that we could use to replicate this with? Trying to replicate now, but having issues finding a reliable way of hitting this.

@xionglun
Copy link
Author

xionglun commented Mar 9, 2017

@kris-nova It's maybe a GFW problem.
After update dep today and use a proxy, it works.
I will test more to figure out the real problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants