[Bug 294181] sysutils/beats8: segfault
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Apr 2026 11:40:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294181
Bug ID: 294181
Summary: sysutils/beats8: segfault
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: elastic@FreeBSD.org
Reporter: girgen@FreeBSD.org
Flags: maintainer-feedback?(elastic@FreeBSD.org)
Assignee: elastic@FreeBSD.org
We get a panic after updating to beats8-8.19.13.
It can be mitigated by turning of the self-report mopdule by
logging.metrics.enabled: false
{"log.level":"info","@timestamp":"2026-04-01T13:28:47.400+0200","log.logger":"monitoring","log.origin":{"function":"runtime.gopanic","file.name":"runtime/panic.go","file.line":783},"message":"Stopping
metrics logging.","service.name":"filebeat","ecs.version":"1.6.0"}
panic: runtime error: invalid memory address or nil pointer dereference
[recovered, repanicked]
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2d58b1b]
goroutine 224 [running]:
github.com/elastic/elastic-agent-libs/monitoring.(*Func).Visit(0x8785c0240?,
0x6f?, {0x1079408?, 0x8785c0240?})
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/metrics.go:299
+0x1b
github.com/elastic/elastic-agent-libs/monitoring.(*Registry).doVisit(0x8786c48c0,
0x1, {0x1079408, 0x8785c0240})
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/registry.go:86
+0x1b5
github.com/elastic/elastic-agent-libs/monitoring.(*Registry).Visit(0x8785c0240?,
0xf4?, {0x1079408?, 0x8785c0240?})
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/registry.go:68
+0x1d
github.com/elastic/elastic-agent-libs/monitoring.(*Registry).doVisit(0x5b55200,
0x1, {0x1079408, 0x8785c0240})
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/registry.go:86
+0x1b5
github.com/elastic/elastic-agent-libs/monitoring.(*Registry).Visit(...)
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/registry.go:68
github.com/elastic/elastic-agent-libs/monitoring.CollectFlatSnapshot(0x28ddd85?,
0x1, 0x0)
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/snapshot.go:63
+0x105
github.com/elastic/beats/v7/libbeat/monitoring/report/log.makeSnapshot(...)
github.com/elastic/beats/v7/libbeat/monitoring/report/log/log.go:206
github.com/elastic/beats/v7/libbeat/monitoring/report/log.(*reporter).snapshotLoop.func1()
github.com/elastic/beats/v7/libbeat/monitoring/report/log/log.go:155
+0x13e
panic({0x532ee0?, 0x589df20?})
runtime/panic.go:783 +0x132
github.com/elastic/elastic-agent-libs/monitoring.(*Func).Visit(0x8785c01c0?,
0x6f?, {0x1079408?, 0x8785c01c0?})
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/metrics.go:299
+0x1b
github.com/elastic/elastic-agent-libs/monitoring.(*Registry).doVisit(0x8786c48c0,
0x1, {0x1079408, 0x8785c01c0})
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/registry.go:86
+0x1b5
github.com/elastic/elastic-agent-libs/monitoring.(*Registry).Visit(0x8785c01c0?,
0xf4?, {0x1079408?, 0x8785c01c0?})
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/registry.go:68
+0x1d
github.com/elastic/elastic-agent-libs/monitoring.(*Registry).doVisit(0x5b55200,
0x1, {0x1079408, 0x8785c01c0})
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/registry.go:86
+0x1b5
github.com/elastic/elastic-agent-libs/monitoring.(*Registry).Visit(...)
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/registry.go:68
github.com/elastic/elastic-agent-libs/monitoring.CollectFlatSnapshot(0x878311cc8?,
0x1, 0x0)
github.com/elastic/elastic-agent-libs@v0.33.3/monitoring/snapshot.go:63
+0x105
github.com/elastic/beats/v7/libbeat/monitoring/report/log.makeSnapshot(...)
github.com/elastic/beats/v7/libbeat/monitoring/report/log/log.go:206
github.com/elastic/beats/v7/libbeat/monitoring/report/log.(*reporter).snapshotLoop(0x87863c820)
github.com/elastic/beats/v7/libbeat/monitoring/report/log/log.go:174
+0x3be
github.com/elastic/beats/v7/libbeat/monitoring/report/log.MakeReporter.func1()
github.com/elastic/beats/v7/libbeat/monitoring/report/log/log.go:139
+0x49
created by
github.com/elastic/beats/v7/libbeat/monitoring/report/log.MakeReporter in
goroutine 1
github.com/elastic/beats/v7/libbeat/monitoring/report/log/log.go:137
+0x2af
--
You are receiving this mail because:
You are the assignee for the bug.