Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All buffalo commands end up in a deadlock. #1659

Open
twisted1919 opened this issue May 3, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@twisted1919
Copy link

commented May 3, 2019

This is what i get out of a sudden when i run buffalo help buffalo dev etc:

$ buffalo help
fatal error: all goroutines are asleep - deadlock!

goroutine 1 [semacquire, locked to thread]:
sync.runtime_SemacquireMutex(0xc0003a5714, 0x0)
	/usr/local/go/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc0003a5710)
	/usr/local/go/src/sync/mutex.go:134 +0x109
sync.(*Once).Do(0xc0003a5710, 0xc00032cf70)
	/usr/local/go/src/sync/once.go:40 +0x3b
github.com/markbates/oncer.Do(0xc00028c3c0, 0x97, 0xc00032cf70)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/markbates/oncer@v0.0.0-20181203154359-bf2de49a0be2/oncer.go:12 +0xbb
github.com/gobuffalo/packr/v2/jam/parser.(*finder).findAllGoFilesImports(0xc0000ae8a0, 0xc00038ec40, 0x3d, 0xc00038ec40, 0x3d, 0x5, 0x8, 0x5)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/jam/parser/finder.go:51 +0x1db
github.com/gobuffalo/packr/v2/jam/parser.(*finder).findAllGoFilesImports.func1()
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/jam/parser/finder.go:92 +0x510
sync.(*Once).Do(0xc0000b2c90, 0xc00032d318)
	/usr/local/go/src/sync/once.go:44 +0xb3
github.com/markbates/oncer.Do(0xc00028c280, 0x96, 0xc00032d318)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/markbates/oncer@v0.0.0-20181203154359-bf2de49a0be2/oncer.go:12 +0xbb
github.com/gobuffalo/packr/v2/jam/parser.(*finder).findAllGoFilesImports(0xc0000ae8a0, 0xc000345e40, 0x3c, 0xc000345e40, 0x3c, 0x0, 0x0, 0x0)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/jam/parser/finder.go:51 +0x1db
github.com/gobuffalo/packr/v2/jam/parser.(*finder).findAllGoFilesImports.func1()
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/jam/parser/finder.go:92 +0x510
sync.(*Once).Do(0xc0003a5710, 0xc0001c36c0)
	/usr/local/go/src/sync/once.go:44 +0xb3
github.com/markbates/oncer.Do(0xc000223180, 0x97, 0xc0001c36c0)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/markbates/oncer@v0.0.0-20181203154359-bf2de49a0be2/oncer.go:12 +0xbb
github.com/gobuffalo/packr/v2/jam/parser.(*finder).findAllGoFilesImports(0xc0000ae8a0, 0xc00013ae80, 0x3d, 0xc00013ae80, 0x3d, 0x20, 0x1b556c0, 0xc00015f2c0)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/jam/parser/finder.go:51 +0x1db
github.com/gobuffalo/packr/v2/jam/parser.(*finder).findAllGoFilesImports.func1()
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/jam/parser/finder.go:92 +0x510
sync.(*Once).Do(0xc0000341d0, 0xc0001c3a68)
	/usr/local/go/src/sync/once.go:44 +0xb3
github.com/markbates/oncer.Do(0xc0001cc000, 0x8f, 0xc0001c3a68)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/markbates/oncer@v0.0.0-20181203154359-bf2de49a0be2/oncer.go:12 +0xbb
github.com/gobuffalo/packr/v2/jam/parser.(*finder).findAllGoFilesImports(0xc0000ae8a0, 0xc000036084, 0x35, 0x0, 0x0, 0x2, 0x2, 0x1)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/jam/parser/finder.go:51 +0x1db
github.com/gobuffalo/packr/v2/jam/parser.NewFromRoots(0x21cf300, 0x0, 0x0, 0xc0000ae860, 0xc0000cc000, 0x10, 0x1911880)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/jam/parser/roots.go:70 +0x969
github.com/gobuffalo/packr/v2.glob..func1()
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/packr.go:14 +0x5e
github.com/markbates/safe.Run.func1(0xc000000008, 0x1a49608)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/markbates/safe@v1.0.1/safe.go:12 +0x24
github.com/markbates/safe.RunE(0xc0000e1f08, 0x0, 0x0)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/markbates/safe@v1.0.1/safe.go:32 +0x55
github.com/markbates/safe.Run(0x1a492d0, 0x25, 0x1b549c0)
	/Users/markbates/Dropbox/go/pkg/mod/github.com/markbates/safe@v1.0.1/safe.go:11 +0x49
github.com/gobuffalo/packr/v2.init.ializers()
	/Users/markbates/Dropbox/go/pkg/mod/github.com/gobuffalo/packr/v2@v2.1.0/packr.go:13 +0x67

Any idea what might cause it?

Go 1.12 using modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.