-
Notifications
You must be signed in to change notification settings - Fork 317
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
panic: runtime error: invalid memory address or nil pointer dereference #132
Comments
I have exactly the same problem. |
I'm getting a similar stacktrace, mine only shows up when using the |
I think this just happened to me as well. I had it running and reloading an app just fine: I then ran
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
uname -v
#35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018
gin run app.go
[gin] Listening on port 3000
[gin] Building...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x68c0d6]
goroutine 1 [running]:
syscall.syscall.WaitStatus.ExitStatus(...)
/usr/local/go/src/os/exec_posix.go:73
os.(*ProcessState).os.success(...)
/usr/local/go/src/os/exec_posix.go:73
os.(*ProcessState).Success(...)
/usr/local/go/src/os/exec.go:142
github.com/codegangsta/gin/lib.(*builder).Build(0xc42006a2a0, 0xc42005d360, 0x1)
/home/taras/go/src/github.com/codegangsta/gin/lib/builder.go:62 +0x316
main.build(0x968c60, 0xc42006a2a0, 0x9699e0, 0xc42006a300, 0xc420088280)
/home/taras/go/src/github.com/codegangsta/gin/main.go:234 +0xc1
main.MainAction(0xc4200bc840)
/home/taras/go/src/github.com/codegangsta/gin/main.go:203 +0xa9c
gopkg.in/urfave/cli%2ev1.HandleAction(0x732fa0, 0x7cb500, 0xc4200bc840, 0xc42006a200, 0x0)
/home/taras/go/src/gopkg.in/urfave/cli.v1/app.go:492 +0x7c
gopkg.in/urfave/cli%2ev1.Command.Run(0x7b48ed, 0x3, 0x7b465f, 0x1, 0x0, 0x0, 0x0, 0x7c3c58, 0x32, 0x0, ...)
/home/taras/go/src/gopkg.in/urfave/cli.v1/command.go:210 +0xa95
gopkg.in/urfave/cli%2ev1.(*App).Run(0xc4200849c0, 0xc420010090, 0x3, 0x3, 0x0, 0x0)
/home/taras/go/src/gopkg.in/urfave/cli.v1/app.go:255 +0x6f8
main.main()
/home/taras/go/src/github.com/codegangsta/gin/main.go:140 +0xdc8
The text was updated successfully, but these errors were encountered: