xbusctl ps pause crash/traceback

Issue #124 resolved
Vincent Hatakeyama
created an issue

I used the ps pause command with an envelope id (--config /etc/xbusctl/xbusctl.yaml ps pause --envelope-id 3303c473-d23b-40f8-bc03-e9f81ef9b426).
I got this traceback instead of the pause of the process :

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

goroutine 1 [running]:
bitbucket.org/orus-io/xbus/cmd/xbusctl/cmd.glob..func23(0xef1940, 0xc42044c100, 0x0, 0x4)
    /tmp/build/a94a8fe5/go/src/bitbucket.org/orus-io/xbus/cmd/xbusctl/cmd/process.go:202 +0x1ba
bitbucket.org/orus-io/xbus/vendor/github.com/spf13/cobra.(*Command).execute(0xef1940, 0xc42044c040, 0x4, 0x4, 0xef1940, 0xc42044c040)
    /tmp/build/a94a8fe5/go/src/bitbucket.org/orus-io/xbus/vendor/github.com/spf13/cobra/command.go:766 +0x2b9
bitbucket.org/orus-io/xbus/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xef2060, 0xc420064058, 0x0, 0x0)
    /tmp/build/a94a8fe5/go/src/bitbucket.org/orus-io/xbus/vendor/github.com/spf13/cobra/command.go:852 +0x37e
bitbucket.org/orus-io/xbus/vendor/github.com/spf13/cobra.(*Command).Execute(0xef2060, 0xc42042d64b, 0xc4201bb200)
    /tmp/build/a94a8fe5/go/src/bitbucket.org/orus-io/xbus/vendor/github.com/spf13/cobra/command.go:800 +0x2b
bitbucket.org/orus-io/xbus/cmd/xbusctl/cmd.Execute()
    /tmp/build/a94a8fe5/go/src/bitbucket.org/orus-io/xbus/cmd/xbusctl/cmd/root.go:39 +0x31
main.main()
    /tmp/build/a94a8fe5/go/src/bitbucket.org/orus-io/xbus/cmd/xbusctl/main.go:8 +0x20

Comments (7)

  1. Log in to comment