sentry-go
sentry-go copied to clipboard
panic: assignment to entry in nil map
Summary
We got the following backtrace multiple times in crash-looping pods:
panic: assignment to entry in nil map
goroutine 93 [running]:
github.com/getsentry/sentry-go/internal/ratelimit.Map.Merge(0xc000b59d70?, 0xc0014ea500?)
/var/lib/jenkins/workspace/service-uhc-account-manager-gl-build-master/.gopath/pkg/mod/github.com/getsentry/[email protected]/internal/ratelimit/map.go:43 +0x108
github.com/getsentry/sentry-go.(*HTTPTransport).worker(0xc0000f41c0)
/var/lib/jenkins/workspace/service-uhc-account-manager-gl-build-master/.gopath/pkg/mod/github.com/getsentry/[email protected]/transport.go:400 +0x211
created by github.com/getsentry/sentry-go.(*HTTPTransport).Configure.func1
/var/lib/jenkins/workspace/service-uhc-account-manager-gl-build-master/.gopath/pkg/mod/github.com/getsentry/[email protected]/transport.go:257 +0x5a
Steps To Reproduce
We were unable to reproduce it manually.
SDK
sentry-goversion: 0.13.0- Go version: 1.18.1
- Using Go Modules? yes
Sentry
- Using hosted Sentry in sentry.io? no
- Using your own Sentry installation? Version: 9.1.2
- Anything particular to your environment that could be related to this issue?