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: VirtualAlloc of 505413632 bytes failed with errno=487 on windows buildbot #20634

Closed
mikioh opened this issue Jun 9, 2017 · 4 comments

Comments

@mikioh
Copy link
Contributor

mikioh commented Jun 9, 2017

See https://build.golang.org/log/b4ba26bd8ca310b020793e8b8667aaf13fd65cc9.

Buildbots has started failing w/ CL 45113 and 45114, which contain a test case that claims a growing of slice from (len:0xc, cap:0x10) to (len:0x14, cap:0x20? maybe) in the append operation at https://github.com/golang/net/blob/master/internal/socket/socket.go#L200.

Looks like this issue already happened in Go 1.7, see #14638, and there are no other complaints.

@mikioh mikioh changed the title runtime: VirtualAlloc of 505413632 bytes failed with errno=487 on windows/386 buildbot runtime: VirtualAlloc of 505413632 bytes failed with errno=487 on windows buildbot Jun 9, 2017
@mikioh
Copy link
Contributor Author

mikioh commented Jun 9, 2017

Also on windows/amd64: https://build.golang.org/log/22ed6085158eec0ec2246e869517fb31ae3df4c9

runtime: VirtualAlloc of 1233911808 bytes failed with errno=1455
fatal error: runtime: cannot map pages in arena address space

@gopherbot
Copy link

CL https://golang.org/cl/45290 mentions this issue.

@gopherbot
Copy link

CL https://golang.org/cl/45291 mentions this issue.

@mikioh
Copy link
Contributor Author

mikioh commented Jun 9, 2017

Nope, this is an issue in internal/socket package. I forgot that the cmsghdr on Windows is defined as zero-sized stuff, stub ABI like type cmsghdr struct{}.

@mikioh mikioh closed this as completed Jun 9, 2017
@golang golang locked and limited conversation to collaborators Jun 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants