-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
runtime: fatal error: found pointer to free object #47513
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Comments
Looks like memory corruption. Have you tested the program under the race detector? |
bcmills
added
the
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
label
Aug 3, 2021
Thanks your reply. I tested it just now and found many RACE WARNING.
I will try to fix it . |
It's probably safe to say that you could close this issue. it should not manifest itself after fixing the races. |
Agreed, closing for now. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I built a version of my program with a minor code change, and run after first cleaning the go.sum file. I then deployed that version of the program to my staging environment, all linux/amd64 machines.
When it crash, I restart all program and it work correctly. I can not reproduce it.
What did you expect to see?
The program to start up normally on all hosts.
What did you see instead?
On about half of the hosts, the program crashed on startup with slight variations on this message:
0xc0000c65b0 free unmarked
0xc0000c6620 free marked zombie
000000c0000c6620: 223a226469227b5b 222c223539333731
000000c0000c6630: 38223a22656d616e 8de59389e6889ce6
000000c0000c6640: 229888e6918ce6a1 7765725f7369222c
000000c0000c6650: 2231223a22647261 657079745f63222c
000000c0000c6660: 70222c2230223a22 2230223a2264695f
000000c0000c6670: 6f6c635f7369222c 2c2231223a226b63
000000c0000c6680: 223a226570797422 000000005d7d2231
0xc0000c6690 free unmarked
0xc0000c6700 free unmarked
0xc0000c6770 free unmarked
0xc0000c67e0 free unmarked
0xc0000c6850 free unmarked
0xc0000c68c0 free unmarked
0xc0000c6930 free unmarked
0xc0000c69a0 free unmarked
0xc0000c6a10 free unmarked
0xc0000c6a80 free unmarked
0xc0000c6af0 free unmarked
0xc0000c6b60 free unmarked
0xc0000c6bd0 free unmarked
0xc0000c6c40 free unmarked
0xc0000c6cb0 free unmarked
0xc0000c6d20 free unmarked
0xc0000c6d90 free unmarked
0xc0000c6e00 free unmarked
0xc0000c6e70 free unmarked
0xc0000c6ee0 free unmarked
0xc0000c6f50 alloc marked
0xc0000c6fc0 free unmarked
0xc0000c7030 free unmarked
0xc0000c70a0 free unmarked
0xc0000c7110 free unmarked
0xc0000c7180 free unmarked
0xc0000c71f0 free unmarked
0xc0000c7260 free unmarked
0xc0000c72d0 free unmarked
0xc0000c7340 free unmarked
0xc0000c73b0 free unmarked
0xc0000c7420 free unmarked
0xc0000c7490 free unmarked
0xc0000c7500 free unmarked
0xc0000c7570 free unmarked
0xc0000c75e0 free unmarked
0xc0000c7650 free unmarked
0xc0000c76c0 free unmarked
0xc0000c7730 free unmarked
0xc0000c77a0 free unmarked
0xc0000c7810 free unmarked
0xc0000c7880 free unmarked
0xc0000c78f0 free unmarked
0xc0000c7960 free unmarked
0xc0000c79d0 free unmarked
0xc0000c7a40 free unmarked
0xc0000c7ab0 free unmarked
0xc0000c7b20 free unmarked
0xc0000c7b90 free unmarked
0xc0000c7c00 free unmarked
0xc0000c7c70 free unmarked
0xc0000c7ce0 free unmarked
0xc0000c7d50 free unmarked
0xc0000c7dc0 free unmarked
0xc0000c7e30 free unmarked
0xc0000c7ea0 free unmarked
0xc0000c7f10 free unmarked
0xc0000c7f80 free unmarked
fatal error: found pointer to free object
runtime stack:
runtime.throw(0x11e2f9d, 0x1c)
/usr/local/go/src/runtime/panic.go:1116 +0x72
runtime.(*mspan).reportZombies(0x7f5cd9334b10)
/usr/local/go/src/runtime/mgcsweep.go:827 +0x376
runtime.(*mspan).sweep(0x7f5cd9334b10, 0xc000600100, 0x0)
/usr/local/go/src/runtime/mgcsweep.go:451 +0x81b
runtime.(*mcentral).uncacheSpan(0x1a77218, 0x7f5cd9334b10)
/usr/local/go/src/runtime/mcentral.go:383 +0xec
runtime.(*mcache).releaseAll(0x7f5cd932a108)
/usr/local/go/src/runtime/mcache.go:162 +0x6a
runtime.(*mcache).prepareForSweep(0x7f5cd932a108)
/usr/local/go/src/runtime/mcache.go:189 +0x46
runtime.acquirep(0xc000040000)
/usr/local/go/src/runtime/proc.go:4467 +0x3d
runtime.stopm()
/usr/local/go/src/runtime/proc.go:1926 +0xed
runtime.findrunnable(0xc000042800, 0x0)
/usr/local/go/src/runtime/proc.go:2485 +0xa7f
runtime.schedule()
/usr/local/go/src/runtime/proc.go:2683 +0x2d7
runtime.goschedImpl(0xc000102300)
/usr/local/go/src/runtime/proc.go:2866 +0xda
runtime.gosched_m(0xc000102300)
/usr/local/go/src/runtime/proc.go:2874 +0x34
runtime.mcall(0x800000)
/usr/local/go/src/runtime/asm_amd64.s:318 +0x5b
It is similar with issue #37688
The text was updated successfully, but these errors were encountered: