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

runtime: various crashes running ARM 'go' command under qemu #29325

Closed
hermanbanken opened this issue Dec 18, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@hermanbanken
Copy link

commented Dec 18, 2018

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

$ go version
1.11.4

Does this issue reproduce with the latest release?

Yes. 1.11.4

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

go env Output
$ go env
GOARCH="arm"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_arm"
GCCGO="gccgo"
GOARM="6"
CC="arm-linux-gnueabi-gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/go-slide/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 -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build036308354=/tmp/go-build -gno-record-gcc-switches"

What did you do?

FROM debian:stretch as builder
# RPi cross compilation tools
RUN apt-get update && apt-get install -qy cross-gcc-dev curl git && \
	dpkg --add-architecture armhf && dpkg --add-architecture armel && \
	apt-get update && apt-get install -qy crossbuild-essential-armel crossbuild-essential-armhf
RUN apt-get install -y multiarch-support:armhf qemu-user qemu-user-static binfmt-support

# Golang 1.11.4
RUN curl -s https://dl.google.com/go/go1.11.4.linux-armv6l.tar.gz --output golang.tar.gz && \
    tar -C /usr/local -xzf golang.tar.gz && \
    rm golang.tar.gz
ENV PATH="/usr/local/go/bin:${PATH}"

COPY go-slide /go-slide
WORKDIR /go-slide

RUN CC=arm-linux-gnueabi-gcc \
  GOOS=linux \
  GOARCH=arm \
  GOARM=6 \
  go build -x -v -a \
    -tags netgo \
    -ldflags '-w -extldflags "-static"' \
    -o main-statig *.go

Run docker file above ^

What did you expect to see?

Working cross-compiled static build.

What did you see instead?

Various errors! Example run 1:

Step 9/12 : RUN CC=arm-linux-gnueabi-gcc   GOOS=linux 	GOARCH=arm 	GOARM=6 	go build -x -v -a 	  -tags netgo 		-ldflags '-w -extldflags "-static"' 	  -o go-slide-static-bin *.go
 ---> Running in 3d3b302cc6da
WORK=/tmp/go-build114679434
mkdir -p /root/go/pkg/mod/cache/vcs/9b57de15915a2564a133192909d2d779433a38d49df7d581dc764e6764a41406 # git2 https://github.com/pkg/errors
mkdir -p /root/go/pkg/mod/cache/vcs/19e99862424b29302cca7ef460f92364d4735f5e4efd01107379b9d11125e9e4 # git2 https://github.com/warthog618/gpio
cd /root/go/pkg/mod/cache/vcs/19e99862424b29302cca7ef460f92364d4735f5e4efd01107379b9d11125e9e4; git init --bare
cd /root/go/pkg/mod/cache/vcs/9b57de15915a2564a133192909d2d779433a38d49df7d581dc764e6764a41406; git init --bare
0.032s # cd /root/go/pkg/mod/cache/vcs/9b57de15915a2564a133192909d2d779433a38d49df7d581dc764e6764a41406; git init --bare
fatal error: malloc deadlock
panic during panic

