database/sql.(*DB).conn: slice bounds out of range [:824640893215] with capacity 0 #41938
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
The problem occurs only sometimes, so reproducing is hard. The error happens on the latest released version.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
We're using
sql/database.DB.PingContext(...)
to check connectivity status to a postgres database in a handler, which is invoked in a goroutine. Sometimes the call crashes with an error that is beyond my understanding.What did you expect to see?
I want to either receive an error, or nil. Got panic instead.
What did you see instead?
The text was updated successfully, but these errors were encountered: