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/race: crash in racereadrangepc #5175

dvyukov opened this issue Apr 1, 2013 · 1 comment

runtime/race: crash in racereadrangepc #5175

dvyukov opened this issue Apr 1, 2013 · 1 comment


Copy link

dvyukov commented Apr 1, 2013

$ go test -race
crashed inside __tsan_read_range on shadow memory for address 0x7ECC00 which is:

00000000007c3da0 0000000000003ec0 b semtable
00000000007c7c60 0000000000005240 b bufferList
00000000007ccea0 0000000000010000 B
00000000007dcea0 0000000000010000 B
00000000007ecea0 B end
00000000007ecea0 B enoptrbss

I suspect it has something do to with the way we map shadow for globals, both address
and size are not rounded to page size:
runtime∕race·MapShadow(noptrdata, enoptrbss - noptrdata);
so unaligned ending ends up not mapped.
Copy link
Member Author

dvyukov commented Apr 3, 2013

Comment 1:

This issue was closed by revision 12b7db3.

Status changed to Fixed.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

3 participants