Skip to content

Instantly share code, notes, and snippets.

@methane methane/01.stacktrace Secret
Last active Dec 27, 2018

Embed
What would you like to do?
blog用
runtime: pointer 0xc007b8af97 to unused region of span span.base()=0xc004000000 span.limit=0xc004002000 span.state=1
fatal error: found bad pointer in Go heap (incorrect use of unsafe or cgo?)
runtime stack:
runtime.throw(0xc046ca, 0x3e)
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/panic.go:608 +0x72 fp=0xc0001dff00 sp=0xc0001dfed0 pc=0x42bf02
runtime.findObject(0xc007b8af97, 0x0, 0x0, 0xc005eb4780, 0x7f3d1915b7b8, 0x5)
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/mbitmap.go:399 +0x3b6 fp=0xc0001dff50 sp=0xc0001dff00 pc=0x413bf6
runtime.wbBufFlush1(0xc000047900)
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/mwbbuf.go:252 +0xd1 fp=0xc0001dffb8 sp=0xc0001dff50 pc=0x428121
runtime.wbBufFlush.func1()
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/mwbbuf.go:195 +0x3a fp=0xc0001dffd0 sp=0xc0001dffb8 pc=0x457e1a
runtime.systemstack(0x0)
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/asm_amd64.s:351 +0x66 fp=0xc0001dffd8 sp=0xc0001dffd0 pc=0x459af6
runtime.mstart()
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/proc.go:1229 fp=0xc0001dffe0 sp=0xc0001dffd8 pc=0x4307d0
goroutine 105 [running]:
runtime.systemstack_switch()
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/asm_amd64.s:311 fp=0xc0002a4a38 sp=0xc0002a4a30 pc=0x459a80
runtime.wbBufFlush(0xc003db66e8, 0x0)
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/mwbbuf.go:194 +0x4e fp=0xc0002a4a58 sp=0xc0002a4a38 pc=0x427fbe
runtime.gcWriteBarrier(0x0, 0x16, 0x0, 0x100000000000099, 0x0, 0x14, 0xc0050c80c0, 0x0, 0x3, 0xc000047970, ...)
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/asm_amd64.s:1420 +0xb4 fp=0xc0002a4ae0 sp=0xc0002a4a58 pc=0x45baa4
runtime.freedefer(0xc003db66c0)
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/panic.go:305 +0x167 fp=0xc0002a4b60 sp=0xc0002a4ae0 pc=0x42b347
runtime.deferreturn(0xc004d53200)
/usr/local/Cellar/go/1.11.2/libexec/src/runtime/panic.go:364 +0x6f fp=0xc0002a4ba8 sp=0xc0002a4b60 pc=0x42b4cf
(snip)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.