<pre class="notranslate">$ env | grep GO
GOARCH=amd64
GOROOT=/home/nigeltao/go
GOOS=linux
$ cat main.go
package main
import "net"
func main() {
    net.Dial("unix", "", "/tmp/.X11-unix/X0")
}
$ 6g main.go &amp;&amp; 6l main.6
$ 6prof ./6.out
ptrace waitpid: unexpected new tid 8827 status 0x137f</pre>
<pre class="notranslate">What steps will reproduce the problem?

1. Cross-compile for linux/arm5.
2. Make a network request. My test harness for this bug was
<a href="http://play.golang.org/p/drwd1JwnTd" rel="nofollow">http://play.golang.org/p/drwd1JwnTd</a>


What is the expected output?

Success or failure


What do you see instead?

Hang


Which compiler are you using (5g, 6g, 8g, gccgo)?

5g


Which operating system are you using?

OS X 10.8.4


Which version are you using?  (run 'go version')

go version devel +f31759c38a32 Mon Sep 23 13:19:08 2013 -0400 darwin/amd64

hg bisect shows that this bug was introduced by
<a href="https://code.google.com/p/go/source/detail?r=7afd81b7fe122e743f0db88f538eb3b4004be650" rel="nofollow">https://code.google.com/p/go/source/detail?r=7afd81b7fe122e743f0db88f538eb3b4004be650</a>


Please provide any additional information below.

I don't know whether cross-compilation or linux/arm5 is necessary; it is just how I
reproduced it here. There may also be something else unusual about my setup here.

Compiling for host (OS X) does not reproduce the problem, including with CGO disabled.

Let me know what other info I can provide.</pre>