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

panic: runtime error: slice bounds out of range [6:5] #2835

Closed
Wsdt-cjm opened this issue Oct 30, 2023 · 0 comments
Closed

panic: runtime error: slice bounds out of range [6:5] #2835

Wsdt-cjm opened this issue Oct 30, 2023 · 0 comments

Comments

@Wsdt-cjm
Copy link

Host operating system: output of uname -a

Linux ubuntu 4.9.201-tegra #1 SMP PREEMPT Fri Feb 19 08:42:04 PST 2021 aarch64 aarch64 aarch64

node_exporter version: output of node_exporter --version

./node_exporter --version
node_exporter, version 1.6.1 (branch: HEAD, revision: 4a1b776
build user: root@b6e736fff7e1
build date: 20231010-20:59:25
go version: go1.20.10
platform: linux/arm64
tags: netgo osusergo static_build

node_exporter command line flags

./node_exporter

node_exporter log output

./node_exporter
ts=2023-10-30T02:23:58.384Z caller=node_exporter.go:180 level=info msg="Starting node_exporterh=HEAD, revision=4a1b77600c1873a8233f3ffb55afcedbb63b8d84)"
ts=2023-10-30T02:23:58.384Z caller=node_exporter.go:181 level=info msg="Build context" build_clinux/arm64, user=root@b6e736fff7e1, date=20231010-20:59:25, tags=netgo osusergo static_build)
ts=2023-10-30T02:23:58.386Z caller=diskstats_common.go:111 level=info collector=diskstats msg=ts.device-exclude" flag=^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\d+n\d+p)\d+$
ts=2023-10-30T02:23:58.386Z caller=filesystem_common.go:111 level=info collector=filesystem msystem.mount-points-exclude" flag=^/(dev|proc|run/credentials/.+|sys|var/lib/docker/.+|var/lib/
ts=2023-10-30T02:23:58.386Z caller=filesystem_common.go:113 level=info collector=filesystem msystem.fs-types-exclude" flag=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:110 level=info msg="Enabled collectors"
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=arp
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=bcache
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=bonding
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=btrfs
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=conntrack
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=cpu
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=cpufreq
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=diskstats
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=dmi
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=edac
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=entropy
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=fibrechannel
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=filefd
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=filesystem
ts=2023-10-30T02:23:58.391Z caller=node_exporter.go:117 level=info collector=hwmon
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=infiniband
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=ipvs
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=loadavg
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=mdadm
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=meminfo
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=netclass
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=netdev
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=netstat
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=nfs
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=nfsd
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=nvme
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=os
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=powersupplyclass
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=pressure
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=rapl
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=schedstat
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=selinux
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=sockstat
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=softnet
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=stat
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=tapestats
ts=2023-10-30T02:23:58.392Z caller=node_exporter.go:117 level=info collector=textfile
ts=2023-10-30T02:23:58.393Z caller=node_exporter.go:117 level=info collector=thermal_zone
ts=2023-10-30T02:23:58.393Z caller=node_exporter.go:117 level=info collector=time
ts=2023-10-30T02:23:58.393Z caller=node_exporter.go:117 level=info collector=timex
ts=2023-10-30T02:23:58.393Z caller=node_exporter.go:117 level=info collector=udp_queues
ts=2023-10-30T02:23:58.393Z caller=node_exporter.go:117 level=info collector=uname
ts=2023-10-30T02:23:58.393Z caller=node_exporter.go:117 level=info collector=vmstat
ts=2023-10-30T02:23:58.393Z caller=node_exporter.go:117 level=info collector=xfs
ts=2023-10-30T02:23:58.393Z caller=node_exporter.go:117 level=info collector=zfs
ts=2023-10-30T02:23:58.394Z caller=tls_config.go:274 level=info msg="Listening on" address=[::
ts=2023-10-30T02:23:58.394Z caller=tls_config.go:277 level=info msg="TLS is disabled." http2=f
panic: runtime error: slice bounds out of range [6:5]

goroutine 61 [running]:
github.com/prometheus/procfs/sysfs.filterOfflineCPUs(0x4000229a00?, 0x400025dbf0)
/bitnami/blacksmith-sandox/node-exporter-1.6.1/pkg/mod/github.com/prometheus/procfs@v0x214
github.com/prometheus/procfs/sysfs.FS.SystemCpufreq({{0x725519?, 0x4?}})
/bitnami/blacksmith-sandox/node-exporter-1.6.1/pkg/mod/github.com/prometheus/procfs@v0x1c8
github.com/prometheus/node_exporter/collector.(*cpuFreqCollector).Update(0x0?, 0x0?)
/bitnami/blacksmith-sandox/node-exporter-1.6.1/src/github.com/prometheus/node_exporter0x38
github.com/prometheus/node_exporter/collector.execute({0x72890e, 0x7}, {0x83fad8, 0x4000044320})
/bitnami/blacksmith-sandox/node-exporter-1.6.1/src/github.com/prometheus/node_exporter0
github.com/prometheus/node_exporter/collector.NodeCollector.Collect.func1({0x72890e?, 0x0?}, {
/bitnami/blacksmith-sandox/node-exporter-1.6.1/src/github.com/prometheus/node_exporterc
created by github.com/prometheus/node_exporter/collector.NodeCollector.Collect
/bitnami/blacksmith-sandox/node-exporter-1.6.1/src/github.com/prometheus/node_exporter8

Are you running node_exporter in Docker?

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant