Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile: illegal instruction on mips64le #43045

Open
mengzhuo opened this issue Dec 7, 2020 · 2 comments
Open

cmd/compile: illegal instruction on mips64le #43045

mengzhuo opened this issue Dec 7, 2020 · 2 comments
Milestone

Comments

@mengzhuo
Copy link
Contributor

@mengzhuo mengzhuo commented Dec 7, 2020

What version of Go are you using (go version)?

$ go version
0b99ea3b16

Does this issue reproduce with the latest release?

maybe

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="mips64le"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="mips64le"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/golang"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_mips64le"
GCCGO="gccgo"
GOMIPS64="hardfloat"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/root/godev/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -mabi=64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build936032824=/tmp/go-build -gno-rec
ord-gcc-switches"

What did you do?

https://build.golang.org/log/65667e5916fe3585b16aade700588c65c1f70c87

What did you expect to see?

all test passed

What did you see instead?

SIGILL: illegal instruction
PC=0x12004d7f8 m=9 sigcode=128
instruction bytes: 0x0 0x0 0x0 0x0 0x2f 0x48 0x22 0x0 0x90 0x0 0xa9 0xff 0x48 0x20 0x17 0x3c

goroutine 0 [idle]:
runtime.findrunnable(0xc000029800, 0x0)
/tmp/farm/go/src/runtime/proc.go:2637 +0xb8
runtime.schedule()
/tmp/farm/go/src/runtime/proc.go:3051 +0x360
runtime.park_m(0xc000136c00)
/tmp/farm/go/src/runtime/proc.go:3200 +0xa8
runtime.mcall(0x0)
/tmp/farm/go/src/runtime/asm_mips64x.s:150 +0x54

goroutine 1 [chan receive]:
testing.tRunner.func1(0xc000001980)
/tmp/farm/go/src/testing/testing.go:1161 +0x284
testing.tRunner(0xc000001980, 0xc00011dd68)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
testing.runTests(0xc00000e048, 0x120460620, 0xee, 0xee, 0xbfeaece7718f2f76, 0xa7a375b497, 0x12047f180, 0x0)
/tmp/farm/go/src/testing/testing.go:1511 +0x338
testing.(*M).Run(0xc00011e000, 0x0)
/tmp/farm/go/src/testing/testing.go:1419 +0x1e0
net.TestMain(0xc00011e000)
/tmp/farm/go/src/net/main_test.go:52 +0x4c
main.main()
_testmain.go:589 +0x198

goroutine 5687 [chan send]:
testing.tRunner.func1.1(0xc00014bed0, 0x0, 0x0, 0xc00045e900, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00045e900)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00045e900, 0x1202eb618)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5647 [chan send]:
net.TestTCPSpuriousConnSetupCompletionWithCancel(0xc000150300)
/tmp/farm/go/src/net/tcpsock_unix_test.go:95 +0x10c
testing.tRunner(0xc000150300, 0x1202eb478)
/tmp/farm/go/src/testing/testing.go:1195 +0xf8
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 8964 [select]:
net.(*Resolver).lookupIPAddr(0x12047dfa0, 0x12032e8f8, 0xc000630e40, 0x1202d6983, 0x3, 0x1202d96aa, 0xa, 0x3, 0x0, 0x0, ...)
/tmp/farm/go/src/net/lookup.go:299 +0x60c
net.(*Resolver).internetAddrList(0x12047dfa0, 0x12032e8f8, 0xc000630e40, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/ipsock.go:280 +0x618
net.(*Resolver).resolveAddrList(0x12047dfa0, 0x12032e8f8, 0xc000630e40, 0x1202d6aed, 0x4, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, ...)
/tmp/farm/go/src/net/dial.go:221 +0x564
net.(*Dialer).DialContext(0xc000260f38, 0x12032e8f8, 0xc000630e40, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dial.go:403 +0x1f8
net.TestTCPSpuriousConnSetupCompletionWithCancel.func2(0xc0002c4420, 0x12032e8f8, 0xc000630e40, 0xc000150300, 0xc000058070, 0x29e)
/tmp/farm/go/src/net/tcpsock_unix_test.go:107 +0xbc
created by net.TestTCPSpuriousConnSetupCompletionWithCancel
/tmp/farm/go/src/net/tcpsock_unix_test.go:102 +0x1c4

goroutine 4286 [chan send]:
testing.tRunner.func1.1(0xc00003eed0, 0x0, 0x0, 0xc000083500, 0x1)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc000083500)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc000083500, 0x1202eaaa8)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5774 [chan send]:
testing.tRunner.func1.1(0xc000045ed0, 0x0, 0x0, 0xc0001a5b00, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc0001a5b00)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc0001a5b00, 0x1202eadb8)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5709 [chan send]:
testing.tRunner.func1.1(0xc0004bfed0, 0x0, 0x0, 0xc000150f00, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc000150f00)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc000150f00, 0x1202eaa10)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 556 [IO wait]:
internal/poll.runtime_pollWait(0x7fffc8ef4690, 0x72, 0xffffffffffffffff)
/tmp/farm/go/src/runtime/netpoll.go:222 +0x60
internal/poll.(*pollDesc).wait(0xc00020fc18, 0x72, 0x200, 0x200, 0xffffffffffffffff)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:87 +0x50
internal/poll.(*pollDesc).waitRead(...)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00020fc00, 0xc0004f7200, 0x200, 0x200, 0x0, 0x0, 0x0)
/tmp/farm/go/src/internal/poll/fd_unix.go:166 +0x1e8
net.(*netFD).Read(0xc00020fc00, 0xc0004f7200, 0x200, 0x200, 0x0, 0x1b, 0x1201805cc)
/tmp/farm/go/src/net/fd_posix.go:55 +0x58
net.(*conn).Read(0xc0004f4088, 0xc0004f7200, 0x200, 0x200, 0x0, 0x0, 0x0)
/tmp/farm/go/src/net/net.go:183 +0x9c
net.dnsPacketRoundTrip(0x120331508, 0xc0004f4088, 0x2e6c69616d675b42, 0x2e6d6f63, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:86 +0x100
net.(*Resolver).exchange(0x12047dfa0, 0x12032e930, 0xc000016100, 0xc00009c020, 0xb, 0x6f632e6c69616d67, 0x2e6d, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:165 +0x38c
net.(*Resolver).tryOneName(0x12047dfa0, 0x12032e930, 0xc000016100, 0xc000370000, 0xc000384480, 0xa, 0x10, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:255 +0x2c0
net.(*Resolver).lookup(0x12047dfa0, 0x12032e930, 0xc000016100, 0x1202d80d7, 0x9, 0x10, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:409 +0x1b0
net.(*Resolver).lookupTXT(0x12047dfa0, 0x12032e930, 0xc000016100, 0x1202d80d7, 0x9, 0x12034ba6f, 0xf, 0x0, 0x0, 0x0)
/tmp/farm/go/src/net/lookup_unix.go:268 +0x68
net.LookupTXT(...)
/tmp/farm/go/src/net/lookup.go:458
net.TestLookupGmailTXT(0xc00045e600)
/tmp/farm/go/src/net/lookup_test.go:232 +0x130
testing.tRunner(0xc00045e600, 0x1202eaff0)
/tmp/farm/go/src/testing/testing.go:1195 +0xf8
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 4250 [chan send]:
testing.tRunner.func1.1(0xc000263ed0, 0x0, 0x0, 0xc00028a180, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00028a180)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00028a180, 0x1202eaac0)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 4290 [chan send]:
testing.tRunner.func1.1(0xc0003a5ed0, 0x0, 0x0, 0xc0001a4600, 0xc0002e8101)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc0001a4600)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc0001a4600, 0x1202eb120)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 4340 [chan send]:
testing.tRunner.func1.1(0xc0004e6ed0, 0x0, 0x0, 0xc00045f680, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00045f680)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00045f680, 0x1202eb318)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 6562 [chan receive]:
testing.runTests.func1.1(0xc000001980)
/tmp/farm/go/src/testing/testing.go:1518 +0x44
created by testing.runTests.func1
/tmp/farm/go/src/testing/testing.go:1518 +0xcc

goroutine 4289 [chan send]:
testing.tRunner.func1.1(0xc00025ded0, 0x0, 0x0, 0xc000083e00, 0x1)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc000083e00)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc000083e00, 0x1202eafb8)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 4251 [chan send]:
testing.tRunner.func1.1(0xc00025fed0, 0x0, 0x0, 0xc00028a300, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00028a300)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00028a300, 0x1202eb100)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 4306 [chan send]:
testing.tRunner.func1.1(0xc000040ed0, 0x0, 0x0, 0xc00021a300, 0x1)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00021a300)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00021a300, 0x1202eb648)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 8971 [select]:
net.(*Resolver).lookupIPAddr(0x12047dfa0, 0x12032e8f8, 0xc000630fc0, 0x1202d6983, 0x3, 0x1202d96aa, 0xa, 0x3, 0x0, 0x0, ...)
/tmp/farm/go/src/net/lookup.go:299 +0x60c
net.(*Resolver).internetAddrList(0x12047dfa0, 0x12032e8f8, 0xc000630fc0, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/ipsock.go:280 +0x618
net.(*Resolver).resolveAddrList(0x12047dfa0, 0x12032e8f8, 0xc000630fc0, 0x1202d6aed, 0x4, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, ...)
/tmp/farm/go/src/net/dial.go:221 +0x564
net.(*Dialer).DialContext(0xc0003a2f38, 0x12032e8f8, 0xc000630fc0, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dial.go:403 +0x1f8
net.TestTCPSpuriousConnSetupCompletionWithCancel.func2(0xc0002c4420, 0x12032e8f8, 0xc000630fc0, 0xc000150300, 0xc000058070, 0x2a1)
/tmp/farm/go/src/net/tcpsock_unix_test.go:107 +0xbc
created by net.TestTCPSpuriousConnSetupCompletionWithCancel
/tmp/farm/go/src/net/tcpsock_unix_test.go:102 +0x1c4

goroutine 4287 [chan send]:
testing.tRunner.func1.1(0xc000262ed0, 0x0, 0x0, 0xc000083980, 0xc0003c0d01)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc000083980)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc000083980, 0x1202eaac8)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 4288 [chan send]:
testing.tRunner.func1.1(0xc0003a4ed0, 0x0, 0x0, 0xc000083c80, 0x1)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc000083c80)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc000083c80, 0x1202eab28)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 8932 [runnable]:
internal/poll.setDeadlineImpl(0xc00063e300, 0x0, 0xe7791f701, 0x12047f180, 0x77, 0x1, 0x1)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:149 +0x1c
internal/poll.(*FD).SetWriteDeadline(...)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:146
net.(*netFD).connect.func2(0x12032e8f8, 0xc00068bcc0, 0xc00063e300, 0xc00062dc80, 0xc00062dc20)
/tmp/farm/go/src/net/fd_unix.go:123 +0x104
created by net.(*netFD).connect
/tmp/farm/go/src/net/fd_unix.go:117 +0x220

goroutine 8969 [select]:
net.(*Resolver).lookupIPAddr(0x12047dfa0, 0x12032e8f8, 0xc000630f00, 0x1202d6983, 0x3, 0x1202d96aa, 0xa, 0x3, 0x0, 0x0, ...)
/tmp/farm/go/src/net/lookup.go:299 +0x60c
net.(*Resolver).internetAddrList(0x12047dfa0, 0x12032e8f8, 0xc000630f00, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/ipsock.go:280 +0x618
net.(*Resolver).resolveAddrList(0x12047dfa0, 0x12032e8f8, 0xc000630f00, 0x1202d6aed, 0x4, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, ...)
/tmp/farm/go/src/net/dial.go:221 +0x564
net.(*Dialer).DialContext(0xc000044f38, 0x12032e8f8, 0xc000630f00, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dial.go:403 +0x1f8
net.TestTCPSpuriousConnSetupCompletionWithCancel.func2(0xc0002c4420, 0x12032e8f8, 0xc000630f00, 0xc000150300, 0xc000058070, 0x29f)
/tmp/farm/go/src/net/tcpsock_unix_test.go:107 +0xbc
created by net.TestTCPSpuriousConnSetupCompletionWithCancel
/tmp/farm/go/src/net/tcpsock_unix_test.go:102 +0x1c4

goroutine 5710 [chan send]:
testing.tRunner.func1.1(0xc0004e9ed0, 0x0, 0x0, 0xc000151080, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc000151080)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc000151080, 0x1202eaa00)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5717 [chan send]:
testing.tRunner.func1.1(0xc000261ed0, 0x0, 0x0, 0xc00028b200, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00028b200)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00028b200, 0x1202eb1f8)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5688 [chan send]:
testing.tRunner.func1.1(0xc0003a3ed0, 0x0, 0x0, 0xc00045ec00, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00045ec00)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00045ec00, 0x1202eb610)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5689 [chan send]:
testing.tRunner.func1.1(0xc0004e5ed0, 0x0, 0x0, 0xc00045ef00, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00045ef00)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00045ef00, 0x1202eb620)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5690 [chan send]:
testing.tRunner.func1.1(0xc0004e8ed0, 0x0, 0x0, 0xc00045f200, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00045f200)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00045f200, 0x1202eb1e8)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5691 [chan send]:
testing.tRunner.func1.1(0xc00003fed0, 0x0, 0x0, 0xc00045f500, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00045f500)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00045f500, 0x1202eb1d0)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5692 [chan send]:
testing.tRunner.func1.1(0xc0003a0ed0, 0x0, 0x0, 0xc00045f980, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00045f980)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00045f980, 0x1202eb600)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5693 [chan send]:
testing.tRunner.func1.1(0xc00057ded0, 0x0, 0x0, 0xc00045fc80, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00045fc80)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00045fc80, 0x1202eb5d8)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5696 [chan send]:
testing.tRunner.func1.1(0xc000043ed0, 0x0, 0x0, 0xc00021bc80, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc00021bc80)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc00021bc80, 0x1202eb270)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 5697 [chan send]:
testing.tRunner.func1.1(0xc0004e4ed0, 0x0, 0x0, 0xc0003c4480, 0x120119701)
/tmp/farm/go/src/testing/testing.go:1125 +0x6c
testing.tRunner.func1(0xc0003c4480)
/tmp/farm/go/src/testing/testing.go:1186 +0x3b0
testing.tRunner(0xc0003c4480, 0x1202eb258)
/tmp/farm/go/src/testing/testing.go:1199 +0x130
created by testing.(*T).Run
/tmp/farm/go/src/testing/testing.go:1240 +0x2dc

goroutine 8968 [sleep]:
time.Sleep(0x3d90e4)
/tmp/farm/go/src/runtime/time.go:193 +0x108
net.TestTCPSpuriousConnSetupCompletionWithCancel.func1(0xc0002c4420, 0xc000640210)
/tmp/farm/go/src/net/tcpsock_unix_test.go:99 +0x8c
created by net.TestTCPSpuriousConnSetupCompletionWithCancel
/tmp/farm/go/src/net/tcpsock_unix_test.go:97 +0x174

goroutine 8967 [IO wait]:
internal/poll.runtime_pollWait(0x7fffc8ef4dd0, 0x72, 0xffffffffffffffff)
/tmp/farm/go/src/runtime/netpoll.go:222 +0x60
internal/poll.(*pollDesc).wait(0xc00063ea18, 0x72, 0x200, 0x200, 0xffffffffffffffff)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:87 +0x50
internal/poll.(*pollDesc).waitRead(...)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00063ea00, 0xc00063ca00, 0x200, 0x200, 0x0, 0x0, 0x0)
/tmp/farm/go/src/internal/poll/fd_unix.go:166 +0x1e8
net.(*netFD).Read(0xc00063ea00, 0xc00063ca00, 0x200, 0x200, 0x0, 0x1c, 0x1201805cc)
/tmp/farm/go/src/net/fd_posix.go:55 +0x58
net.(*conn).Read(0xc0004f4348, 0xc00063ca00, 0x200, 0x200, 0x0, 0x0, 0x0)
/tmp/farm/go/src/net/net.go:183 +0x9c
net.dnsPacketRoundTrip(0x120331508, 0xc0004f4348, 0x676e616c6f67c3fe, 0x2e67726f2e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:86 +0x100
net.(*Resolver).exchange(0x12047dfa0, 0x12032e8f8, 0xc000630e80, 0xc00009c020, 0xb, 0x6f2e676e616c6f67, 0x2e6772, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:165 +0x38c
net.(*Resolver).tryOneName(0x12047dfa0, 0x12032e8f8, 0xc000630e80, 0xc000370000, 0xc000385450, 0xb, 0xc00015001c, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:255 +0x2c0
net.(*Resolver).goLookupIPCNAMEOrder.func3.1(0x12047dfa0, 0x12032e8f8, 0xc000630e80, 0xc000370000, 0xc000385450, 0xb, 0xc00061bb60, 0x1c)
/tmp/farm/go/src/net/dnsclient_unix.go:601 +0x70
created by net.(*Resolver).goLookupIPCNAMEOrder.func3
/tmp/farm/go/src/net/dnsclient_unix.go:600 +0xd4

goroutine 8962 [IO wait]:
internal/poll.runtime_pollWait(0x7fffc8ef4eb8, 0x72, 0xffffffffffffffff)
/tmp/farm/go/src/runtime/netpoll.go:222 +0x60
internal/poll.(*pollDesc).wait(0xc00063e818, 0x72, 0x200, 0x200, 0xffffffffffffffff)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:87 +0x50
internal/poll.(*pollDesc).waitRead(...)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00063e800, 0xc00063c600, 0x200, 0x200, 0x0, 0x0, 0x0)
/tmp/farm/go/src/internal/poll/fd_unix.go:166 +0x1e8
net.(*netFD).Read(0xc00063e800, 0xc00063c600, 0x200, 0x200, 0x0, 0x1c, 0x1201805cc)
/tmp/farm/go/src/net/fd_posix.go:55 +0x58
net.(*conn).Read(0xc0004f4330, 0xc00063c600, 0x200, 0x200, 0x0, 0x0, 0x0)
/tmp/farm/go/src/net/net.go:183 +0x9c
net.dnsPacketRoundTrip(0x120331508, 0xc0004f4330, 0x676e616c6f67116e, 0x2e67726f2e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:86 +0x100
net.(*Resolver).exchange(0x12047dfa0, 0x12032e8f8, 0xc000630dc0, 0xc00009c020, 0xb, 0x6f2e676e616c6f67, 0x2e6772, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:165 +0x38c
net.(*Resolver).tryOneName(0x12047dfa0, 0x12032e8f8, 0xc000630dc0, 0xc000370000, 0xc0003853f0, 0xb, 0x1c, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:255 +0x2c0
net.(*Resolver).goLookupIPCNAMEOrder.func3.1(0x12047dfa0, 0x12032e8f8, 0xc000630dc0, 0xc000370000, 0xc0003853f0, 0xb, 0xc00061b9e0, 0x1c)
/tmp/farm/go/src/net/dnsclient_unix.go:601 +0x70
created by net.(*Resolver).goLookupIPCNAMEOrder.func3
/tmp/farm/go/src/net/dnsclient_unix.go:600 +0xd4

goroutine 8945 [runnable]:
syscall.Syscall(0x138b, 0xd, 0x0, 0x0, 0x0, 0x1, 0x0)
/tmp/farm/go/src/syscall/asm_linux_mips64x.s:16 +0x10
syscall.Close(0xd, 0xc00015e8a0, 0x5)
/tmp/farm/go/src/syscall/zsyscall_linux_mips64le.go:285 +0x4c
net/internal/socktest.(*Switch).Close(0x12047f0c0, 0xd, 0x0, 0x0)
/tmp/farm/go/src/net/internal/socktest/sys_unix.go:57 +0x144
internal/poll.(*FD).destroy(0xc00063e900, 0x7fffc8ef45b0, 0x0)
/tmp/farm/go/src/internal/poll/fd_unix.go:83 +0x5c
internal/poll.(*FD).decref(0xc00063e900, 0x1, 0x0)
/tmp/farm/go/src/internal/poll/fd_mutex.go:213 +0xac
internal/poll.(*FD).Close(0xc00063e900, 0xc00063e900, 0x0)
/tmp/farm/go/src/internal/poll/fd_unix.go:106 +0x68
net.(*netFD).Close(0xc00063e900, 0x0, 0x0)
/tmp/farm/go/src/net/fd_posix.go:37 +0x68
net.(*conn).Close(0xc0004f4338, 0x0, 0x0)
/tmp/farm/go/src/net/net.go:207 +0x80
net.(*Resolver).exchange(0x12047dfa0, 0x12032e8f8, 0xc000630dc0, 0xc00009c020, 0xb, 0x6f2e676e616c6f67, 0x2e6772, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:169 +0x428
net.(*Resolver).tryOneName(0x12047dfa0, 0x12032e8f8, 0xc000630dc0, 0xc000370000, 0xc0003853f0, 0xb, 0x2ac79bef40dd0001, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:255 +0x2c0
net.(*Resolver).goLookupIPCNAMEOrder.func3.1(0x12047dfa0, 0x12032e8f8, 0xc000630dc0, 0xc000370000, 0xc0003853f0, 0xb, 0xc00061b9e0, 0x1)
/tmp/farm/go/src/net/dnsclient_unix.go:601 +0x70
created by net.(*Resolver).goLookupIPCNAMEOrder.func3
/tmp/farm/go/src/net/dnsclient_unix.go:600 +0xd4

goroutine 8963 [sleep]:
time.Sleep(0x49d4d2)
/tmp/farm/go/src/runtime/time.go:193 +0x108
net.TestTCPSpuriousConnSetupCompletionWithCancel.func1(0xc0002c4420, 0xc000640180)
/tmp/farm/go/src/net/tcpsock_unix_test.go:99 +0x8c
created by net.TestTCPSpuriousConnSetupCompletionWithCancel
/tmp/farm/go/src/net/tcpsock_unix_test.go:97 +0x174

goroutine 8944 [chan receive]:
net.(*Resolver).goLookupIPCNAMEOrder.func4(0xc0003853f0, 0xb, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:607 +0x70
net.(*Resolver).goLookupIPCNAMEOrder(0x12047dfa0, 0x12032e8f8, 0xc000630dc0, 0x1202d96aa, 0xa, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:617 +0x6e8
net.(*Resolver).lookupIP(0x12047dfa0, 0x12032e8f8, 0xc000630dc0, 0x1202d6983, 0x3, 0x1202d96aa, 0xa, 0xc000016100, 0x0, 0x1201078a4, ...)
/tmp/farm/go/src/net/lookup_unix.go:102 +0xe0
net.glob..func1(0x12032e8f8, 0xc000630dc0, 0xc000640100, 0x1202d6983, 0x3, 0x1202d96aa, 0xa, 0xc0005a23c0, 0x12032ab68, 0xc000ae6340, ...)
/tmp/farm/go/src/net/hook.go:23 +0x6c
net.(*Resolver).lookupIPAddr.func1(0x0, 0x0, 0x0, 0x0)
/tmp/farm/go/src/net/lookup.go:293 +0xc4
internal/singleflight.(*Group).doCall(0x12047dfb0, 0xc00062f4f0, 0xc0003853c0, 0xe, 0xc000630e00)
/tmp/farm/go/src/internal/singleflight/singleflight.go:95 +0x3c
created by internal/singleflight.(*Group).DoChan
/tmp/farm/go/src/internal/singleflight/singleflight.go:88 +0x398

goroutine 8881 [select]:
net.(*Resolver).lookupIPAddr(0x12047dfa0, 0x12032e8f8, 0xc0006863c0, 0x1202d6983, 0x3, 0x1202d96aa, 0xa, 0x3, 0x0, 0x0, ...)
/tmp/farm/go/src/net/lookup.go:299 +0x60c
net.(*Resolver).internetAddrList(0x12047dfa0, 0x12032e8f8, 0xc0006863c0, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/ipsock.go:280 +0x618
net.(*Resolver).resolveAddrList(0x12047dfa0, 0x12032e8f8, 0xc0006863c0, 0x1202d6aed, 0x4, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, ...)
/tmp/farm/go/src/net/dial.go:221 +0x564
net.(*Dialer).DialContext(0xc0004e7f38, 0x12032e8f8, 0xc0006863c0, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dial.go:403 +0x1f8
net.TestTCPSpuriousConnSetupCompletionWithCancel.func2(0xc0002c4420, 0x12032e8f8, 0xc0006863c0, 0xc000150300, 0xc000058070, 0x2a0)
/tmp/farm/go/src/net/tcpsock_unix_test.go:107 +0xbc
created by net.TestTCPSpuriousConnSetupCompletionWithCancel
/tmp/farm/go/src/net/tcpsock_unix_test.go:102 +0x1c4

goroutine 8880 [sleep]:
time.Sleep(0x1a62a9)
/tmp/farm/go/src/runtime/time.go:193 +0x108
net.TestTCPSpuriousConnSetupCompletionWithCancel.func1(0xc0002c4420, 0xc0001f3e80)
/tmp/farm/go/src/net/tcpsock_unix_test.go:99 +0x8c
created by net.TestTCPSpuriousConnSetupCompletionWithCancel
/tmp/farm/go/src/net/tcpsock_unix_test.go:97 +0x174

goroutine 8965 [chan receive]:
net.(*Resolver).goLookupIPCNAMEOrder.func4(0xc000385450, 0xb, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:607 +0x70
net.(*Resolver).goLookupIPCNAMEOrder(0x12047dfa0, 0x12032e8f8, 0xc000630e80, 0x1202d96aa, 0xa, 0x1, 0x0, 0x0, 0x120010da8, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:617 +0x6e8
net.(*Resolver).lookupIP(0x12047dfa0, 0x12032e8f8, 0xc000630e80, 0x1202d6983, 0x3, 0x1202d96aa, 0xa, 0x1200a4200, 0x120007314, 0xffffffffa034c69f, ...)
/tmp/farm/go/src/net/lookup_unix.go:102 +0xe0
net.glob..func1(0x12032e8f8, 0xc000630e80, 0xc000640190, 0x1202d6983, 0x3, 0x1202d96aa, 0xa, 0x120234fbc, 0xc000642060, 0xc0002c8f80, ...)
/tmp/farm/go/src/net/hook.go:23 +0x6c
net.(*Resolver).lookupIPAddr.func1(0x0, 0x0, 0x0, 0x0)
/tmp/farm/go/src/net/lookup.go:293 +0xc4
internal/singleflight.(*Group).doCall(0x12047dfb0, 0xc00062f680, 0xc000385420, 0xe, 0xc000630ec0)
/tmp/farm/go/src/internal/singleflight/singleflight.go:95 +0x3c
created by internal/singleflight.(*Group).DoChan
/tmp/farm/go/src/internal/singleflight/singleflight.go:88 +0x398

goroutine 8970 [sleep]:
time.Sleep(0x33f09c)
/tmp/farm/go/src/runtime/time.go:193 +0x108
net.TestTCPSpuriousConnSetupCompletionWithCancel.func1(0xc0002c4420, 0xc000640250)
/tmp/farm/go/src/net/tcpsock_unix_test.go:99 +0x8c
created by net.TestTCPSpuriousConnSetupCompletionWithCancel
/tmp/farm/go/src/net/tcpsock_unix_test.go:97 +0x174

goroutine 8917 [IO wait]:
internal/poll.runtime_pollWait(0x7fffc8ef4860, 0x77, 0xc00013de00)
/tmp/farm/go/src/runtime/netpoll.go:222 +0x60
internal/poll.(*pollDesc).wait(0xc00063e318, 0x77, 0x12032e800, 0xc00068bcc0, 0xc00063e300)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:87 +0x50
internal/poll.(*pollDesc).waitWrite(...)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:96
internal/poll.(*FD).WaitWrite(...)
/tmp/farm/go/src/internal/poll/fd_unix.go:528
net.(*netFD).connect(0xc00063e300, 0x12032e8f8, 0xc00068bcc0, 0x0, 0x0, 0x12032a7b8, 0xc000634380, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/fd_unix.go:141 +0x24c
net.(*netFD).dial(0xc00063e300, 0x12032e8f8, 0xc00068bcc0, 0x12032fe40, 0x0, 0x12032fe40, 0xc000637470, 0x0, 0x0, 0x12001af38)
/tmp/farm/go/src/net/sock_posix.go:149 +0xd8
net.socket(0x12032e8f8, 0xc00068bcc0, 0x1202d6983, 0x3, 0x2, 0x2, 0x0, 0x0, 0x12032fe40, 0x0, ...)
/tmp/farm/go/src/net/sock_posix.go:70 +0x190
net.internetSocket(0x12032e8f8, 0xc00068bcc0, 0x1202d6983, 0x3, 0x12032fe40, 0x0, 0x12032fe40, 0xc000637470, 0x2, 0x0, ...)
/tmp/farm/go/src/net/ipsock_posix.go:141 +0xe8
net.(*sysDialer).doDialTCP(0xc00063e280, 0x12032e8f8, 0xc00068bcc0, 0x0, 0xc000637470, 0x12029d380, 0x1204aa840, 0x0)
/tmp/farm/go/src/net/tcpsock_posix.go:65 +0xac
net.(*sysDialer).dialTCP(0xc00063e280, 0x12032e8f8, 0xc00068bcc0, 0x0, 0xc000637470, 0x10, 0x1202a0e00, 0x120010b01)
/tmp/farm/go/src/net/tcpsock_posix.go:61 +0xd8
net.(*sysDialer).dialSingle(0xc00063e280, 0x12032e8f8, 0xc00068bcc0, 0x12032ad98, 0xc000637470, 0x0, 0x0, 0x0, 0x0)
/tmp/farm/go/src/net/dial.go:580 +0x630
net.(*sysDialer).dialSerial(0xc00063e280, 0x12032e8f8, 0xc00068bcc0, 0xc000640000, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
/tmp/farm/go/src/net/dial.go:548 +0x128
net.(*Dialer).DialContext(0xc0004bdf38, 0x12032e8f8, 0xc00068bcc0, 0x1202d6983, 0x3, 0x1202d96aa, 0xc, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dial.go:425 +0x6ec
net.TestTCPSpuriousConnSetupCompletionWithCancel.func2(0xc0002c4420, 0x12032e8f8, 0xc00068bcc0, 0xc000150300, 0xc000058070, 0x295)
/tmp/farm/go/src/net/tcpsock_unix_test.go:107 +0xbc
created by net.TestTCPSpuriousConnSetupCompletionWithCancel
/tmp/farm/go/src/net/tcpsock_unix_test.go:102 +0x1c4

goroutine 8966 [runnable]:
internal/poll.runtime_pollWait(0x7fffc8ef4a30, 0x72, 0xffffffffffffffff)
/tmp/farm/go/src/runtime/netpoll.go:222 +0x60
internal/poll.(*pollDesc).wait(0xc00063eb18, 0x72, 0x200, 0x200, 0xffffffffffffffff)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:87 +0x50
internal/poll.(*pollDesc).waitRead(...)
/tmp/farm/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00063eb00, 0xc00063cc00, 0x200, 0x200, 0x0, 0x0, 0x0)
/tmp/farm/go/src/internal/poll/fd_unix.go:166 +0x1e8
net.(*netFD).Read(0xc00063eb00, 0xc00063cc00, 0x200, 0x200, 0x0, 0x1c, 0x1201805cc)
/tmp/farm/go/src/net/fd_posix.go:55 +0x58
net.(*conn).Read(0xc0004f4350, 0xc00063cc00, 0x200, 0x200, 0x0, 0x0, 0x0)
/tmp/farm/go/src/net/net.go:183 +0x9c
net.dnsPacketRoundTrip(0x120331508, 0xc0004f4350, 0x676e616c6f673536, 0x2e67726f2e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:86 +0x100
net.(*Resolver).exchange(0x12047dfa0, 0x12032e8f8, 0xc000630e80, 0xc00009c020, 0xb, 0x6f2e676e616c6f67, 0x2e6772, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:165 +0x38c
net.(*Resolver).tryOneName(0x12047dfa0, 0x12032e8f8, 0xc000630e80, 0xc000370000, 0xc000385450, 0xb, 0x59eb9414d5220001, 0x0, 0x0, 0x0, ...)
/tmp/farm/go/src/net/dnsclient_unix.go:255 +0x2c0
net.(*Resolver).goLookupIPCNAMEOrder.func3.1(0x12047dfa0, 0x12032e8f8, 0xc000630e80, 0xc000370000, 0xc000385450, 0xb, 0xc00061bb60, 0x1)
/tmp/farm/go/src/net/dnsclient_unix.go:601 +0x70
created by net.(*Resolver).goLookupIPCNAMEOrder.func3
/tmp/farm/go/src/net/dnsclient_unix.go:600 +0xd4

r0 0x0 r1 0x101f1809d9a5d
r2 0x101f180760ba3 r3 0x1204aa68c
r4 0x1204aa690 r5 0xc0003c4180
r6 0x0 r7 0xc000029800
r8 0x1204aa768 r9 0x1
r10 0x1 r11 0xc000585738
r12 0x0 r13 0xfe
r14 0x1202ea6f8 r15 0x0
r16 0x7fffb37fa678 r17 0xc000035400
r18 0xfa r19 0x6
r20 0xc000366010 r21 0xc00062f8b0
r22 0x1202ebca8 r23 0x1204b0000
r24 0x15825a01e99fef r25 0x1ea2401883aca
r26 0x0 r27 0x0
r28 0x100000000 r29 0x7fffb37fa6d0
r30 0xc0003c4180 r31 0x12004ec38
pc 0x12004d7f8 link 0x12004ec38
lo 0x0 hi 0x0
FAIL net 20.362s

I rebuilded the code and checked the 0x12004d7f8

12004d7f4:   1020038e        beqz    at,12004e630 <runtime.findrunnable+0xef0>
12004d7f8:   00000000        nop
12004d7fc:   0022482f        dsubu   a5,at,v0
12004d800:   ffa90090        sd      a5,144(sp)

Maybe it's async preempted with wrong quatum value some where in the compiler since it jumps to NOP.
It's more weird that runtime.findrunable shouldn't be preempted.

if hasPrefix(name, "runtime.") ||
        hasPrefix(name, "runtime/internal/") ||
        hasPrefix(name, "reflect.") {
        // For now we never async preempt the runtime or
        // anything closely tied to the runtime. Known issues
        // include: various points in the scheduler ("don't
        // preempt between here and here"), much of the defer
        // implementation (untyped info on stack), bulk write
        // barriers (write barrier check),
        // reflect.{makeFuncStub,methodValueCall}.
        //
        // TODO(austin): We should improve this, or opt things
        // in incrementally.
        return false, 0
}

@cherrymui @randall77

@cherrymui
Copy link
Contributor

@cherrymui cherrymui commented Dec 7, 2020

instruction bytes: 0x0 0x0 0x0 0x0 0x2f 0x48 0x22 0x0 0x90 0x0 0xa9 0xff 0x48 0x20 0x17 0x3c

0x0 0x0 0x0 0x0 is just a NOP instruction.

There is nothing wrong to jump to a NOP. The question is why it SIGILLs at a NOP instruction.

@toothrot toothrot added this to the Backlog milestone Dec 8, 2020
@mengzhuo
Copy link
Contributor Author

@mengzhuo mengzhuo commented Dec 9, 2020

I make Go net.test by 10000 times it all passed.
You are right, I've tried direct jump into NOP by

.text
__start:
        li  $a0, 0
        li  $v0, 4004
        dla $a1, msg
        li $a2, 13
        syscall
        li      $a0, 1
        dla     $a0, l1
        #daddi  $a0, 4 // adding this line
        j       $a0
        li      $v0, 4001
l1:
        li      $a0, 0
        nop
        li      $v0, 4001
        syscall
        raw $0x0, $0x0
        db $0x0, $0x0
.data
msg: .asciiz "Hello World\n"

And it's totally fined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.