Skip to content
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

segfault in cronjob probing #2783

Closed
rade opened this issue Aug 1, 2017 · 0 comments
Closed

segfault in cronjob probing #2783

rade opened this issue Aug 1, 2017 · 0 comments
Labels
bug Broken end user or developer functionality; not working as the developers intended it k8s Pertains to integration with Kubernetes
Milestone

Comments

@rade
Copy link
Member

rade commented Aug 1, 2017

This was reported by user on slack; they are running 1.6.1

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

goroutine 446 [running]:
github.com/weaveworks/scope/probe/kubernetes.(*cronJob).GetNode(0xc4262b7bc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/weaveworks/scope/probe/kubernetes/cronjob.go:70 +0x19e
github.com/weaveworks/scope/probe/kubernetes.(*Reporter).cronJobTopology.func1(0x2f194a0, 0xc4262b7bc0, 0x2f194a0, 0xc4262b7bc0)
	/go/src/github.com/weaveworks/scope/probe/kubernetes/reporter.go:368 +0x64
github.com/weaveworks/scope/probe/kubernetes.(*client).WalkCronJobs(0xc4202b82a0, 0xc423bcdd40, 0x0, 0x0)
	/go/src/github.com/weaveworks/scope/probe/kubernetes/client.go:313 +0x1b5
github.com/weaveworks/scope/probe/kubernetes.(*Reporter).cronJobTopology(0xc42026f0a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/weaveworks/scope/probe/kubernetes/reporter.go:371 +0x3f1
github.com/weaveworks/scope/probe/kubernetes.(*Reporter).Report(0xc42026f0a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/weaveworks/scope/probe/kubernetes/reporter.go:253 +0x26d
github.com/weaveworks/scope/probe.(*Probe).report.func1(0xc42040a510, 0xc4211f57a0, 0x2f01dc0, 0xc42026f0a0)
	/go/src/github.com/weaveworks/scope/probe/probe.go:155 +0x118
created by github.com/weaveworks/scope/probe.(*Probe).report
/go/src/github.com/weaveworks/scope/probe/probe.go:165 +0xec
@rade rade added bug Broken end user or developer functionality; not working as the developers intended it k8s Pertains to integration with Kubernetes labels Aug 1, 2017
@rade rade added this to the 1.6.2 milestone Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken end user or developer functionality; not working as the developers intended it k8s Pertains to integration with Kubernetes
Projects
None yet
Development

No branches or pull requests

1 participant