Closed
Description
by quanstro:
What steps will reproduce the problem? 1. all.bash 2. 3. What is the expected output? What do you see instead? 6g -o _gotest_.6 dnsclient.go dnsconfig.go dnsmsg.go fd.go fd_linux.go ip.go ipsock.go net.go parse.go port.go sock.go tcpsock.go udpsock.go unixsock.go dialgoogle_test.go net_test.go port_test.go timeout_test.go ip_test.go parse_test.go server_test.go rm -f _test/net.a gopack grc _test/net.a _gotest_.6 make[2]: Leaving directory `/home/quanstro/go/src/pkg/net' throw: index out of range panic PC=0x2ad9ee799d38 throw+0x3e /home/quanstro/go/src/pkg/runtime/runtime.c:74 throw(0x47f088, 0x0) runtime·throwindex+0x1c /home/quanstro/go/src/pkg/runtime/runtime.c:47 runtime·throwindex() net·hostPortToIP+0x19a /home/quanstro/go/src/pkg/net/ipsock.go:199 net·hostPortToIP(0x446170, 0x0, 0x3, 0x0, 0x464280, ...) net·ResolveTCPAddr+0x34 /home/quanstro/go/src/pkg/net/tcpsock.go:61 net·ResolveTCPAddr(0x464280, 0x0, 0xf, 0x0, 0x4462f0, ...) net·Dial+0x2a3 /home/quanstro/go/src/pkg/net/net.go:133 net·Dial(0x446170, 0x0, 0x3, 0x0, 0x4462f0, ...) net·TestDialError+0xbc /home/quanstro/go/src/pkg/net/net_test.go:56 net·TestDialError(0xee83e7e0, 0x2ad9) testing·tRunner+0x22 /home/quanstro/go/src/pkg/testing/testing.go:105 testing·tRunner(0xee83e7e0, 0x2ad9, 0x494a10, 0x0) goexit /home/quanstro/go/src/pkg/runtime/proc.c:134 goexit() 0x2ad9ee83e7e0 unknown pc goroutine 3: runtime·entersyscall+0x50 /home/quanstro/go/src/pkg/runtime/proc.c:539 runtime·entersyscall() syscall·Syscall6+0x5 /home/quanstro/go/src/pkg/syscall/asm_linux_amd64.s:41 syscall·Syscall6() syscall·EpollWait+0x84 /home/quanstro/go/src/pkg/syscall/zsyscall_linux_amd64.go:132 syscall·EpollWait(0x6, 0x2ad9, 0xee8432a0, 0x2ad9, 0x1, ...) net·*pollster·WaitFD+0xb5 /home/quanstro/go/src/pkg/net/fd_linux.go:116 net·*pollster·WaitFD(0xee7b9020, 0x2ad9, 0x2faf0800, 0x0, 0x72, ...) net·*pollServer·Run+0x9e /home/quanstro/go/src/pkg/net/fd.go:237 net·*pollServer·Run(0xee758680, 0x2ad9) goexit /home/quanstro/go/src/pkg/runtime/proc.c:134 goexit() 0x2ad9ee758680 unknown pc What is your $GOOS? $GOARCH? GOOS=linux GOARCH=amd64 Which revision are you sync'ed to? (hg log -l 1) changeset: 3975:b51fd2d6c160 tag: tip user: Kevin Ballard <kevin@sb.org> date: Tue Nov 10 20:05:24 2009 -0800 summary: Implement new emacs command M-x gofmt Please provide any additional information below.
Activity
agl commentedon Nov 11, 2009
Comment 1:
Status changed to Fixed.