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

cmd/compile: compiler can fault in low memory conditions #4415

Open
bradfitz opened this Issue Nov 20, 2012 · 5 comments

Comments

Projects
None yet
4 participants
@bradfitz
Copy link
Member

commented Nov 20, 2012

OpenBSD compiler crash,

From
http://build.golang.org/log/081228dc3bc44ae1f6911395558c17ae16176b61

internal compiler error: fault
@4a6f656c

This comment has been minimized.

Copy link
Contributor

commented Nov 25, 2012

Comment 1:

It would appear that the memory usage has increased slightly of late and that has been
enough to result in occasional malloc failures during compilation (the host only
has 256MB of RAM and had 512MB of swap - I've since bumped this up). There are several
instances where gc does not check the return from malloc, so instead of resulting in an
"out of memory" failure, we've ended up faulting. There are also additional unchecked
mallocs throughout src/cmd and src/libmach.

Labels changed: removed os-openbsd.

@minux

This comment has been minimized.

Copy link
Member

commented Nov 25, 2012

Comment 2:

i've audited all commands and libraries besides cmd/gc and cmd/?g.
https://golang.org/cl/6856080/
@rsc

This comment has been minimized.

Copy link
Contributor

commented Jul 30, 2013

Comment 4:

Labels changed: added priority-someday.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Dec 4, 2013

Comment 5:

Labels changed: added repo-main.

@rsc

This comment has been minimized.

Copy link
Contributor

commented Mar 3, 2014

Comment 6:

Adding Release=None to all Priority=Someday bugs.

Labels changed: added release-none.

@rsc rsc added this to the Unplanned milestone Apr 10, 2015

@rsc rsc changed the title cmd/gc: compiler can fault in low memory conditions cmd/compile: compiler can fault in low memory conditions Jun 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.