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

Go doesn't run under a grsec kernel #5223

Closed
gopherbot opened this issue Apr 5, 2013 · 3 comments
Closed

Go doesn't run under a grsec kernel #5223

gopherbot opened this issue Apr 5, 2013 · 3 comments

Comments

@gopherbot
Copy link

by CMT.miniBill:

What steps will reproduce the problem?
===
1. Install go on a normal kernel
2. Try to run /usr/bin/go on a grsec kernel
3. It crashes believing to be out of memory

What is the expected output?
===
Go is a tool for managing Go source code.

Usage:
...

What do you see instead?
===
throw: out of memory (FixAlloc)

Which compiler are you using (5g, 6g, 8g, gccgo)?
===
I don't know

Which operating system are you using?
===
Gentoo Linux

Which version are you using?  (run 'go version')
===
I can't run 'go version'. Eix reports 1.0.3

Please provide any additional information below.

this is the tail of a strace

mmap(NULL, 131072, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
-1 EPERM (Operation not permitted)
write(2, "throw: ", 7throw: )                  = 7
write(2, "out of memory (FixAlloc)", 24out of memory (FixAlloc)) = 24
write(2, "\n", 1
)                       = 1
exit_group(2)                           = ?
+++ exited with 2 +++
@bradfitz
Copy link
Contributor

bradfitz commented Apr 5, 2013

Comment 1:

I believe this was already fixed. Try the upcoming Go 1.1 release.

Status changed to Duplicate.

Merged into issue #47.

@gopherbot
Copy link
Author

Comment 2 by CMT.miniBill:

If I try and compile from hg tip I get a lot of FAIL from the tests. Should I report
them here or elsewhere?

@davecheney
Copy link
Contributor

Comment 3:

New issue please, this one is already marked as a duplicate. Please include as much
detail about your host system so others can try to replicate the problem, I don't think
many people run grsec kernels.

@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.
Projects
None yet
Development

No branches or pull requests

3 participants