- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 301
Open
swarmpit/agent
#12Labels
kind/bugSomething isn't workingSomething isn't working
Description
Description
Steps to reproduce the issue:
Don't know how to reproduce, it just happens on some machines
2018/07/05 08:35:56 INFO: Waiting for Swarmpit...
2018/07/05 08:36:01 INFO: Swarmpit OK
2018/07/05 08:36:01 INFO: Event collector started.
2018/07/05 08:36:01 INFO: Stats collector started.
2018/07/05 08:36:01 INFO: Swarmpit agent listening on port 8080
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x180 pc=0x6b5767]
goroutine 9643 [running]:
github.com/swarmpit/agent/swarmpit/task.ContainerUsage(0xc4200f9e00, 0xc4207da140, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/travis/gopath/src/github.com/swarmpit/agent/swarmpit/task/stats.go:159 +0x437
github.com/swarmpit/agent/swarmpit/task.ContainersUsage.func1(0xc4202d8310, 0xc4200f9e00, 0xc4202d8360, 0xc4204b6540, 0xc4207da140, 0x40, 0xc4206b83c0, 0x1, 0x4, 0xc420015600, ...)
	/home/travis/gopath/src/github.com/swarmpit/agent/swarmpit/task/stats.go:126 +0x87
created by github.com/swarmpit/agent/swarmpit/task.ContainersUsage
	/home/travis/gopath/src/github.com/swarmpit/agent/swarmpit/task/stats.go:124 +0x1ef
What happens:
Container dies
What should happen:
Additional information (e.g. docker version, cluster setup,...):
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working