<p dir="auto">by <strong>coocood</strong>:</p>
<pre class="notranslate">Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:

Run "go version" and compare against
<a href="http://golang.org/doc/devel/release.html" rel="nofollow">http://golang.org/doc/devel/release.html</a>  If a newer version of Go exists,
install it and retry what you did to reproduce the problem.

Thanks.

What does 'go version' print?

go version go1.3 linux/amd64

What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.

<a href="http://play.golang.org/p/PVBGNsPLN1" rel="nofollow">http://play.golang.org/p/PVBGNsPLN1</a>

What happened?

returned error is nil when dial a non-exists address.

What should have happened instead?

the error should not be nil.

Please provide any additional information below.

It happens only on Go 1.3, Go 1.2 doesn't have this issue, so I compared the source
code, and found out that this was caused by a change to "connect" method in
"net/fd_unix.go" file. So I edited this method with the old version, then
recompiled Go 1.3, the issue disappeared.</pre>
<pre class="notranslate">What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. <a href="http://play.golang.org/p/PTxGY_fgvj" rel="nofollow">http://play.golang.org/p/PTxGY_fgvj</a>
2. <a href="http://play.golang.org/p/enhRdN7Byq" rel="nofollow">http://play.golang.org/p/enhRdN7Byq</a>
3.

What is the expected output?
"process took too long"

What do you see instead?
"runtime: out of memory"

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

Which operating system are you using?
linux

Which version are you using?  (run 'go version')
go version go1.2rc4 linux/amd64

Please provide any additional information below.

There's a discussion thread about this problem:
<a href="https://groups.google.com/forum/#" rel="nofollow">https://groups.google.com/forum/#</a>!topic/golang-nuts/ZMNbylnu8is</pre>