<pre class="notranslate">The FreeBSD builder sporadically fails with (among other things) EADDRINUSE errors.

e.g.
Change 4e18f60442c2 broke the freebsd-386 build:
<a href="http://godashboard.appspot.com/log/c55befefa54d803c1b6327356ac0db98109203d2f462e9efb547462e7cc3f948" rel="nofollow">http://godashboard.appspot.com/log/c55befefa54d803c1b6327356ac0db98109203d2f462e9efb547462e7cc3f948</a>

... shows a net.Dial failing.

This test program (attached) will reproduce it after a few tries on a 64-bit FreeBSD
8.0-RELEASE-p4 box:

[bradfitz@ch ~]$ ./stress 
2011/04/14 09:22:34 at 0
2011/04/14 09:22:34 at 100
2011/04/14 09:22:34 at 200
2011/04/14 09:22:34 Accept: dial tcp 127.0.0.1:57021: address already in use

Output also includes sometimes:

...
2011/04/14 09:16:49 at 9400
2011/04/14 09:16:49 at 9500
2011/04/14 09:16:49 at 9600
2011/04/14 09:16:49 Accept: dial tcp 127.0.0.1:38028: connection reset by peer</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/1694/0/stress.go" rel="nofollow">stress.go</a> (590 bytes)</li>
</ol>
<p dir="auto">by <strong>CMT.miniBill</strong>:</p>
<pre class="notranslate">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 +++</pre>