Skip to content

runtime error: invalid memory address or nil pointer dereference #56

@StillFantastic

Description

@StillFantastic

It seems like Digitalocean just restarted my server and after that pmgo dosn't work anymore.

$ pmgo list
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7ae09e]

goroutine 1 [running]:
github.com/struCoder/pmgo/lib/master.(*RemoteClient).MonitStatus(0xc0000107a0, 0x8, 0xc0000107a0, 0xc000064f00, 0xc0000ffe08, 0x40d896)
	/root/go/src/github.com/struCoder/pmgo/lib/master/remote_master.go:218 +0xee
github.com/struCoder/pmgo/lib/cli.(*Cli).Status(0xc0000107a8)
	/root/go/src/github.com/struCoder/pmgo/lib/cli/cli.go:101 +0x46
main.main()
	/root/go/src/github.com/struCoder/pmgo/pmgo.go:124 +0x3d7
$ pmgo start . app
INFO[0000] daemon started                               
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7ae09e]

goroutine 1 [running]:
github.com/struCoder/pmgo/lib/master.(*RemoteClient).MonitStatus(0xc0000107a8, 0xc0000002b8, 0xc000064fb8, 0xc0000fdda0, 0x7a3c8c, 0xc0000fdda0)
	/root/go/src/github.com/struCoder/pmgo/lib/master/remote_master.go:218 +0xee
github.com/struCoder/pmgo/lib/cli.(*Cli).Status(0xc0000107b0)
	/root/go/src/github.com/struCoder/pmgo/lib/cli/cli.go:101 +0x46
main.main()
	/root/go/src/github.com/struCoder/pmgo/pmgo.go:103 +0x685

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions