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: "found bad pointer in Go heap" on solaris-amd64-oraclerel builder #37502

Open
bcmills opened this issue Feb 27, 2020 · 9 comments
Open
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Solaris
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Feb 27, 2020

2020-02-26T23:27:55-12cd55c/solaris-amd64-oraclerel

##### ../doc/codewalk
runtime: pointer 0xc00033c002 to unallocated span span.base()=0xc00033c000 span.limit=0xc00033dee0 span.state=0
runtime: found in object at *(0xc000230000+0x0)
object=0xc000230000 s.base()=0xc000230000 s.limit=0xc000232000 s.spanclass=10 s.elemsize=64 s.state=mSpanInUse
 *(object+0) = 0xc00033c002 <==
 *(object+8) = 0x9
 *(object+16) = 0xc00033c00e
 *(object+24) = 0x10
 *(object+32) = 0xc00033c021
 *(object+40) = 0xb
 *(object+48) = 0xc00033c02f
 *(object+56) = 0xc
fatal error: found bad pointer in Go heap (incorrect use of unsafe or cgo?)

The doc/codewalk test is pretty simple (no unsafe or cgo and only a little concurrency), so I suspect this is a runtime or platform bug.

Compare #35541, #32324, #28054.

CC @mknyszek, @cherrymui @aclements

@bcmills bcmills added OS-Solaris NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Feb 27, 2020
@bcmills bcmills added this to the Backlog milestone Feb 27, 2020
@networkimprov
Copy link

Also #37506

@bcmills
Copy link
Contributor Author

bcmills commented Feb 27, 2020

@networkimprov, I don't think there is enough evidence on #37506 to suggest a link. (For all we know, that one really could just be incorrect use of unsafe or cgo.)

@dFionov

This comment has been minimized.

@mengzhuo

This comment has been minimized.

@dFionov

This comment has been minimized.

@mengzhuo

This comment has been minimized.

@dFionov

This comment has been minimized.

@gopherbot
Copy link

Change https://golang.org/cl/227811 mentions this issue: runtime: only shrink stack while preempting

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Solaris
Projects
Status: Triage Backlog
Development

No branches or pull requests

5 participants