Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: compiler can fault in low memory conditions #4415
OpenBSD compiler crash, From http://build.golang.org/log/081228dc3bc44ae1f6911395558c17ae16176b61 internal compiler error: fault
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.