Skip to content

SIGTRAP when gopack grc _test/net.a _gotest_.8 #17

Closed
@gopherbot

Description

@gopherbot

by cnhackTNT:

What steps will reproduce the problem?
1.set GOOS, GOARCH, GOBIN properly
2.in src/, run ./all.bash
3.will recv a SIGTRAP when gopack grc _test/net.a _gotest_.8

What is your $GOOS?  $GOARCH?

GOBIN=/home/tsing/dev/go/bin
GOARCH=386
GOROOT=/home/tsing/dev/go
GOOS=linux

Linux 2.6.28-16-generic

Which revision are you sync'ed to?  (hg log -l 1)

hg log -l 1
changeset:   3952:64e703cb307d
tag:         tip
user:        Russ Cox <[email protected]>
date:        Tue Nov 10 14:09:01 2009 -0800
summary:     update video links

Please provide any additional information below.

Error log:
------
8g -o _gotest_.8 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 ip_test.go net_test.go parse_test.go
port_test.go server_test.go timeout_test.go
rm -f _test/net.a
gopack grc _test/net.a _gotest_.8 
make[2]: Leaving directory `/home/tsing/dev/go/src/pkg/net'
SIGTRAP: trace trap
Faulting address: 0x0
PC=0x8053403

net·hostPortToIP+0x168 /home/tsing/dev/go/src/pkg/net/ipsock.go:201
  net·hostPortToIP(0x809a08c, 0x3, 0x80ad2fc, 0xf, 0x0, ...)
net·ResolveTCPAddr+0x36 /home/tsing/dev/go/src/pkg/net/tcpsock.go:65
  net·ResolveTCPAddr(0x80ad2fc, 0xf, 0x809a0d0, 0x0)
net·Dial+0x28e /home/tsing/dev/go/src/pkg/net/net.go:130
  net·Dial(0x809a08c, 0x3, 0x809a0d0, 0x0, 0x80ad2fc, ...)
net·TestDialError+0xf7 /home/tsing/dev/go/src/pkg/net/net_test.go:56
  net·TestDialError(0x400c97f0, 0x1)
testing·tRunner+0x36 /home/tsing/dev/go/src/pkg/testing/testing.go:111
  testing·tRunner(0x400c97f0, 0x80cdc44, 0x0)
goexit /home/tsing/dev/go/src/pkg/runtime/proc.c:134
  goexit()
0x400c97f0 unknown pc

goroutine 3:
runtime·entersyscall+0x60 /home/tsing/dev/go/src/pkg/runtime/proc.c:539
  runtime·entersyscall()
syscall·Syscall6+0x5 /home/tsing/dev/go/src/pkg/syscall/asm_linux_386.s:665
  syscall·Syscall6()
syscall·EpollWait+0x9a
/home/tsing/dev/go/src/pkg/syscall/zsyscall_linux_386.go:132
  syscall·EpollWait(0x6, 0x400bc230, 0x1, 0x1, 0x1ea, ...)
net·*pollster·WaitFD+0x111 /home/tsing/dev/go/src/pkg/net/fd_linux.go:116
  net·*pollster·WaitFD(0x400424f0, 0x1d332c88, 0x0, 0x0, 0x0, ...)
net·*pollServer·Run+0xd9 /home/tsing/dev/go/src/pkg/net/fd.go:237
  net·*pollServer·Run(0x4008e320, 0x80cf56c)
goexit /home/tsing/dev/go/src/pkg/runtime/proc.c:134
  goexit()
0x4008e320 unknown pc

goroutine 1:
gosched+0x48 /home/tsing/dev/go/src/pkg/runtime/proc.c:515
  gosched()
chanrecv+0x2d3 /home/tsing/dev/go/src/pkg/runtime/chan.c:319
  chanrecv(0x400ce6f0, 0x4007bf8c, 0x0, 0x4007d0d8)
runtime·chanrecv1+0x4e /home/tsing/dev/go/src/pkg/runtime/chan.c:415
  runtime·chanrecv1(0x400ce6f0, 0x80cdc44)
testing·Main+0x263 /home/tsing/dev/go/src/pkg/testing/testing.go:138
  testing·Main(0x80cdc2c, 0xb)
main·main+0x29 /home/tsing/dev/go/src/pkg/net/_testmain.go:21
  main·main()
mainstart+0xf /home/tsing/dev/go/src/pkg/runtime/386/asm.s:81
  mainstart()
goexit /home/tsing/dev/go/src/pkg/runtime/proc.c:134
  goexit()
eax     0x4007a0004007ce3c
ebx     0x4007a0004007cf10
ecx     0x4007a000080ad2fc
edx     0x4007a000400481b4
edi     0x4007a0004007cf10
esi     0x4007a0004007cee8
ebp     0x4007a00000000001
esp     0x4007a0004007cec4
eip     0x4007a00008053403
eflags  0x4007a00000200246
cs      0x4007a00000000073
fs      0x4007a00000000000
gs      0x4007a0000000003f
/home/tsing/dev/go/bin/gotest: line 141: 13758 Trace/breakpoint trap   $E
./$O.out "$@"
make[1]: *** [test] Error 133
make[1]: Leaving directory `/home/tsing/dev/go/src/pkg/net'
make: *** [net.test] Error 2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions