Skip to content
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: error message: late gcWork put #29254

Closed
minux opened this issue Dec 14, 2018 · 3 comments
Closed

runtime: error message: late gcWork put #29254

minux opened this issue Dec 14, 2018 · 3 comments
Labels
FrozenDueToAge GarbageCollector NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Milestone

Comments

@minux
Copy link
Member

minux commented Dec 14, 2018

My recent trybot run for CL 154109 found one interesting crash in runtime.
https://storage.googleapis.com/go-build-log/d5d034d0/misc-vet-vetall_30cbb812.log

runtime: late gcWork put
ptrs=0xc000068000 s.base()=0xc000068000 s.limit=0xc000069fe0 s.spanclass=14 s.elemsize=96 s.state=mSpanInUse
 *(ptrs+0) = 0xc00028cf00
 *(ptrs+8) = 0x0
 *(ptrs+16) = 0x0
 *(ptrs+24) = 0x0
 *(ptrs+32) = 0x0
 *(ptrs+40) = 0x0
 *(ptrs+48) = 0x0
 *(ptrs+56) = 0x0
 *(ptrs+64) = 0x0
 *(ptrs+72) = 0x0
 *(ptrs+80) = 0x0
 *(ptrs+88) = 0x0
fatal error: throwOnGCWork

runtime stack:
runtime.throw(0x9d6590, 0xd)
	/workdir/go/src/runtime/panic.go:608 +0x72
runtime.(*gcWork).checkPut(0xc00002d270, 0x0, 0xc00002d2a8, 0x1, 0x200)
	/workdir/go/src/runtime/mgcwork.go:131 +0x10b
runtime.(*gcWork).putBatch(0xc00002d270, 0xc00002d2a8, 0x1, 0x200)
	/workdir/go/src/runtime/mgcwork.go:199 +0x5f
runtime.wbBufFlush1(0xc00002c000)
	/workdir/go/src/runtime/mwbbuf.go:277 +0x1c8
runtime.wbBufFlush.func1()
	/workdir/go/src/runtime/mwbbuf.go:200 +0x3a
runtime.systemstack(0x0)
	/workdir/go/src/runtime/asm_amd64.s:351 +0x66
runtime.mstart()
	/workdir/go/src/runtime/proc.go:1153

/cc @aclements @RLH

@minux minux added GarbageCollector NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker labels Dec 14, 2018
@minux minux added this to the Go1.12 milestone Dec 14, 2018
@ianlancetaylor
Copy link
Contributor

I believe that @aclements is tracking that problem in #27993.

@minux
Copy link
Member Author

minux commented Dec 14, 2018 via email

@minux
Copy link
Member Author

minux commented Dec 14, 2018

Assuming duplicate of #27993, closing.

@minux minux closed this as completed Dec 14, 2018
@golang golang locked and limited conversation to collaborators Dec 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge GarbageCollector NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. release-blocker
Projects
None yet
Development

No branches or pull requests

3 participants