Filebeat (7.6.2) crashes on fingerprint

filebeat crashes when adding fingerprint
Can you please take a look and confirm? Thanks.

Here is the stack trace:
...

panic: d.nx != 0

goroutine 113 [running]:
crypto/sha256.(*digest).checkSum(0xc000c0f950, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/crypto/sha256/sha256.go:234 +0x1d9
crypto/sha256.(*digest).Sum(0xc0000c6000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/crypto/sha256/sha256.go:210 +0x69
github.com/elastic/beats/libbeat/processors/fingerprint.(*fingerprint).Run(0xc00012e070, 0xc0000d0300, 0xc0000d0300, 0x0, 0x0)
	/go/src/github.com/elastic/beats/libbeat/processors/fingerprint/fingerprint.go:73 +0xd1
github.com/elastic/beats/libbeat/publisher/processing.(*group).Run(0xc0006c0450, 0xc0000d0300, 0xc0000d0300, 0x0, 0x0)
	/go/src/github.com/elastic/beats/libbeat/publisher/processing/processors.go:104 +0x94
github.com/elastic/beats/libbeat/publisher/processing.(*group).Run(0xc000781d70, 0xc0000d0300, 0xed62f4f4d, 0x0, 0xc000753ce0)
	/go/src/github.com/elastic/beats/libbeat/publisher/processing/processors.go:104 +0x94
github.com/elastic/beats/libbeat/publisher/pipeline.(*client).publish(0xc00070bc00, 0x391f483f, 0xed62f4f4d, 0x0, 0x0, 0xc000753f80, 0x31fb340, 0xc0004f3440, 0x0)
	/go/src/github.com/elastic/beats/libbeat/publisher/pipeline/client.go:89 +0x571
github.com/elastic/beats/libbeat/publisher/pipeline.(*client).Publish(0xc00070bc00, 0x391f483f, 0xed62f4f4d, 0x0, 0x0, 0xc000753f80, 0x31fb340, 0xc0004f3440, 0x0)
	/go/src/github.com/elastic/beats/libbeat/publisher/pipeline/client.go:68 +0xc2
github.com/elastic/beats/filebeat/channel.(*outlet).OnEvent(0xc000781e60, 0x391f483f, 0xed62f4f4d, 0x0, 0x0, 0xc000753f80, 0x31fb340, 0xc0004f3440, 0x0, 0x1)
	/go/src/github.com/elastic/beats/filebeat/channel/outlet.go:64 +0x7e
github.com/elastic/beats/filebeat/channel.SubOutlet.func1(0xc000d242a0, 0x37331e0, 0xc000781e60)
	/go/src/github.com/elastic/beats/filebeat/channel/util.go:45 +0x10d
created by github.com/elastic/beats/filebeat/channel.SubOutlet
	/go/src/github.com/elastic/beats/filebeat/channel/util.go:43 +0xf8

Hi @nickytd, this looks like a bug. Would you mind creating an issue for it in the Beats GitHub repository, please? https://github.com/elastic/beats/issues/new?template=bug-report.md

Please provide this stack trace but also some steps to reproduce. For instance, it would be helpful to know your Filebeat configuration at the time of the bug and ideally also the input event/log entry that resulted in this panic.

Thank you,

Shaunak

Here is a k8s-logging-helm chart that installs journalbeat filebeat, kibana and ES to reproduce on minikube.

Uncomment the section in the filebeat ConfigMap

Cheers
Niki

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.