acoshift/goreload

panic main.scanChanges.func1

Closed this issue · 0 comments

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1133e9c]

goroutine 1 [running]:
main.scanChanges.func1(0xc420180420, 0x11, 0x0, 0x0, 0x11aa0a0, 0xc4200f3530, 0x0, 0x0)
/Users/acoshift/go/src/github.com/acoshift/goreload/main.go:181 +0x13c
path/filepath.walk(0x118b919, 0x1, 0x11ab680, 0xc4203fa0d0, 0xc4200f3230, 0x0, 0x30)
/usr/local/Cellar/go/1.10/libexec/src/path/filepath/path.go:377 +0x20d
path/filepath.Walk(0x118b919, 0x1, 0xc4200f3230, 0x0, 0x0)
/usr/local/Cellar/go/1.10/libexec/src/path/filepath/path.go:403 +0x106
main.scanChanges(0x118b919, 0x1, 0xc42007a430, 0x1, 0x1, 0x1, 0xc42007e420)
/Users/acoshift/go/src/github.com/acoshift/goreload/main.go:166 +0x40
main.mainAction(0xc4200ac160)
/Users/acoshift/go/src/github.com/acoshift/goreload/main.go:124 +0x700
gopkg.in/urfave/cli%2ev1.HandleAction(0x114fcc0, 0x1195b90, 0xc4200ac160, 0xc42009e0c0, 0x0)
/Users/acoshift/go/src/gopkg.in/urfave/cli.v1/app.go:492 +0x7c
gopkg.in/urfave/cli%2ev1.(*App).Run(0xc420088680, 0xc420086080, 0x4, 0x4, 0x0, 0x0)
/Users/acoshift/go/src/gopkg.in/urfave/cli.v1/app.go:264 +0x5ee
main.main()
/Users/acoshift/go/src/github.com/acoshift/goreload/main.go:90 +0x7ed