coroot-node-agent
coroot-node-agent copied to clipboard
Crashes on instrumentPython : panic: runtime error: index out of range [0] with length 0
docker-compsoe.yml
services:
node-agent:
restart: always
image: ghcr.io/coroot/coroot-node-agent:1.27.0
# pull_policy: always
privileged: true
pid: "host"
volumes:
- /sys/kernel/tracing:/sys/kernel/tracing
- /sys/kernel/debug:/sys/kernel/debug
- /sys/fs/cgroup:/host/sys/fs/cgroup
- ./data:/data
command:
- '--collector-endpoint=http://192.168.0.10:8080'
- '--cgroupfs-root=/host/sys/fs/cgroup'
- '--wal-dir=/data'
kernel: 5.10.0-60.43.0.72.oe2203.x86_64
Log Output:
node-agent-1 | I1206 15:29:28.311861 281376 registry.go:368] "ignoring" cg="" pid=68
node-agent-1 | I1206 15:29:28.311883 281376 registry.go:363] calculated container id 84 -> ->
node-agent-1 | I1206 15:29:28.311888 281376 registry.go:368] "ignoring" cg="" pid=84
node-agent-1 | panic: runtime error: index out of range [0] with length 0
node-agent-1 |
node-agent-1 | goroutine 647 [running]:
node-agent-1 | github.com/coroot/coroot-node-agent/containers.(*Process).instrumentPython(0xc00036f3f0, {0xc00026ce00?, 0x1?, 0xc001be8f90?}, 0xc000ab1b80)
node-agent-1 | /tmp/src/containers/process.go:113 +0x2e5
node-agent-1 | github.com/coroot/coroot-node-agent/containers.(*Process).instrument(0xc00036f3f0, 0xc000ab1b80)
node-agent-1 | /tmp/src/containers/process.go:89 +0x192
node-agent-1 | created by github.com/coroot/coroot-node-agent/containers.NewProcess in goroutine 46
node-agent-1 | /tmp/src/containers/process.go:56 +0x112
node-agent-1 exited with code 2