Skip to content

Instantly share code, notes, and snippets.

@rberger
Created February 20, 2014 06:38
Show Gist options
  • Save rberger/9108181 to your computer and use it in GitHub Desktop.
Save rberger/9108181 to your computer and use it in GitHub Desktop.
Panic in fleetctl status
$ fleetctl status myapp.service
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x4eb5fe]
goroutine 1 [running]:
runtime.panic(0x6cf360, 0xae0188)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/coreos/fleet/third_party/code.google.com/p/go.crypto/ssh.clientWithAddress(0x7f530239e8d8, 0xc210000538, 0xc210000518, 0x3, 0x0, ...)
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/third_party/code.google.com/p/go.crypto/ssh/client.go:43 +0x2e
github.com/coreos/fleet/third_party/code.google.com/p/go.crypto/ssh.Dial(0x7380e0, 0x3, 0xc210000518, 0x3, 0x0, ...)
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/third_party/code.google.com/p/go.crypto/ssh/client.go:433 +0xab
github.com/coreos/fleet/ssh.NewSSHClient(0x732be0, 0x4, 0xc210000518, 0x3, 0x1, ...)
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/ssh/ssh.go:83 +0x6f
main.printUnitStatus(0xc210051ea0, 0xc210000290, 0x7fff04d196ef, 0xd)
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/fleetctl/status.go:62 +0x637
main.statusUnitsAction(0xc210051ea0)
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/fleetctl/status.go:43 +0xf9
github.com/coreos/fleet/third_party/github.com/codegangsta/cli.Command.Run(0x737d00, 0x6, 0x0, 0x0, 0x79c4f0, ...)
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/third_party/github.com/codegangsta/cli/command.go:73 +0x994
github.com/coreos/fleet/third_party/github.com/codegangsta/cli.(*App).Run(0xc210083000, 0xc21000a000, 0x3, 0x3, 0x7, ...)
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/third_party/github.com/codegangsta/cli/app.go:111 +0x855
main.main()
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/fleetctl/cmd.go:99 +0x9c4
goroutine 3 [chan receive]:
github.com/coreos/fleet/third_party/github.com/golang/glog.(*loggingT).flushDaemon(0xae56e0)
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/third_party/github.com/golang/glog/glog.go:839 +0x50
created by github.com/coreos/fleet/third_party/github.com/golang/glog.init·1
/build/amd64-generic/tmp/portage/app-admin/fleet-0.1.2/work/fleet-0.1.2/src/github.com/coreos/fleet/third_party/github.com/golang/glog/glog.go:406 +0x276
goroutine 4 [syscall]:
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394
goroutine 7 [runnable]:
net/http.(*persistConn).readLoop(0xc210069600)
/usr/lib/go/src/pkg/net/http/transport.go:778 +0x68f
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:528 +0x607
goroutine 8 [select]:
net/http.(*persistConn).writeLoop(0xc210069600)
/usr/lib/go/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/usr/lib/go/src/pkg/net/http/transport.go:529 +0x61e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment