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: reflect: call of reflect.Value.Index on int64 Value #164

Closed
dahu33 opened this issue Apr 1, 2021 · 0 comments
Closed

panic: reflect: call of reflect.Value.Index on int64 Value #164

dahu33 opened this issue Apr 1, 2021 · 0 comments

Comments

@dahu33
Copy link
Contributor

dahu33 commented Apr 1, 2021

I get the following panic message on one of our EKS clusters (all the clusters have the same fluent-bit config but only this one is getting a panic). It uses the "compatible" config described in AWS doc which currently uses the amazon/aws-for-fluent-bit:2.10.0 docker image.

panic: reflect: call of reflect.Value.Index on int64 Value

goroutine 17 [running, locked to thread]:
reflect.Value.Index(0x7f4ccb2e5840, 0x1c0008cdad8, 0x86, 0x0, 0x0, 0x7f4ccb366da0, 0x1c001234c90)
	/home/.gimme/versions/go1.13.linux.amd64/src/reflect/value.go:966 +0x1c8
github.com/fluent/fluent-bit-go/output.GetRecord(0x1c0014f0050, 0x1c0011c5c70, 0x1, 0x1c00125c9e0, 0x1c001234b70)
	/home/go/pkg/mod/github.com/fluent/[email protected]/output/decoder.go:80 +0x106
main.FLBPluginFlushCtx(0x7f4cbc86d0e8, 0x7f4cd32050b0, 0x7f4c00068d24, 0x7f4cb76761e0, 0x28)
	/cloudwatch/fluent-bit-cloudwatch.go:174 +0x1e4
main._cgoexpwrap_19a10b653c9e_FLBPluginFlushCtx(0x7f4cbc86d0e8, 0x7f4cd32050b0, 0x68d24, 0x7f4cb76761e0, 0x0)
	_cgo_gotypes.go:88 +0x49

Potentially relates to fluent/fluent-bit-go#34 and fluent/fluent-bit-go#29 which seem to have been fixed over 8 months ago but the fix never made it to this repo.

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

2 participants