goroutine SIGILL: illegal instruction
PC=380x1ceabe m=4 sigcode= [running2

goroutine 0 [idle]:
]:
runtime: unexpected return pc for cmd/go/internal/modfetch/codehost.NewRepo.func1 called from 0x3
stack: frame={sp:0xe52fecfc, fp:0xe52fed40} stack=[0xe4aff214,0xe52fee14)
e52fec7c: 00ce5100 00592c9c 00592c9c 007e43d8 runtime.throw
(e52fec8c: 0003cbdc <runtime.throw+92> 0003cbdc <runtime.throw+92> 0001ccd4 <runtime.mallocgc+2408> 00cc9710
e52fec9c: 00cc9724 00cc9724 00cc9728 00000008
e52fecac: 00000000 0005e524 <runtime.traceback+60> 0003cbdc <runtime.throw+92> 00cc9710
e52fecbc: 00000000 00c7d880 00000000 00000000
e52feccc: 00000064 00000000 00000000 00000000
e52fecdc: 00000002 00000000 001c37e3 <cmd/go/internal/modfetch/codehost.Run+75> 0003dd20 <runtime.printint+88>
e52fecec: e52fed6a 00000002 00000002 00000000
e52fecfc: 0x49cb07<00000003 00000000 00000062 00000000
e52fed0c: 00000000 00000000 00000000 00000000
e52fed1c: 0003d478 <runtime.recordForPanic+20> 0003d56c <runtime.recordForPanic+264> 0003d484 <runtime.recordForPanic+32> 0003d690 <runtime.gwrite+52>
e52fed2c: 0003d73c <runtime.gwrite+224> 00000002 004962fd 00000003
e52fed3c: 00000003 , >0003df28 <runtime.printstring+96> 004962fd 00000003
e52fed4c: 00000003 00000000 00000000 0005f460 <runtime.goroutineheader+400>
e52fed5c: 004962fd 00000003 00000003 004962fd
e52fed6c: 00000003 004962fd 0005f464 <runtime.goroutineheader+404> 00000003
e52fed7c: 0003d264 <runtime.dopanic_m+616> 004962fd 00000003 00495e00
e52fed8c: 00000001 00000001 00495e00 00000000
e52fed9c: 0003d288 <runtime.dopanic_m+652> 0003cbdc <runtime.throw+92> 00cc9710 00000000
e52fedac: 00c7d880 00000000 00064cb0 <runtime.fatalthrow.func1+72> 0003cbdc <runtime.throw+92>
e52fedbc: 00cc9710 0xf
)
cmd/go/internal/modfetch/codehost.NewRepo.func1(0x4962fd, 0x3)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:46 +0x32
/usr/local/go/src/runtime/panic.go:608 +
goroutine 38 [running]:
0x5cruntime.systemstack_switch()
/usr/local/go/src/runtime/asm_arm.s:298 +0x4 fp= fp=0xcc96f8 sp=0xcc96f4 pc=0x660d8
runtime.fatalthrow()
/usr/local/go/src/runtime/panic.go:660 +0x44 fp=0xcc9710 sp=0xcc96f8 pc=0x3cd7c
runtime.throw(0x49cb07, 0xf)
/usr/local/go/src/runtime/panic.go:608 +0x5c fp=0xcc9724 sp=0xcc9710 pc=0x3cbdc
0xcc9724 sp=runtime.mallocgc(0x8, 0x435be0, 0xa6c14101, 0x32f37b73)
/usr/local/go/src/runtime/malloc.go:814 +0x968 fp=0xcc9788 sp=0xcc9724 pc=0x1ccd4
0xcc9710 pc=runtime.growslice(0x435be0, 0x0, 0x0, 0x0, 0x1, 0xce6388, 0x7abb8, 0xc7d880)
/usr/local/go/src/runtime/slice.go:204 +0x120 fp=0xcc97b8 sp=0xcc9788 pc=0x530f80x3cbdc
cmd/go/internal/str.StringList
(0xcc997c, 0x5, 0x5, 0x44d140, 0xcee200, 0xcfa201)
/usr/local/go/src/cmd/go/internal/str/str.go:24 +0x110 fp=0xcc9814 sp=0xcc97b8 pc=0x170e84
cmd/go/internal/modfetch/codehost.RunWithStdin(0xe54000, 0x5b, 0x0, 0x0, 0xcc997c, 0x5, 0x5, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:219 +0x68 fp=0xcc98c8 sp=0xcc9814 pc=0x1c3884
cmd/go/internal/modfetch/codehost.Run(0xe54000, 0x5b, 0xcc997c, 0x5, 0x5, 0xe66600, 0x81, 0x600, 0x0, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:201 +0x4c fp=0xcc98fc sp=0xcc98c8 pc=0x1c37e4
cmd/go/internal/modfetch/codehost.newGitRepo(0xcfc180, 0x1d, 0xf667d300, 0x0, 0x1e490, 0xcfa240, 0x23670)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:74 +0x248 fp=0xcc99a4 sp=0xcc98fc pc=0x1c4d34
cmd/go/internal/modfetch/codehost.newVCSRepo(0x49637b, 0x3, 0xcfc180, 0x1d, 0x1, 0xcfa201, 0x0, 0x4b4201)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:75 +0x528 fp=0xcc9a4c sp=0xcc99a4 pc=0x1c9e58
cmd/go/internal/modfetch/codehost.NewRepo.func1(0xce5300, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:46 +0x34 fp=0xcc9a90 sp=0xcc9a4c pc=0x1ceac0
cmd/go/internal/par.(*Cache).Do(0x816498, 0x450200, 0xcfa240, 0xe32ae8, 0x80e120, 0x7)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc fp=0xcc9abc sp=0xcc9a90 pc=0x1aca4c
cmd/go/internal/modfetch/codehost.NewRepo(0x49637b, 0x3, 0xcfc180, 0x1d, 0x816468, 0x1, 0x0, 0x816401)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:45 +0xa4 fp=0xcc9afc sp=0xcc9abc pc=0x1c98bc
cmd/go/internal/modfetch.lookupCodeRepo(0xce52e0, 0x15, 0x1, 0x0, 0xce52e0)
/usr/local/go/src/cmd/go/internal/modfetch/repo.go:242 +0x38 fp=0xcc9b38 sp=0xcc9afc pc=0x3a0a34
cmd/go/internal/modfetch.lookup(0xcfc100, 0x15, 0x0, 0x1, 0x435be0, 0xce6308)
/usr/local/go/src/cmd/go/internal/modfetch/repo.go:runtime.mallocgc(0x8234, +0x1b80x435be0 fp=, 0xcc9b78 sp=0xa6c141010xcc9b38, pc=0x3a07d80x32f37b73
cmd/go/internal/modfetch.Lookup.func1(0xce5260, )
/usr/local/go/src/runtime/malloc.go0x0:814)
+0x968 fp=/usr/local/go/src/cmd/go/internal/modfetch/repo.go0xcc9788 sp=:0xcc9724 pc=0x1ccd4194
+0x24 fp=runtime.growslice0xcc9bac( sp=0x435be0, 0xcc9b780x0 pc=, 0x00x3a3b70, 0x0
, 0x1, 0xce6388, 0x7abb8cmd/go/internal/par.(*Cache).Do, (0xc7d880)
/usr/local/go/src/runtime/slice.go:204 +0x120 fp=0xcc97b8 sp=0xcc9788 pc=0x530f8
cmd/go/internal/str.StringList(0xcc997c, 0x5, 0x5, 0x44d140, 0xcee200, 0xcfa201)
/usr/local/go/src/cmd/go/internal/str/str.go:0x81646824 +, 0x110 fp=0x435be00xcc9814, sp=0xce63080xcc97b8, pc=0x170e840xe32bfc
, 0x0, 0x0cmd/go/internal/modfetch/codehost.RunWithStdin)
( 0xe54000/usr/local/go/src/cmd/go/internal/par/work.go, :0x5b, 1280x0 +, 0xcc0x0, fp=0xcc997c0xcc9bd8, sp=0x50xcc9bac, pc=0x50x1aca4c,
0x0, 0x0, 0x0cmd/go/internal/modfetch.Lookup, ...()
0xcfc100 , /usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go0x15:, 2190xcee130 +, 0x680x6 fp=, 0xcc98c80xd10050 sp=, 0xcc98140x43 pc=)
0x1c3884/usr/local/go/src/cmd/go/internal/modfetch/repo.go
:193cmd/go/internal/modfetch/codehost.Run +(0x800xe54000 fp=, 0xcc9c080x5b sp=, 0xcc9bd80xcc997c pc=, 0x3a05ac0x5
, 0x5, cmd/go/internal/modfetch.GoMod0xe66600(, 0xcfc1000x81, , 0x150x600, , 0xcee1300x0, , 0x60x0, )
0x0/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go, :0x0201, +0x00x4c, fp=0x00xcc98fc, sp=0x00xcc98c8)
pc= 0x1c37e4/usr/local/go/src/cmd/go/internal/modfetch/cache.go
:269 +cmd/go/internal/modfetch/codehost.newGitRepo0x88( fp=0xcfc1800xcc9c38, sp=0x1d0xcc9c08, pc=0xf667d3000x396108,
0x0, 0x1e490, 0xcfa240, cmd/go/internal/modload.(*mvsReqs).required0x23670()
0xddaec0/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go, :0xcfc10074, +0x150x248, fp=0xcee1300xcc99a4, sp=0x60xcc98fc, pc=0xca5b400x1c4d34,
0xe32e3c, 0x8, cmd/go/internal/modfetch/codehost.newVCSRepo0x4(, 0x49637b0x0, )
0x3 , /usr/local/go/src/cmd/go/internal/modload/load.go0xcfc180:, 9670x1d +, 0x71c0x1 fp=, 0xcc9d900xcfa201 sp=, 0xcc9c380x0 pc=, 0x3b99140x4b4201
)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:cmd/go/internal/modload.(*mvsReqs).Required.func175( +0xce52200x528, fp=0x00xcc9a4c)
sp= 0xcc99a4/usr/local/go/src/cmd/go/internal/modload/load.go pc=:0x1c9e58851
+0x54cmd/go/internal/modfetch/codehost.NewRepo.func1 fp=(0xcc9e6c0xce5300 sp=, 0xcc9d900x0 pc=)
0x3be3c0
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:46 +0x34 fp=0xcc9a90 sp=0xcc9a4c pc=0x1ceac0
cmd/go/internal/par.(*Cache).Do(0x816498, 0x450200, 0xcfa240, 0xe32ae8, 0x80e120, 0x7)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc fp=0xcc9abc sp=0xcc9a90 pc=0x1aca4c
cmd/go/internal/modfetch/codehost.NewRepo(0x49637bcmd/go/internal/par.(*Cache).Do, (0x3, 0xddaecc0xcfc180, , 0x4505180x1d, , 0xcfa2100x816468, , 0xe32eec0x1, , 0x00x0, , 0x1ac5740x816401)
)
/usr/local/go/src/cmd/go/internal/par/work.go/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go::45128 + +0xa4 fp=0xcc0xcc9afc fp= sp=0xcc9e980xcc9abc sp= pc=0xcc9e6c0x1c98bc pc=
0x1aca4c
cmd/go/internal/modfetch.lookupCodeRepo(cmd/go/internal/modload.(*mvsReqs).Required0xce52e0(, 0xddaec00x15, , 0xcfc1000x1, , 0x150x0, , 0xcee1300xce52e0, )
0x6/usr/local/go/src/cmd/go/internal/modfetch/repo.go, :0xca2270242, +0x129600x38, fp=0x7af3c0xcc9b38, sp=0xca22700xcc9afc, pc=0x10x3a0a34)

/usr/local/go/src/cmd/go/internal/modload/load.go:cmd/go/internal/modfetch.lookup850( +0xcfc1000x9c,  fp=0x150xcc9f04,  sp=0x00xcc9e98,  pc=0x10x3b8fd0,

0x435be0, 0xce6308cmd/go/internal/mvs.buildList.func1)
( 0x450518/usr/local/go/src/cmd/go/internal/modfetch/repo.go, :0xcfa200234)

  • 0x1b8/usr/local/go/src/cmd/go/internal/mvs/mvs.go fp=:0xcc9b7887 sp= +0xcc9b380x9c pc= fp=0x3a07d80xcc9fcc
    sp=0xcc9f04cmd/go/internal/modfetch.Lookup.func1 pc=(0x3a9ac80xce5260
    , 0x0)
    cmd/go/internal/par.(*Work).runner (/usr/local/go/src/cmd/go/internal/modfetch/repo.go0xce03c0:)
    194 +/usr/local/go/src/cmd/go/internal/par/work.go0x24: fp=0xcc9bac101 sp= +0xcc9b780x114 pc= fp=0x3a3b700xcc9fe4
    sp=0xcc9fcc pc=cmd/go/internal/par.(*Cache).Do0x1ac924(
    0x816468, 0x435be0runtime.goexit, ()
    0xce6308 , /usr/local/go/src/runtime/asm_arm.s0xe32bfc:, 8670x0 +, 0x40x0 fp=)
    0xcc9fe4 sp=/usr/local/go/src/cmd/go/internal/par/work.go:0xcc9fe4 pc=1280x67f44 +
    0xcc fp=0xcc9bd8 sp=0xcc9bac pc=0x1aca4c
    cmd/go/internal/modfetch.Lookup(0xcfc100, 0x15, 0xcee130, 0x6, 0xd10050, 0x43)
    /usr/local/go/src/cmd/go/internal/modfetch/repo.go:193 +0x80 fp=0xcc9c08 sp=0xcc9bd8 pc=0x3a05ac
    cmd/go/internal/modfetch.GoMod(0xcfc100, 0x15, 0xcee130, 0x6, created by 0x0, 0x0, cmd/go/internal/par.(*Work).Do0x0, 0x0
    , 0x0)
    /usr/local/go/src/cmd/go/internal/modfetch/cache.go:269 +0x88 fp=0xcc9c38 sp=0xcc9c08 pc=0x396108
    cmd/go/internal/modload.(*mvsReqs).required/usr/local/go/src/cmd/go/internal/par/work.go(0xddaec0, :0xcfc100, 0x15, 0xcee13067, 0x6, 0xca5b40, 0xe32e3c, 0x8, 0x4, +0x0)
    /usr/local/go/src/cmd/go/internal/modload/load.go:0x8c967 +0x71c fp=0xcc9d90 sp=
    0xcc9c38 pc=0x3b9914
    cmd/go/internal/modload.(*mvsReqs).Required.func1(0xce5220, 0x0)

goroutine /usr/local/go/src/cmd/go/internal/modload/load.go1 [syscall]:
:851syscall.Syscall6(0x118, 0x1, 0x11, 0xcccd90, 0x1000004, 0x0, 0x0, 0x1c63c, 0x15e54, 0xca3d30)
/usr/local/go/src/syscall/asm_linux_arm.s:45 +0x8
os.(*Process).blockUntilWaitable(0xc90870, 0xc90870, 0x0, 0x0)
/usr/local/go/src/os/wait_waitid.go:31 +0x64
os.(*Process).wait(0xc90870, 0x7, 0xc89d60, 0xe12760)
/usr/local/go/src/os/exec_unix.go:22 +0x2c
os.(*Process).Wait(0xc90870, 0x4d5f58, 0x4d5f5c, 0x4d5f54)
/usr/local/go/src/os/exec.go:125 +0x1c
os/exec.(*Cmd).Wait(0xcb2a50, 0x0, 0x0)
/usr/local/go/src/os/exec/exec.go:465 +0x40
os/exec.(*Cmd).Run(0xcb2a50, 0x3, 0xe12748)
/usr/local/go/src/os/exec/exec.go:309 +0x44
cmd/go/internal/modfetch/codehost.RunWithStdin(0xe141e0, 0x5b, 0x0, 0x0, 0xcccffc, 0x3, 0x3, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:261 +0xc24
cmd/go/internal/modfetch/codehost.Run(0xe141e0, 0x5b, 0xcccffc, 0x3, 0x3, 0xe12700, 0x0, 0x0, 0x1c844, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:201 +0x4c
cmd/go/internal/modfetch/codehost.newGitRepo(0xc90750, 0x22, 0xfbfdf700, 0xd13bc91d, 0x1e490, 0xca3ca0, 0x23670)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:66 +0x1b0
cmd/go/internal/modfetch/codehost.newVCSRepo(0x49637b, 0x3, 0xc90750, 0x22, 0x1, 0xca3c01, 0xce5320, 0x4b4201)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:75 +0x528
cmd/go/internal/modfetch/codehost.NewRepo.func1(0xe12500, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:46 +0x34
cmd/go/internal/par.(*Cache).Do(0x816498, 0x450200, 0xca3ca0, 0xccd180, 0x80e120, 0x7)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc
cmd/go/internal/modfetch/codehost.NewRepo(0x49637b, 0x3, +0xc90750, 0x540x22, fp=0x8164680xcc9e6c, sp=0x1, 0xcc9d900x0 pc=, 0x3be3c00x816401)

/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:45 +cmd/go/internal/par.(*Cache).Do0xa4

(0xddaecc, cmd/go/internal/modfetch.lookupCodeRepo(0x4505180xe124e0, , 0x1a0xcfa210, , 0x1, 0xe32eec0x0, , 0x00xe124e0, )
0x1ac574/usr/local/go/src/cmd/go/internal/modfetch/repo.go:)
242 +/usr/local/go/src/cmd/go/internal/par/work.go0x38
:128cmd/go/internal/modfetch.lookup(0xe0b140, +0x1a, 0xcc0xce5280, fp=0x1, 0xcc9e980x435be0 sp=, 0xc89c880xcc9e6c)
pc=/usr/local/go/src/cmd/go/internal/modfetch/repo.go:0x1aca4c234
+0x1b8
cmd/go/internal/modload.(*mvsReqs).Requiredcmd/go/internal/modfetch.Lookup.func1((0xddaec00xe12460, , 0xcfc1000x0, )
0x15 , /usr/local/go/src/cmd/go/internal/modfetch/repo.go0xcee130:, 1940x6 +, 0x240xca2270
, 0x12960cmd/go/internal/par.(*Cache).Do, (0x7af3c0x816468, , 0x435be0, 0xca22700xc89c88, , 0xccd2940x1, 0x0)
, 0x0)
/usr/local/go/src/cmd/go/internal/modload/load.go :/usr/local/go/src/cmd/go/internal/par/work.go:128850 +0xcc +
0x9c fp=cmd/go/internal/modfetch.Lookup(0xcc9f040xe0b140 sp=, 0x1a0xcc9e98, pc=0xdfa6b0, 0x3b8fd00x6
, 0xd2a1e0, 0x48)
/usr/local/go/src/cmd/go/internal/modfetch/repo.gocmd/go/internal/mvs.buildList.func1:(193 +0x80
cmd/go/internal/modfetch.GoMod(0xe0b140, 0x1a, 0xdfa6b0, 0x60x450518, 0x0, , 0x0, 0xcfa2000x0)
, 0x0, 0x18)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:/usr/local/go/src/cmd/go/internal/mvs/mvs.go269 +0x88
:87cmd/go/internal/modload.(*mvsReqs).required +(0x9c0xddaec0, fp=0xcc9fcc0xe0b140 sp=, 0xcc9f040x1a pc=, 0x3a9ac80xdfa6b0,
0x6, 0xca5b30, cmd/go/internal/par.(*Work).runner0xccd4d4(, 0x80xce03c0, )
0x4 , /usr/local/go/src/cmd/go/internal/par/work.go:0xffff)
101 /usr/local/go/src/cmd/go/internal/modload/load.go:967 +0x71c
+cmd/go/internal/modload.(*mvsReqs).Required.func1(0xe12400, 0x1140x0 fp=)
0xcc9fe4 sp=/usr/local/go/src/cmd/go/internal/modload/load.go0xcc9fcc: pc=8510x1ac924 +
0x54
runtime.goexitcmd/go/internal/par.(*Cache).Do((0xddaecc)
, 0x450518/usr/local/go/src/runtime/asm_arm.s, :0xca3c70, 0xccd584867, 0x0 +, 0x40x1ac574 fp=)
0xcc9fe4/usr/local/go/src/cmd/go/internal/par/work.go: sp=1280xcc9fe4 + pc=0xcc0x67f44

cmd/go/internal/modload.(*mvsReqs).Required(created by 0xddaec0cmd/go/internal/par.(*Work).Do,
0xe0b140, 0x1a, 0xdfa6b0 , 0x6/usr/local/go/src/cmd/go/internal/par/work.go, 0xca2270:, 0x1296067, 0x7af3c +, 0x8c0xca2270,
0x1)
/usr/local/go/src/cmd/go/internal/modload/load.go:850 +0x9c
cmd/go/internal/mvs.buildList.func1(0x450518, 0xca3c50)
/usr/local/go/src/cmd/go/internal/mvs/mvs.go:87 +0x9c
cmd/go/internal/par.(*Work).runner(0xce03c0)
/usr/local/go/src/cmd/go/internal/par/work.go:101 +0x114
cmd/go/internal/par.(*Work).Do(0xce03c0, 0xa, 0xe12360)
/usr/local/go/src/cmd/go/internal/par/work.go:69 +0xb0
cmd/go/internal/mvs.buildList(0xc90630, 0x29, 0x0, 0x0, 0x54f070, 0xddaec0, 0x0, 0x3b6e08, 0x40, 0x45e5c0, ...)
/usr/local/go/src/cmd/go/internal/mvs/mvs.go:85 +0x164
cmd/go/internal/mvs.BuildList(0xc90630, 0x29, 0x0, 0x0, 0x54f070, 0xddaec0, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/cmd/go/internal/mvs/mvs.go:72 +0x4c
cmd/go/internal/modload.(*loader).load(0xdd8420, 0xccda70)
/usr/local/go/src/cmd/go/internal/modload/load.go:487 +0xb0
cmd/go/internal/modload.ImportFromFiles(0xc7c2f8, 0x11, 0x11)
/usr/local/go/src/cmd/go/internal/modload/load.go:242 +0x140
cmd/go/internal/load.GoFilesPackage(0xc7c2f8, 0x11, 0x11, 0xdaae01)
/usr/local/go/src/cmd/go/internal/load/pkg.go:1980 +0xaa8
cmd/go/internal/load.PackagesAndErrors(0xc7c2f8, 0x11, 0x11, 0x9d6b4, 0x7ffff800, 0x4)
/usr/local/go/src/cmd/go/internal/load/pkg.go:1839 +0x3b8
cmd/go/internal/load.PackagesForBuild(0xc7c2f8, 0x11, 0x11, 0x827200, 0x8, 0x2f0)
/usr/local/go/src/cmd/go/internal/load/pkg.go:1897 +0x30
cmd/go/internal/work.runBuild(0x811978, 0xc7c2f8, 0x11, 0x11)
/usr/local/go/src/cmd/go/internal/work/build.go:285 +0x4c
main.main()
/usr/local/go/src/cmd/go/main.go:219 +0x93c

goroutine 35 [syscall]:
os/signal.signal_recv(0x54e190)
/usr/local/go/src/runtime/sigqueue.go:139 +0x130
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x14
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:29 +0x30

goroutine 37 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xce03e8, 0xa)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xce03e0)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xce03c0)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 39 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xce03e8, 0x4)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xce03e0)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xce03c0)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 40 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xce03e8, 0x6)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xce03e0)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xce03c0)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 41 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xce03e8, 0x7)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xce03e0)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xce03c0)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 42 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xce03e8, 0x9)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xce03e0)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xce03c0)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 43 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xce03e8, 0x3)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xce03e0)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xce03c0)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 44 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xce03e8, 0x5)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xce03e0)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xce03c0)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 45 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xce03e8, 0x8)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xce03e0)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xce03c0)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 1 [syscall]:
trap syscall.Syscall6(0x118, 0x1, 0x11, 0xcccd90, 0x0
error 0x0
oldmask 0x10000040x0,
0x0, 0x0, 0x1c63c, 0x15e54, 0xca3d30)
/usr/local/go/src/syscall/asm_linux_arm.s:45 +0x8
os.(*Process).blockUntilWaitabler0 (0xc90870, 0xc908700x0, 0x0
, 0x0)
/usr/local/go/src/os/wait_waitid.go:r1 31 +0xe4aff5840x64

