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: index out of range error with doublecheck enabled in heapBitsSetType on 386 #40335

Open
martisch opened this issue Jul 21, 2020 · 0 comments
Milestone

Comments

@martisch
Copy link
Member

@martisch martisch commented Jul 21, 2020

go tip with GOOS=linux and GOARCH=386 bootstrapping from go1.4 fails with an index out of range error at:

end.bitp = addb(&mheap_.arenas[endAI.l1()][endAI.l2()].bitmap[0], heapArenaBitmapBytes)

when doublecheck is set to true:

const doubleCheck = false // slow but helpful; enable to test modifications to this code

I dont believe this is specific to the bootstrap process but this is the way I can trigger it reliably on different linux machines.

cc @aclements @mknyszek

@martisch martisch added this to the Go1.16 milestone Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.