Description
What version of Go are you using (go version
)?
$ go version
1.16.15
Does this issue reproduce with the latest release?
Yes, 1.17.6, 1.17.7 and 1.17.8 reproduce
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env
centos8 linux ,x86-64
What did you do?
There are a lot of code changes that have been running normally in one production environment, and often crashed and exited in another environment.
What did you expect to see?
What did you see instead?
220308.175025 runtime: pointer 0xe9f4d95300 to unused region of span span.base()=0xc311776000 span. limit=0xc311778000 span.state=1
520308.175025 fatal error: found bad pointer in Go heap ( incorrect use of unsafe or cgo?)
220308.175025
220308.175025 runtime stack:
220308.175025 runtime.throw(0x8ee39b, 0x3e)
220308.175025 /usr/local/go/src/runtime/panic.go:1117+0x72 fp=0x7f7227ffed88 sp=0x7f7227ffed58 pc=0x43b3f2
220308.175025 runtime.badpointer(0x7f6f0ba6bae0, 0xe9f4d95300, 0x0, 0x0)
220308.175025 /usr/local/go/src/runtime/mbitmap.go:351+0x235 fp=0x7f7227ffeddo sp=0x7f7227ffed88 pc=0x418db5
220308.175025 runtime. findobiect(oxe9f4d95300, 0x0, 0x0, 0xd9b9938b00, 0x7f6ff8305d50, 0xb)
220308.175025 /usr/local/go/src/runtime/mbitmap .go: 387 +0x9b fp=0x7f7227ffee08 sp=0x7f7227ffedd0 pc=0x418e7b
220308.175025 runtime.wbbuffFlush1(0xc000043000)
220308.175025 /usr/local/go/src/runtime/mwbbuf.go:260+0xa8 fp=0x7f7227ffee60 sp=0x7f7227ffee08 pc=0x4360e8
220308.175025 runtime.wbBuffFush.func1()
220308.175025 /usr/local/go/src/runtime/mwbbuf.qo:201+0x3afp=0x7f7227ffee78sp=0x7f7227ffee60pc=0x46b69a
220308.175025 runtime.systemstack(0xc01bd82180)
220308.175025 /usr/local/go/src/runtime/asm_amd 64.s:379+0x66 fp=0x7f7227ffee80 sp=0x7f7227ffee78 pc=0x4721c6
220308.175025 runtime.mstart()
220308.175025 /usr/local/go/src/runtime/proc.go:1246 fp=0x7f7227ffee88 sp=0x7f7227ffee80 pc=0x4406c0
220308.175025