r2 os.(*Process).wait(0xc908700x49b9f0,
0x7, 0xc89d60, r3 0x0
r4 0x00xe12760
)
/usr/local/go/src/os/exec_unix.gor5 0x0
:22 +0x2c
r6 0x616174
os.(*Process).Wait(0xc90870, 0x4d5f58r7 0xe52fed18
, 0x4d5f5c, 0x4d5f54)
r8 /usr/local/go/src/os/exec.go:125 +0x60x1c

os/exec.(*Cmd).Wait(r9 0xcb2a50, 0x0, 0x100x0
)
/usr/local/go/src/os/exec/exec.go:465 +0x40
os/exec.(*Cmd).Run(0xcb2a50, 0x3, 0xe12748)
r10 /usr/local/go/src/os/exec/exec.go:0xc520e0309 +
0x44
fp 0x6
ip 0xc7c655
cmd/go/internal/modfetch/codehost.RunWithStdin(0xe141e0, 0x5b, 0x0, 0x0, 0xcccffc, 0x3, sp 0x3, 0x00xe52fecfc, 0x0
, 0x0, ...)
lr /usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:0x3df28261
+0xc24
pc cmd/go/internal/modfetch/codehost.Run(0x1ceabe0xe141e0, 0x5b, 0xcccffc, 0x3, 0x3, 0xe12700, 0x0, 0x0, 0x1c844, 0x0
)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:cpsr 0x600c0030201 +
0x4c
cmd/go/internal/modfetch/codehost.newGitRepo(0xc90750, 0x22, 0xfbfdf700, fault 0xd13bc91d, 0x1e490, 0xca3ca00x0,
0x23670)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:66 +0x1b0
cmd/go/internal/modfetch/codehost.newVCSRepo(0x49637b, 0x3, 0xc90750

Run 2:

�fatal: morestack on g0
Signal 12584480
PC=0x68e04 m=2 sigcode=1

goroutine 0 [idle]:
runtime: unexpected return pc for runtime.usleep called from 0x816b20
stack: frame={sp:0xe645bd8c, fp:0xe645bd9c} stack=[0xe5c5c214,0xe645be14)
e645bd0c: 00000081 00000001 00000000 00000000
e645bd1c: 00000000 00000001 00000001 00000001
e645bd2c: 0001299c <runtime/internal/atomic.Xchg+36> 0001aeec <runtime.lock+64> 0001299c <runtime/internal/atomic.Xchg+36> 0001aeec <runtime.lock+64>
e645bd3c: 00826f34 0001b538 <runtime.notetsleep_internal+484> 00816b20 00000080
e645bd4c: 00000000 e645bd60 00000000 00000000
e645bd5c: 0001299c <runtime/internal/atomic.Xchg+36> 0000003c 00000000 0001b650 <runtime.notetsleep+72>
e645bd6c: 00816b20 00000000 f8475800 0000000d
e645bd7c: dd022ccf 0000a5ea 00c00620 000486dc <runtime.sysmon+492>
e645bd8c: <00816b20 f8475800 0000000d 00000001
e645bd9c: >000412fc <runtime.mstart1+188> 00816b20 f8475800 0000000d
e645bdac: 00000000 0000a500 f67d4101 e45fce13
e645bdbc: 0000a5dc d964b800 00000045 00000000
e645bdcc: 00000000 00000000 5eb98ae7 0000a5dc
e645bddc: 00000000 0000003a 00001400 00000000
e645bdec: 00000000 0003b0dc <runtime.minit+20> 00000000 0000000a
e645bdfc: 0004121c <runtime.mstart+96> 0004121c <runtime.mstart+96> e645be0c 00c00620
e645be0c: 000120d0 <crosscall_arm1+24> 007e0120
runtime: unexpected return pc for runtime.usleep called from 0x816b20
stack: frame={sp:0xe645bd8c, fp:0xe645bd9c} stack=[0xe5c5c214,0xe645be14)
e645bd0c: 00000081 00000001 00000000 00000000
e645bd1c: 00000000 00000001 00000001 00000001
e645bd2c: 0001299c <runtime/internal/atomic.Xchg+36> 0001aeec <runtime.lock+64> 0001299c <runtime/internal/atomic.Xchg+36> 0001aeec <runtime.lock+64>
e645bd3c: 00826f34 0001b538 <runtime.notetsleep_internal+484> 00816b20 00000080
e645bd4c: 00000000 e645bd60 00000000 00000000
e645bd5c: 0001299c <runtime/internal/atomic.Xchg+36> 0000003c 00000000 0001b650 <runtime.notetsleep+72>
e645bd6c: 00816b20 00000000 f8475800 0000000d
e645bd7c: dd022ccf 0000a5ea 00c00620 000486dc <runtime.sysmon+492>
e645bd8c: <00816b20 f8475800 0000000d 00000001
e645bd9c: >000412fc <runtime.mstart1+188> 00816b20 f8475800 0000000d
e645bdac: 00000000 0000a500 f67d4101 e45fce13
e645bdbc: 0000a5dc d964b800 00000045 00000000
e645bdcc: 00000000 00000000 5eb98ae7 0000a5dc
e645bddc: 00000000 0000003a 00001400 00000000
e645bdec: 00000000 0003b0dc <runtime.minit+20> 00000000 0000000a
e645bdfc: 0004121c <runtime.mstart+96> 0004121c <runtime.mstart+96> e645be0c 00c00620
e645be0c: 000120d0 <crosscall_arm1+24> 007e0120
runtime.usleep(0x816b20, 0xf8475800, 0xd, 0x0, 0xa500, 0xf67d4101, 0xe45fce13, 0xa5dc, 0xd964b800, 0x45, ...)
/usr/local/go/src/runtime/sys_linux_arm.s:482 +0x2c

goroutine 1 [running]:
syscall.Close(0xa, 0xcccb60, 0x4)
/usr/local/go/src/syscall/zsyscall_linux_arm.go:309 +0xcc fp=0xcccb1c sp=0xcccb1c pc=0x8537c
syscall.forkExec(0xceea50, 0xc, 0xcf1420, 0x4, 0x4, 0xcccc0c, 0x10, 0x0, 0xceea90)
/usr/local/go/src/syscall/exec_unix.go:204 +0x2a8 fp=0xcccba0 sp=0xcccb1c pc=0x80984
syscall.StartProcess(0xceea50, 0xc, 0xcf1420, 0x4, 0x4, 0xcccc0c, 0x2, 0x4, 0x0, 0x0)
/usr/local/go/src/syscall/exec_unix.go:241 +0x44 fp=0xcccbc8 sp=0xcccba0 pc=0x80bfc
os.startProcess(0xceea50, 0xc, 0xcf1420, 0x4, 0x4, 0xcccccc, 0xe9e8c0, 0x13, 0x13)
/usr/local/go/src/os/exec_posix.go:46 +0x14c fp=0xcccc30 sp=0xcccbc8 pc=0xa27b8
os.StartProcess(0xceea50, 0xc, 0xcf1420, 0x4, 0x4, 0xcccccc, 0x0, 0x0, 0xef4480)
/usr/local/go/src/os/exec.go:102 +0x58 fp=0xcccc58 sp=0xcccc30 pc=0xa23d8
os/exec.(*Cmd).Start(0xe9c420, 0xe9c420, 0xcf1420)
/usr/local/go/src/os/exec/exec.go:383 +0x360 fp=0xccccf0 sp=0xcccc58 pc=0xf819c
os/exec.(*Cmd).Run(0xe9c420, 0x3, 0xcf1408)
/usr/local/go/src/os/exec/exec.go:306 +0x1c fp=0xcccd00 sp=0xccccf0 pc=0xf7df4
cmd/go/internal/modfetch/codehost.RunWithStdin(0xe461e0, 0x5b, 0x0, 0x0, 0xccce1c, 0x4, 0x4, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:261 +0xc24 fp=0xcccdb4 sp=0xcccd00 pc=0x1c4440
cmd/go/internal/modfetch/codehost.Run(0xe461e0, 0x5b, 0xccce1c, 0x4, 0x4, 0x4975df, 0x6, 0xe76540, 0x2f, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:201 +0x4c fp=0xcccde8 sp=0xcccdb4 pc=0x1c37e4
cmd/go/internal/modfetch/codehost.(*gitRepo).ReadFile(0xe4e120, 0xe34420, 0x6, 0x4975df, 0x6, 0x1000000, 0x0, 0x21, 0x0, 0x0, ...)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:457 +0x10c fp=0xccce3c sp=0xcccde8 pc=0x1c78b8
cmd/go/internal/modfetch.(*codeRepo).findDir(0xe01ec0, 0xe34420, 0x6, 0x464100, 0xe2fe01, 0xce26c0, 0x3a2d30, 0x464100, 0xce26c0, 0xce9ac0, ...)
/usr/local/go/src/cmd/go/internal/modfetch/coderepo.go:285 +0xdc fp=0xccd110 sp=0xccce3c pc=0x399258
cmd/go/internal/modfetch.(*codeRepo).GoMod(0xe01ec0, 0xe34420, 0x6, 0xce26c0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/coderepo.go:378 +0x2c fp=0xccd16c sp=0xccd110 pc=0x39a4a0
cmd/go/internal/modfetch.(*cachingRepo).GoMod.func1(0xe2fe20, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:200 +0xe8 fp=0xccd204 sp=0xccd16c pc=0x3a2d88
cmd/go/internal/par.(*Cache).Do(0xe624b8, 0x435be0, 0xce9aa0, 0xccd26c, 0x6, 0xe34ad0)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc fp=0xccd230 sp=0xccd204 pc=0x1aca4c
cmd/go/internal/modfetch.(*cachingRepo).GoMod(0xe624b0, 0xe34420, 0x6, 0xe624b0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:185 +0xbc fp=0xccd2a0 sp=0xccd230 pc=0x395c2c
cmd/go/internal/modfetch.GoMod(0xe3eee0, 0x1a, 0xe34420, 0x6, 0x0, 0x0, 0x0, 0x0, 0x18)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:273 +0xdc fp=0xccd2d0 sp=0xccd2a0 pc=0x39615c
cmd/go/internal/modload.(*mvsReqs).required(0xe01940, 0xe3eee0, 0x1a, 0xe34420, 0x6, 0xd1b740, 0xccd4d4, 0x8, 0x4, 0x0)
/usr/local/go/src/cmd/go/internal/modload/load.go:967 +0x71c fp=0xccd428 sp=0xccd2d0 pc=0x3b9914
cmd/go/internal/modload.(*mvsReqs).Required.func1(0xe2f940, 0x0)
/usr/local/go/src/cmd/go/internal/modload/load.go:851 +0x54 fp=0xccd504 sp=0xccd428 pc=0x3be3c0
cmd/go/internal/par.(*Cache).Do(0xe0194c, 0x450518, 0xcedae0, 0xccd584, 0x0, 0x1ac574)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc fp=0xccd530 sp=0xccd504 pc=0x1aca4c
cmd/go/internal/modload.(*mvsReqs).Required(0xe01940, 0xe3eee0, 0x1a, 0xe34420, 0x6, 0xcec0e0, 0x12960, 0x7af3c, 0xcec0e0, 0x1)
/usr/local/go/src/cmd/go/internal/modload/load.go:850 +0x9c fp=0xccd59c sp=0xccd530 pc=0x3b8fd0
cmd/go/internal/mvs.buildList.func1(0x450518, 0xcedac0)
/usr/local/go/src/cmd/go/internal/mvs/mvs.go:87 +0x9c fp=0xccd664 sp=0xccd59c pc=0x3a9ac8
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:101 +0x114 fp=0xccd67c sp=0xccd664 pc=0x1ac924
cmd/go/internal/par.(*Work).Do(0xd38370, 0xa, 0xe2f8a0)
/usr/local/go/src/cmd/go/internal/par/work.go:69 +0xb0 fp=0xccd690 sp=0xccd67c pc=0x1ac790
cmd/go/internal/mvs.buildList(0xd14540, 0x29, 0x0, 0x0, 0x54f070, 0xe01940, 0x0, 0x3b6e08, 0x40, 0x45e5c0, ...)
/usr/local/go/src/cmd/go/internal/mvs/mvs.go:85 +0x164 fp=0xccd80c sp=0xccd690 pc=0x3a7f80
cmd/go/internal/mvs.BuildList(0xd14540, 0x29, 0x0, 0x0, 0x54f070, 0xe01940, 0x0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/cmd/go/internal/mvs/mvs.go:72 +0x4c fp=0xccd840 sp=0xccd80c pc=0x3a7de4
cmd/go/internal/modload.(*loader).load(0xe62090, 0xccda70)
/usr/local/go/src/cmd/go/internal/modload/load.go:487 +0xb0 fp=0xccda1c sp=0xccd840 pc=0x3b6e84
cmd/go/internal/modload.ImportFromFiles(0xc7c2f0, 0x11, 0x12)
/usr/local/go/src/cmd/go/internal/modload/load.go:242 +0x140 fp=0xccda8c sp=0xccda1c pc=0x3b6224
cmd/go/internal/load.GoFilesPackage(0xc7c2f0, 0x11, 0x12, 0xdecc01)
/usr/local/go/src/cmd/go/internal/load/pkg.go:1980 +0xaa8 fp=0xccdbe0 sp=0xccda8c pc=0x1a4858
cmd/go/internal/load.PackagesAndErrors(0xc7c2f0, 0x11, 0x12, 0x9d6b4, 0x7ffff800, 0x4)
/usr/local/go/src/cmd/go/internal/load/pkg.go:1839 +0x3b8 fp=0xccdca8 sp=0xccdbe0 pc=0x1a361c
cmd/go/internal/load.PackagesForBuild(0xc7c2f0, 0x11, 0x12, 0x827200, 0x8, 0x289)
/usr/local/go/src/cmd/go/internal/load/pkg.go:1897 +0x30 fp=0xccde38 sp=0xccdca8 pc=0x1a39a0
cmd/go/internal/work.runBuild(0x811978, 0xc7c2f0, 0x11, 0x12)
/usr/local/go/src/cmd/go/internal/work/build.go:285 +0x4c fp=0xccdea4 sp=0xccde38 pc=0x352378
main.main()
/usr/local/go/src/cmd/go/main.go:219 +0x93c fp=0xccdfc4 sp=0xccdea4 pc=0x3ec988
runtime.main()
/usr/local/go/src/runtime/proc.go:201 +0x204 fp=0xccdfe4 sp=0xccdfc4 pc=0x3e4a8
runtime.goexit()
/usr/local/go/src/runtime/asm_arm.s:867 +0x4 fp=0xccdfe4 sp=0xccdfe4 pc=0x67f44

goroutine 35 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:139 +0x130
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x14
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:29 +0x30

goroutine 19 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xd38398, 0x9)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd38390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 20 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xd38398, 0xa)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd38390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 21 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xd38398, 0x3)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd38390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 22 [syscall]:
syscall.Syscall6(0x118, 0x1, 0x3c, 0xcc945c, 0x1000004, 0x0, 0x0, 0x1c63c, 0x15e54, 0xcede10)
/usr/local/go/src/syscall/asm_linux_arm.s:45 +0x8
os.(*Process).blockUntilWaitable(0xd14a50, 0xd14a50, 0x0, 0x0)
/usr/local/go/src/os/wait_waitid.go:31 +0x64
os.(*Process).wait(0xd14a50, 0x7, 0xce9c20, 0xeb82c0)
/usr/local/go/src/os/exec_unix.go:22 +0x2c
os.(*Process).Wait(0xd14a50, 0x4d5f58, 0x4d5f5c, 0x4d5f54)
/usr/local/go/src/os/exec.go:125 +0x1c
os/exec.(*Cmd).Wait(0xd88b00, 0x0, 0x0)
/usr/local/go/src/os/exec/exec.go:465 +0x40
os/exec.(*Cmd).Run(0xd88b00, 0x3, 0xeb8288)
/usr/local/go/src/os/exec/exec.go:309 +0x44
cmd/go/internal/modfetch/codehost.RunWithStdin(0xe96000, 0x5b, 0x0, 0x0, 0xcc9740, 0x7, 0x7, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:261 +0xc24
cmd/go/internal/modfetch/codehost.Run(0xe96000, 0x5b, 0xcc9740, 0x7, 0x7, 0x1c4498, 0xcee150, 0xffffffff, 0x0, 0x47f1d8)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:201 +0x4c
cmd/go/internal/modfetch/codehost.(*gitRepo).statLocal(0xe720c0, 0xcee070, 0x6, 0xc92450, 0x10, 0xece400, 0x0, 0x200)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:388 +0xc8
cmd/go/internal/modfetch/codehost.(*gitRepo).stat(0xe720c0, 0xcee070, 0x6, 0x0, 0x0, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:348 +0x4a4
cmd/go/internal/modfetch/codehost.(*gitRepo).Stat.func1(0xcf0d00, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:445 +0x2c
cmd/go/internal/par.(*Cache).Do(0xe720e0, 0x435be0, 0xcf42e0, 0xcc998c, 0x0, 0x0)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc
cmd/go/internal/modfetch/codehost.(*gitRepo).Stat(0xe720c0, 0xcee070, 0x6, 0xcee070, 0x6, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:444 +0xe8
cmd/go/internal/modfetch.(*codeRepo).Stat(0xd04840, 0xcee070, 0x6, 0x12, 0xcc9a58, 0x2)
/usr/local/go/src/cmd/go/internal/modfetch/coderepo.go:155 +0xdc
cmd/go/internal/modfetch.(*cachingRepo).Stat.func1(0xcf0ca0, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:130 +0xa0
cmd/go/internal/par.(*Cache).Do(0xce2608, 0x435be0, 0xcf42a8, 0xcc9ac4, 0x6, 0xcee420)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc
cmd/go/internal/modfetch.(*cachingRepo).Stat(0xce2600, 0xcee070, 0x6, 0x6, 0xd16190, 0x43)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:121 +0xcc
cmd/go/internal/modfetch.(*cachingRepo).GoMod.func1(0xcf0c40, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:194 +0x90
cmd/go/internal/par.(*Cache).Do(0xce2608, 0x435be0, 0xcf4288, 0xcc9bd4, 0x6, 0xcee400)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc
cmd/go/internal/modfetch.(*cachingRepo).GoMod(0xce2600, 0xcee070, 0x6, 0xce2600, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:185 +0xbc
cmd/go/internal/modfetch.GoMod(0xd0e0c0, 0x15, 0xcee070, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:273 +0xdc
cmd/go/internal/modload.(*mvsReqs).required(0xe01940, 0xd0e0c0, 0x15, 0xcee070, 0x6, 0xd1b750, 0xe6ce3c, 0x8, 0x4, 0x0)
/usr/local/go/src/cmd/go/internal/modload/load.go:967 +0x71c
cmd/go/internal/modload.(*mvsReqs).Required.func1(0xcf0720, 0x0)
/usr/local/go/src/cmd/go/internal/modload/load.go:851 +0x54
cmd/go/internal/par.(*Cache).Do(0xe0194c, 0x450518, 0xd00110, 0xe6ceec, 0x0, 0x1ac574)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc
cmd/go/internal/modload.(*mvsReqs).Required(0xe01940, 0xd0e0c0, 0x15, 0xcee070, 0x6, 0xcec0e0, 0x12960, 0x7af3c, 0xcec0e0, 0x1)
/usr/local/go/src/cmd/go/internal/modload/load.go:850 +0x9c
cmd/go/internal/mvs.buildList.func1(0x450518, 0xd00100)
/usr/local/go/src/cmd/go/internal/mvs/mvs.go:87 +0x9c
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:101 +0x114
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 23 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xd38398, 0x5)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd38390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 24 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xd38398, 0x4)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd38390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 25 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xd38398, 0x6)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd38390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 26 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xd38398, 0x7)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd38390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 27 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xd38398, 0x8)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd38390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd38370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

trap 0x0
error 0x0
oldmask 0x0
r0 0xfffffffc
r1 0x0
r2 0x39
r3 0xa00
r4 0x0
r5 0x0
r6 0x0
r7 0xa2
r8 0x6
r9 0x0
r10 0xc00620
fp 0x2710
ip 0x0
sp 0xe645bd8c
lr 0x68de4
pc 0x68e04
cpsr 0x800c0010
fault 0x0

Run 3:

fatal error: exitsyscall: syscall frame is no longer valid
fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
panic during panic
Signal 12583360
PC=0x51b9c m=0 sigcode=1

goroutine 1 [running]:
runtime.sigpanic([signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa6704]

)
goroutine 1 [running]:
/usr/local/go/src/runtime/signal_unix.goruntime.throw(:0x4acd33, 0x2a)
/usr/local/go/src/runtime/panic.go:608371 +0x5c fp= fp=0xcc6e28 sp=0xcc6e140xcc6e4c pc=0x3cbdc
sp=runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:3740xcc6e4c +0x22c fp=0xcc6e4c sp=0xcc6e28 pc=0x51dc8 pc=
0x51b9c
os.(*file).close(0xc20654, 0xc2063c, 0x1)
/usr/local/go/src/os/file_unix.go:238 +0x60 fp=0xcc6e74 sp=0xcc6e50 pc=0xa6704
os.(*file).close(0xc20654runtime: unexpected return pc for cmd/go/internal/modfetch/codehost.RunWithStdin called from 0x6
, 0xc2063c, 0x1)
stack: frame={sp:/usr/local/go/src/os/file_unix.go0xcc6e74:, fp:2380xcc6f28} stack=[ +0xcc60000x60,0xcc8000)
fp=0xcc6e74 sp=0xcc6e50 pc=00cc6df40xa6704:
000a6704runtime: unexpected return pc for cmd/go/internal/modfetch/codehost.RunWithStdin called from 0x6<os.(*file).close
+96stack: frame={sp:> 0xcc6e740003cd7c , fp:<runtime.fatalthrow+68> 0003cbdc <runtime.throw+92> 0xcc6f28 00cc6e04 } stack=[
00cc6e04: 00064c68 <runtime.fatalthrow.func1+0> 00c001c0 0003cbdc <runtime.throw+92> 00cc6e14
00cc6e14: 00051dc8 <runtime.sigpanic+556> 00cc6e1c 00064bfc <runtime.throw.func1+0> 004acd33
00cc6e24: 0000002a 000a6704 <os.(*file).close+96> 004acd33 0000002a
00cc6e34: ffffffff 7fffffff 00000020 00c001c0
00cc6e44: 0b60b901 00000000 00093208 <0xcc6000time.Time.Sub+604> 001c4498 <cmd/go/internal/modfetch/codehost.RunWithStdin+3196>
00cc6e54: 9b6329d0 befe78f1 0a7bd0a5 00000000
00cc6e64: 008166f0 ffffffff 7fffffff 00000002
00cc6e74: <,00000006 00c20654 00c2063c 00000001
00cc6e84: 0003c320 <runtime.deferreturn+236> 00cc6ec8 001c449c <cmd/go/internal/modfetch/codehost.RunWithStdin+3200> 004d5a14
00cc6e94: 00cc6eb0 00000018 00c001c0 004d5a14
00cc6ea4: 00deda80 00cc6eb0 001c37e4 <cmd/go/internal/modfetch/codehost.Run+76> 9b6329d0
00cc6eb4: befe78f1 0a7bd0a5 00000000 008166f0
00cc6ec4: 00cedaf0 008166f0 00cedaf0 00000000
00cc6ed4: 00000000 0001c63c <runtime.mallocgc+720> 00000006 00000002
00cc6ee4: 00000020 00000003 00000004 00000064
00cc6ef4: 00c00100 000000c0 0000006f 000000ac
00cc6f04: 004970ed 00e227d0 00000018 00e215a0
00cc6f14: 00e30300 00e302a0 00e227d0 00817028
00cc6f24: f667d6c0 >0xcc800000e380c0 00cedaf4 00cedaf0
00cc6f34: 00e361e0 0000005b 0047f1d8 00cedaf0
00cc6f44: 00e361e0 0000005b 9b6329d0 befe78f1
00cc6f54: 0a7bd0a5 00000000 008166f0 001c4c9c <cmd/go/internal/modfetch/codehost.newGitRepo+432>
00cc6f64: 00e361e0)
0000005b 00000000 00cc6df400000000
00cc6f74: 00cc6ffc 00000003 00000003 00e96000
00cc6f84: 00000081 00000600 00000000 00000000
00cc6f94: 001c9e58 <cmd/go/internal/modfetch/codehost.newVCSRepo+1320> 00e361e0 0000005b 00cc6ffc
00cc6fa4: 00000003
: 000a6704 <cmd/go/internal/modfetch/codehost.RunWithStdinos.(*file).close(+0xcedaf4, 0xcedaf0, 0xe361e0, 0x5b, 0x47f1d8, 0xcedaf0, 0xe361e0, 0x5b, 0x9b6329d0, 0xbefe78f1, ...96)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:265 +0xc7c fp=0xcc6f28 sp=0xcc6e74 pc=0x1c4498

0003cd7c <runtime.fatalthrow+68
goroutine 35 [syscall]:
0003cbdc <runtime.throw+92> 00cc6e04os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:139 +0x130
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:23 +0x14

00cc6e04created by os/signal.init.0
: /usr/local/go/src/os/signal/signal_unix.go: 29 +0x3000064c68

goroutine 19 [sync.Cond.Wait]:
<sync.runtime_notifyListWait(0xd20398, 0x6)
/usr/local/go/src/runtime/sema.go:510 +0x140
runtime.fatalthrow.func1sync.(*Cond).Wait(0xd20390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner+(0xd20370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 20 [sync.Cond.Wait]:
sync.runtime_notifyListWait0(0xd20398, 0x3)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd20390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner> (0xd20370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 21 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xd20398, 0x5)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait00c001c0(0xd20390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd20370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 22 [syscall]:
0003cbdcsyscall.Syscall(0x3, 0xf, 0xe58674, 0x4, 0x0, 0x0, 0x0)
/usr/local/go/src/syscall/asm_linux_arm.s:14 +0x8
syscall.readlen (0xf, 0xe58674, 0x4, 0x4, 0xe62140, 0x14)
/usr/local/go/src/syscall/zsyscall_linux_arm.go:1026 +0x3c
syscall.forkExec<(0xcf01a0, 0xc, 0xce49e0, 0x3, 0x4, 0xe58720, 0x10, 0x0, 0xcf01e0)
/usr/local/go/src/syscall/exec_unix.go:203 +0x284
syscall.StartProcessruntime.throw(0xcf01a0, 0xc, 0xce49e0, 0x3, 0x4, 0xe58720, 0x2, 0x4, 0x0, 0x0)
/usr/local/go/src/syscall/exec_unix.go:241+ +0x44
os.startProcess(0xcf01a0, 0xc, 0xce49e0, 0x3, 0x4, 0xe587e0, 0xe900a0, 0x13, 0x13)
/usr/local/go/src/os/exec_posix.go:46 +0x14c
os.StartProcess92(0xcf01a0, 0xc, 0xce49e0, 0x3, 0x4, 0xe587e0, 0x0, 0x0, 0xe5cc60)
/usr/local/go/src/os/exec.go:102 +0x58
os/exec.(*Cmd).Start> (0xe8e000, 0xe8e000, 0xce49e0)
/usr/local/go/src/os/exec/exec.go:383 +0x360
os/exec.(*Cmd).Run (0xe8e000, 0x3, 0xce49c8)
/usr/local/go/src/os/exec/exec.go:306 +0x1c
00cc6e14 cmd/go/internal/modfetch/codehost.RunWithStdin(0xe88000, 0x5b, 0x0, 0x0, 0xe58964, 0x3, 0x3, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:261
+0xc24
cmd/go/internal/modfetch/codehost.Run(0xe88000, 0x5b, 0xe58964, 0x3, 0x3, 0xce4980, 0x0, 0x0, 0x1c844, 0x3)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/codehost.go:201 +0x4c
cmd/go/internal/modfetch/codehost.newGitRepo00cc6e14(0xcf2140, 0x1d, 0xe58900, 0x64ef0, 0xc001c0, 0x5, 0x4ef08)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/git.go:66 +0x1b0
cmd/go/internal/modfetch/codehost.newVCSRepo: (0x49637b, 0x3, 0xcf2140, 0x1d, 0x1, 0xce8101, 0x0, 0x4b4201)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:75 +0x528
cmd/go/internal/modfetch/codehost.NewRepo.func1 (0xce4780, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:46 +0x34
cmd/go/internal/par.(*Cache).Do00051dc8(0x816498, 0x450200, 0xce8140, 0xe58ae8, 0x80e120, 0x7)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc
cmd/go/internal/modfetch/codehost.NewRepo(0x49637b, 0x3, 0xcf2140, 0x1d, 0x81a200, 0x81a1f8, 0x7afb4, 0x81646c)
/usr/local/go/src/cmd/go/internal/modfetch/codehost/vcs.go:45 +0xa4
cmd/go/internal/modfetch.lookupCodeRepo(0xce4760, 0x15, 0x1, 0x0, 0xce4760)
/usr/local/go/src/cmd/go/internal/modfetch/repo.go:242 +0x38
cmd/go/internal/modfetch.lookup (0xcf20c0, 0x15, 0x0, 0x1, 0x435be0, 0xce6130)
/usr/local/go/src/cmd/go/internal/modfetch/repo.go:234 +0x1b8
cmd/go/internal/modfetch.Lookup.func1<(0xce46e0, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/repo.go:194 +0x24
cmd/go/internal/par.(*Cache).Do(0x816468, 0x435be0, 0xce6130, 0xe58bfc, 0x0, 0x0)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc
cmd/go/internal/modfetch.Lookupruntime.sigpanic(0xcf20c0, 0x15, 0xcf0070, 0x6, 0xe66000, 0x43)
/usr/local/go/src/cmd/go/internal/modfetch/repo.go:193 +0x80
cmd/go/internal/modfetch.GoMod+(0xcf20c0, 0x15, 0xcf0070, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/cmd/go/internal/modfetch/cache.go:269 +0x88
556cmd/go/internal/modload.(*mvsReqs).required(0xded900, 0xcf20c0, 0x15, 0xcf0070, 0x6, 0xd036e0, 0xe58e3c, 0x8, 0x4, 0x0)
/usr/local/go/src/cmd/go/internal/modload/load.go:967 +0x71c
cmd/go/internal/modload.(*mvsReqs).Required.func1(0xce46a0, 0x0)
/usr/local/go/src/cmd/go/internal/modload/load.go:851 +0x54

cmd/go/internal/par.(*Cache).Do(0xded90c, 0x450518, 0xce8110, 0xe58eec, 0x000cc6e1c, 0x1ac574)
/usr/local/go/src/cmd/go/internal/par/work.go:128 +0xcc
00064bfc cmd/go/internal/modload.(*mvsReqs).Required(0xded900, 0xcf20c0, <runtime.throw.func10x15+, 0xcf0070, 0x6, 0xcec0a0, 0x12960, 0x7af3c, 0xcec0a0, 0x1)
/usr/local/go/src/cmd/go/internal/modload/load.go:850 +0x9c
cmd/go/internal/mvs.buildList.func10(0x450518, 0xce8100)
/usr/local/go/src/cmd/go/internal/mvs/mvs.go:> 87004acd33 +0x9c
cmd/go/internal/par.(*Work).runner
00cc6e24(: 0xd20370)
/usr/local/go/src/cmd/go/internal/par/work.go:101 +0x114 0000002a
000a6704 <os.(*file).close+96> created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 23 [sync.Cond.Wait]:
sync.runtime_notifyListWait004acd33(0xd20398, 0xa)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd20390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner (0xd20370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 24 [sync.Cond.Wait]:
sync.runtime_notifyListWait0000002a(0xd20398, 0x8)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait (0xd20390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd20370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by
cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 25 [sync.Cond.Wait]:
sync.runtime_notifyListWait00cc6e34(0xd20398, 0x9)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait(0xd20390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner: (0xd20370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 26 [sync.Cond.Wait]:
sync.runtime_notifyListWaitffffffff(0xd20398, 0x4)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait (0xd20390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner(0xd20370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c

goroutine 27 [sync.Cond.Wait]:
sync.runtime_notifyListWait7fffffff(0xd20398, 0x7)
/usr/local/go/src/runtime/sema.go:510 +0x140
sync.(*Cond).Wait (0xd20390)
/usr/local/go/src/sync/cond.go:56 +0x6c
cmd/go/internal/par.(*Work).runner (0xd20370)
/usr/local/go/src/cmd/go/internal/par/work.go:87 +0x20
created by cmd/go/internal/par.(*Work).Do
/usr/local/go/src/cmd/go/internal/par/work.go:67 +0x8c
00000020

@hermanbanken

This comment has been minimized.

Copy link
Author

commented Dec 18, 2018

I found that if I remove ` -tags netgo` from the build command & use a simple "hello world" main.go file, it works. But still not when using 'go mod' dependencies.

Previous findings with simple main.go:

I copied that from some blog as it mentioned that it would cause go to ship the net instead of using the systems, which I need because I want to use scratch base images.

And it not only builds, it also runs! 🎉 only with simple go script without modules

Step 10/13 : FROM resin/raspberry-pi2-debian:stretch
stretch: Pulling from resin/raspberry-pi2-debian
...
Digest: sha256:34655681db5d77d0dfd1cfab65be9617373162b58476b13b03b48647de2a329d
Status: Downloaded newer image for resin/raspberry-pi2-debian:stretch
 ---> 034592df92b1
Step 11/13 : COPY --from=builder static-bin /main
 ---> 1d690d74e3c0
Step 12/13 : RUN timeout 1s /main || echo "stopped"
 ---> Running in 5da6a3645f4e
Hello World
Removing intermediate container 5da6a3645f4e
 ---> b10cf75f9f64
Step 13/13 : CMD ["/main"]
 ---> Running in 6d5a879a93ab
Removing intermediate container 6d5a879a93ab
 ---> 571a3b9f3b96
Successfully built 571a3b9f3b96

It still might be good to look into this issue, cause if that single flag ruins everything... that's weird right?

@bcmills

This comment has been minimized.

Copy link
Member

commented Dec 18, 2018

Why does go env report GOHOSTARCH="arm"? Are you cross-compiling from one arm variant to another?

If you're trying to cross-compile a Go binary for an arm platform, in general you'll want to use a native version of the go toolchain. (The go toolchain is already a cross-compiler, so you don't need to use a version compiled on the target platform.)

@bcmills bcmills changed the title Crash of go mod when ARM cross compiling runtime: various crashes running ARM 'go' command under qemu Dec 18, 2018

@bcmills

This comment has been minimized.

Copy link
Member

commented Dec 18, 2018

I've retitled the issue based on my understanding of your report, but it would be a lot clearer to have the go env command included in the same trace as the go build command.

@hermanbanken

This comment has been minimized.

Copy link
Author

commented Dec 19, 2018

@hermanbanken

This comment has been minimized.

Copy link
Author

commented Dec 19, 2018

Aah! So stupid. I used the wrong go binary.

This whole thing has been a journey: I have 5 different Dockerfiles already with partial non-working solutions... crosscompiling C and Go ánd using things like libasound and GPIO is a hell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.