Description
At first, I'm not good at English. If you can't understand, please point out.
1 . What version of Go are you using (go version
)?
go version devel +f575873 Tue Aug 2 01:58:14 2016 +0000 darwin/amd64
2 . What operating system and processor architecture are you using (go env
)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/zchee/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/kb/8855kjqx63723nzsgmmy7z2c0000gn/T/go-build555090261=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
3 . What did you do?
On macOS Sierra Beta 4(16A270f), all of the go compiled tools can not be used.
Broken go runtime on Sierra again :(
It's related upgrade of macOS kernel to Beta 4, also there is no direct relationship to Xcode and Command Line Tools.
It is certainly. Because I know way of the downgrade to macOS kernel and I had tested.
Also, now my kernel version is the downgrade to Beta3 (16A254g)
.
but If you want to more debug, I can try to upgrade again and any debugging.
The error log is described below. Please click to ▶︎.
First and second is building go
binary use ./make.bash
.
Second is set GODEBUG=gctrace=1,schedtrace=100,scheddetail=1
because suggests at #16272 (comment). But maybe it's for __commpage_gettimeofday
?
If so, and if you want to more debug log with other flags, Please feel free to instruct.
./all.bash
also fail in the same way, so does not put it.
That result will occur runtime.MSpanList_Insert
error and more.
env:
$GOROOT_BOOTSTRAP=/usr/local/bootstrap/go/go1.4.3
which clang
:/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
./make.bash
:
./make.bash
:> ./make.bash
##### Building Go bootstrap tool.
cmd/dist
##### Building Go toolchain using /usr/local/bootstrap/go/go1.4.3.
failed MSpanList_Insert 0x2cb178 0x1083b5d9ac 0x0
fatal error: MSpanList_Insert
runtime stack:
runtime.MSpanList_Insert(0x28baf0, 0x2cb178)
/usr/local/go/src/runtime/mheap.c:692 +0x8f
runtime.MHeap_Free(0x28b5a0, 0x2cb178, 0x1)
/usr/local/go/src/runtime/mheap.c:500 +0x5b
runtime.MSpan_Sweep(0x2cb178, 0x2f00000000, 0xc200000001)
/usr/local/go/src/runtime/mgc0.c:1061 +0x6f9
goroutine 3 [running]:
runtime.switchtoM()
/usr/local/go/src/runtime/asm_amd64.s:198 fp=0xc20801dfa8 sp=0xc20801dfa0
runtime.gosweepone(0x0)
/usr/local/go/src/runtime/mgc0.c:1168 +0x1e fp=0xc20801dfc0 sp=0xc20801dfa8
runtime.bgsweep()
/usr/local/go/src/runtime/mgc0.go:85 +0x36 fp=0xc20801dfe0 sp=0xc20801dfc0
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc20801dfe8 sp=0xc20801dfe0
created by gc
/usr/local/go/src/runtime/mgc0.c:1386
goroutine 1 [syscall]:
syscall.Syscall(0x3, 0x3, 0xc20805a500, 0x4ef, 0x13b120, 0x1, 0xc20820c1c0)
/usr/local/go/src/syscall/asm_darwin_amd64.s:20 +0x5
syscall.read(0x3, 0xc20805a500, 0x4ef, 0x4ef, 0xc208252000, 0x0, 0x0)
/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:970 +0x6e
syscall.Read(0x3, 0xc20805a500, 0x4ef, 0x4ef, 0xc20803c570, 0x0, 0x0)
/usr/local/go/src/syscall/syscall_unix.go:136 +0x58
os.(*File).read(0xc208056028, 0xc20805a500, 0x4ef, 0x4ef, 0x70, 0x0, 0x0)
/usr/local/go/src/os/file_unix.go:191 +0x86
os.(*File).Read(0xc208056028, 0xc20805a500, 0x4ef, 0x4ef, 0x2ca208, 0x0, 0x0)
/usr/local/go/src/os/file.go:95 +0x91
bytes.(*Buffer).ReadFrom(0xc2080100e0, 0x2d7b58, 0xc208056028, 0x0, 0x0, 0x0)
/usr/local/go/src/bytes/buffer.go:169 +0x25a
io/ioutil.readAll(0x2d7b58, 0xc208056028, 0x4ef, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/io/ioutil/ioutil.go:33 +0x1b0
io/ioutil.ReadFile(0xc20820c140, 0x3b, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/io/ioutil/ioutil.go:70 +0x1b5
main.readfile(0xc20820c140, 0x3b, 0x0, 0x0)
/usr/local/go/src/cmd/dist/util.go:241 +0x58
main.bootstrapBuildTools()
/usr/local/go/src/cmd/dist/buildtool.go:89 +0xb5e
main.cmdbootstrap()
/usr/local/go/src/cmd/dist/build.go:1022 +0x387
main.xmain()
/usr/local/go/src/cmd/dist/main.go:43 +0x240
main.main()
/usr/local/go/src/cmd/dist/util.go:496 +0x51b
goroutine 5 [select]:
main.bghelper()
/usr/local/go/src/cmd/dist/util.go:150 +0x148
created by main.bginit
/usr/local/go/src/cmd/dist/util.go:143 +0x58
goroutine 6 [select]:
main.bghelper()
/usr/local/go/src/cmd/dist/util.go:150 +0x148
created by main.bginit
/usr/local/go/src/cmd/dist/util.go:143 +0x58
goroutine 7 [select]:
main.bghelper()
/usr/local/go/src/cmd/dist/util.go:150 +0x148
created by main.bginit
/usr/local/go/src/cmd/dist/util.go:143 +0x58
goroutine 8 [select]:
main.bghelper()
/usr/local/go/src/cmd/dist/util.go:150 +0x148
created by main.bginit
/usr/local/go/src/cmd/dist/util.go:143 +0x58
GODEBUG=gctrace=1,schedtrace=100,scheddetail=1 ./make.bash
:
GODEBUG=gctrace=1,schedtrace=100,scheddetail=1 ./make.bash
:##### Building Go bootstrap tool.
cmd/dist
SCHED 0ms: gomaxprocs=1 idleprocs=0 threads=2 spinningthreads=0 idlethreads=0 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=1 schedtick=1 syscalltick=0 m=0 runqsize=0 gfreecnt=0
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=1
G1: status=2() m=0 lockedm=0
gc1(1): 2+0+2852+2 us, 0 -> 0 MB, 21 (21-0) objects, 2 goroutines, 16/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc2(1): 2+0+118+1 us, 0 -> 0 MB, 41 (42-1) objects, 3 goroutines, 20/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc3(1): 3+0+1555+1 us, 0 -> 0 MB, 113 (132-19) objects, 4 goroutines, 23/1/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc4(1): 1+0+149+0 us, 0 -> 0 MB, 230 (276-46) objects, 4 goroutines, 36/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc5(1): 1+0+763+3 us, 0 -> 0 MB, 569 (695-126) objects, 5 goroutines, 42/1/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc6(1): 4+1+425+0 us, 0 -> 0 MB, 1640 (2128-488) objects, 6 goroutines, 57/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc7(1): 2+0+418+0 us, 0 -> 0 MB, 2849 (4271-1422) objects, 6 goroutines, 72/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc8(1): 1+0+359+0 us, 0 -> 0 MB, 3348 (6319-2971) objects, 6 goroutines, 85/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc9(1): 0+0+336+0 us, 0 -> 0 MB, 3862 (8720-4858) objects, 6 goroutines, 89/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc10(1): 1+0+352+0 us, 0 -> 0 MB, 4931 (11020-6089) objects, 6 goroutines, 111/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc11(1): 1+0+328+0 us, 0 -> 0 MB, 4952 (13340-8388) objects, 6 goroutines, 119/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
SCHED 100ms: gomaxprocs=1 idleprocs=0 threads=4 spinningthreads=0 idlethreads=1 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=1 schedtick=337 syscalltick=1021 m=0 runqsize=2 gfreecnt=0
M3: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M2: p=-1 curg=5 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
G1: status=1(stack growth) m=-1 lockedm=-1
G2: status=4(force gc (idle)) m=-1 lockedm=-1
G3: status=1(GC sweep wait) m=-1 lockedm=-1
G4: status=4(finalizer wait) m=-1 lockedm=-1
G5: status=3() m=2 lockedm=-1
G6: status=1(chan send) m=-1 lockedm=-1
gc12(1): 1+0+275+0 us, 0 -> 0 MB, 5246 (15879-10633) objects, 5 goroutines, 122/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc13(1): 0+7+492+0 us, 0 -> 0 MB, 5289 (19268-13979) objects, 5 goroutines, 123/0/12 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc14(1): 1+0+365+0 us, 0 -> 0 MB, 4983 (22108-17125) objects, 5 goroutines, 123/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc15(1): 1+0+369+0 us, 0 -> 0 MB, 5572 (25257-19685) objects, 5 goroutines, 123/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc16(1): 1+0+395+0 us, 0 -> 0 MB, 6047 (28305-22258) objects, 5 goroutines, 127/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc17(1): 1+0+338+0 us, 0 -> 0 MB, 6036 (31294-25258) objects, 5 goroutines, 133/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc18(1): 1+0+482+0 us, 0 -> 0 MB, 6604 (35088-28484) objects, 5 goroutines, 134/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc19(1): 1+0+366+0 us, 0 -> 0 MB, 7167 (38812-31645) objects, 5 goroutines, 141/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc20(1): 0+0+370+0 us, 0 -> 0 MB, 7596 (42820-35224) objects, 5 goroutines, 146/1/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc21(1): 1+0+449+0 us, 0 -> 0 MB, 7936 (46865-38929) objects, 5 goroutines, 150/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
SCHED 212ms: gomaxprocs=1 idleprocs=0 threads=4 spinningthreads=0 idlethreads=0 runqueue=1 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=1 schedtick=345 syscalltick=3001 m=3 runqsize=7 gfreecnt=0
M3: p=0 curg=9 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M2: p=-1 curg=5 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=7 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
G1: status=4(semacquire) m=-1 lockedm=-1
G2: status=4(force gc (idle)) m=-1 lockedm=-1
G3: status=1(GC sweep wait) m=-1 lockedm=-1
G4: status=4(finalizer wait) m=-1 lockedm=-1
G5: status=3() m=2 lockedm=-1
G7: status=3(stack growth) m=0 lockedm=-1
G8: status=4(select) m=-1 lockedm=-1
G9: status=4(select) m=-1 lockedm=-1
G10: status=4(select) m=-1 lockedm=-1
G11: status=4(select) m=-1 lockedm=-1
G12: status=4(select) m=-1 lockedm=-1
G13: status=4(select) m=-1 lockedm=-1
G14: status=4(select) m=-1 lockedm=-1
G15: status=3() m=3 lockedm=-1
SCHED 322ms: gomaxprocs=1 idleprocs=1 threads=5 spinningthreads=0 idlethreads=1 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=0 schedtick=387 syscalltick=3001 m=-1 runqsize=0 gfreecnt=0
M4: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M3: p=0 curg=15 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M2: p=-1 curg=5 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=7 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
G1: status=4(semacquire) m=-1 lockedm=-1
G2: status=4(force gc (idle)) m=-1 lockedm=-1
G3: status=4(GC sweep wait) m=-1 lockedm=-1
G4: status=4(finalizer wait) m=-1 lockedm=-1
G5: status=3() m=2 lockedm=-1
G7: status=3(stack growth) m=0 lockedm=-1
G8: status=4(select) m=-1 lockedm=-1
G9: status=4(select) m=-1 lockedm=-1
G10: status=4(select) m=-1 lockedm=-1
G11: status=4(select) m=-1 lockedm=-1
G12: status=4(select) m=-1 lockedm=-1
G13: status=4(select) m=-1 lockedm=-1
G14: status=4(select) m=-1 lockedm=-1
G15: status=3() m=3 lockedm=-1
SCHED 428ms: gomaxprocs=1 idleprocs=1 threads=5 spinningthreads=0 idlethreads=1 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=0 schedtick=387 syscalltick=3001 m=-1 runqsize=0 gfreecnt=0
M4: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M3: p=0 curg=15 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M2: p=-1 curg=5 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=7 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
G1: status=4(semacquire) m=-1 lockedm=-1
G2: status=4(force gc (idle)) m=-1 lockedm=-1
G3: status=4(GC sweep wait) m=-1 lockedm=-1
G4: status=4(finalizer wait) m=-1 lockedm=-1
G5: status=3() m=2 lockedm=-1
G7: status=3(stack growth) m=0 lockedm=-1
G8: status=4(select) m=-1 lockedm=-1
G9: status=4(select) m=-1 lockedm=-1
G10: status=4(select) m=-1 lockedm=-1
G11: status=4(select) m=-1 lockedm=-1
G12: status=4(select) m=-1 lockedm=-1
G13: status=4(select) m=-1 lockedm=-1
G14: status=4(select) m=-1 lockedm=-1
G15: status=3() m=3 lockedm=-1
SCHED 531ms: gomaxprocs=1 idleprocs=0 threads=5 spinningthreads=0 idlethreads=2 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=2 schedtick=391 syscalltick=3060 m=-1 runqsize=1 gfreecnt=0
M4: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M3: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M2: p=-1 curg=5 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=7 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
G1: status=4(semacquire) m=-1 lockedm=-1
G2: status=4(force gc (idle)) m=-1 lockedm=-1
G3: status=4(GC sweep wait) m=-1 lockedm=-1
G4: status=4(finalizer wait) m=-1 lockedm=-1
G5: status=3() m=2 lockedm=-1
G7: status=3(chan receive) m=0 lockedm=-1
G8: status=4(select) m=-1 lockedm=-1
G9: status=4(select) m=-1 lockedm=-1
G10: status=4(select) m=-1 lockedm=-1
G11: status=4(select) m=-1 lockedm=-1
G12: status=4(select) m=-1 lockedm=-1
G13: status=4(select) m=-1 lockedm=-1
G14: status=4(select) m=-1 lockedm=-1
G18: status=1() m=-1 lockedm=-1
SCHED 632ms: gomaxprocs=1 idleprocs=1 threads=5 spinningthreads=0 idlethreads=1 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=0 schedtick=392 syscalltick=3060 m=-1 runqsize=0 gfreecnt=0
M4: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M3: p=0 curg=18 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M2: p=-1 curg=5 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=7 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
G1: status=4(semacquire) m=-1 lockedm=-1
G2: status=4(force gc (idle)) m=-1 lockedm=-1
G3: status=4(GC sweep wait) m=-1 lockedm=-1
G4: status=4(finalizer wait) m=-1 lockedm=-1
G5: status=3() m=2 lockedm=-1
G7: status=3(chan receive) m=0 lockedm=-1
G8: status=4(select) m=-1 lockedm=-1
G9: status=4(select) m=-1 lockedm=-1
G10: status=4(select) m=-1 lockedm=-1
G11: status=4(select) m=-1 lockedm=-1
G12: status=4(select) m=-1 lockedm=-1
G13: status=4(select) m=-1 lockedm=-1
G14: status=4(select) m=-1 lockedm=-1
G18: status=3() m=3 lockedm=-1
SCHED 739ms: gomaxprocs=1 idleprocs=1 threads=5 spinningthreads=0 idlethreads=1 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=0 schedtick=392 syscalltick=3060 m=-1 runqsize=0 gfreecnt=0
M4: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M3: p=0 curg=18 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M2: p=-1 curg=5 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=7 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
G1: status=4(semacquire) m=-1 lockedm=-1
G2: status=4(force gc (idle)) m=-1 lockedm=-1
G3: status=4(GC sweep wait) m=-1 lockedm=-1
G4: status=4(finalizer wait) m=-1 lockedm=-1
G5: status=3() m=2 lockedm=-1
G7: status=3(chan receive) m=0 lockedm=-1
G8: status=4(select) m=-1 lockedm=-1
G9: status=4(select) m=-1 lockedm=-1
G10: status=4(select) m=-1 lockedm=-1
G11: status=4(select) m=-1 lockedm=-1
G12: status=4(select) m=-1 lockedm=-1
G13: status=4(select) m=-1 lockedm=-1
G14: status=4(select) m=-1 lockedm=-1
G18: status=3() m=3 lockedm=-1
SCHED 0ms: gomaxprocs=1 idleprocs=0 threads=2 spinningthreads=0 idlethreads=0 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=1 schedtick=1 syscalltick=0 m=0 runqsize=0 gfreecnt=0
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=1
G1: status=2(stack growth) m=0 lockedm=0
G2: status=1() m=-1 lockedm=-1
gc1(1): 51+0+126+0 us, 0 -> 0 MB, 21 (21-0) objects, 2 goroutines, 15/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc2(1): 0+0+74+0 us, 0 -> 0 MB, 95 (97-2) objects, 3 goroutines, 22/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc3(1): 0+0+88+0 us, 0 -> 0 MB, 174 (214-40) objects, 4 goroutines, 44/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc4(1): 0+0+502+0 us, 0 -> 0 MB, 163 (224-61) objects, 4 goroutines, 45/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
SCHED 0ms: gomaxprocs=1 idleprocs=0 threads=2 spinningthreads=0 idlethreads=0 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=1 schedtick=1 syscalltick=0 m=0 runqsize=1 gfreecnt=0
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=1 mallocing=0 throwing=0 gcing=1 locks=1 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=1
G1: status=2(stack growth) m=0 lockedm=0
G2: status=1() m=-1 lockedm=-1
gc1(1): 55+0+75+0 us, 0 -> 0 MB, 21 (21-0) objects, 2 goroutines, 16/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc2(1): 0+0+63+0 us, 0 -> 0 MB, 91 (93-2) objects, 3 goroutines, 22/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc3(1): 0+0+75+0 us, 0 -> 0 MB, 175 (213-38) objects, 4 goroutines, 44/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
gc4(1): 0+0+810+0 us, 0 -> 0 MB, 162 (223-61) objects, 4 goroutines, 45/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
failed MSpanList_Insert 0x2cb3e8 0x1a66b926f47 0x0
SCHED -1470109654236ms: gomaxprocs=1 idleprocs=0 threads=4 spinningthreads=0 idlethreads=2 runqueue=0 gcwaiting=0 nmidlelocked=0 stopwait=0 sysmonwait=0
P0: status=1 schedtick=11 syscalltick=30 m=0 runqsize=0 gfreecnt=1
M3: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M2: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M1: p=-1 curg=-1 mallocing=0 throwing=0 gcing=0 locks=0 dying=0 helpgc=0 spinning=0 blocked=0 lockedg=-1
M0: p=0 curg=1 mallocing=0 throwing=1 gcing=0 locks=4 dying=1 helpgc=0 spinning=0 blocked=0 lockedg=-1
G1: status=4(stack growth) m=0 lockedm=-1
G2: status=4(force gc (idle)) m=-1 lockedm=-1
G3: status=4(GC sweep wait) m=-1 lockedm=-1
G4: status=4(finalizer wait) m=-1 lockedm=-1
G5: status=4(select) m=-1 lockedm=-1
G6: status=4(select) m=-1 lockedm=-1
G7: status=4(select) m=-1 lockedm=-1
G8: status=4(select) m=-1 lockedm=-1
G9: status=6() m=-1 lockedm=-1
fatal error: MSpanList_Insert
runtime stack:
runtime.MSpanList_Insert(0x28d420, 0x2cb3e8)
/usr/local/go/src/runtime/mheap.c:692 +0x8f
runtime.MHeap_AllocStack(0x28b5a0, 0x4, 0xc207ff8d01)
/usr/local/go/src/runtime/mheap.c:267 +0x71
goroutine 1 [stack growth]:
fmt.(*pp).printReflectValue(0xc20803e270, 0x13a2a0, 0xc20803254a, 0x41, 0x76, 0x0, 0x405a8)
/usr/local/go/src/fmt/print.go:843 fp=0xc20814e5c8 sp=0xc20814e5c0
fmt.(*pp).printArg(0xc20803e270, 0x13a2a0, 0xc20803254a, 0x76, 0x0, 0x0)
/usr/local/go/src/fmt/print.go:798 +0x44f fp=0xc20814e698 sp=0xc20814e5c8
fmt.(*pp).doPrintf(0xc20803e270, 0x19d1b0, 0x2, 0xc20814eac0, 0x1, 0x1)
/usr/local/go/src/fmt/print.go:1183 +0x21cd fp=0xc20814ea28 sp=0xc20814e698
fmt.Sprintf(0x19d1b0, 0x2, 0xc20814eac0, 0x1, 0x1, 0x0, 0x0)
/usr/local/go/src/fmt/print.go:203 +0x78 fp=0xc20814ea78 sp=0xc20814ea28
flag.(*boolValue).String(0x284e0d, 0x0, 0x0)
/usr/local/go/src/flag/flag.go:96 +0xfc fp=0xc20814eaf0 sp=0xc20814ea78
flag.(*FlagSet).Var(0xc208036000, 0x2d7bd0, 0x284e0d, 0x1a2830, 0x1, 0x1b3b50, 0xb)
/usr/local/go/src/flag/flag.go:669 +0x3c fp=0xc20814ebf8 sp=0xc20814eaf0
flag.BoolVar(0x284e0d, 0x1a2830, 0x1, 0x0, 0x1b3b50, 0xb)
/usr/local/go/src/flag/flag.go:458 +0x8d fp=0xc20814ec50 sp=0xc20814ebf8
main.cmdbootstrap()
/usr/local/go/src/cmd/dist/build.go:1002 +0x6c fp=0xc20814ed80 sp=0xc20814ec50
main.xmain()
/usr/local/go/src/cmd/dist/main.go:43 +0x240 fp=0xc20814ee90 sp=0xc20814ed80
main.main()
/usr/local/go/src/cmd/dist/util.go:496 +0x51b fp=0xc20814ef98 sp=0xc20814ee90
runtime.main()
/usr/local/go/src/runtime/proc.go:63 +0xf3 fp=0xc20814efe0 sp=0xc20814ef98
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc20814efe8 sp=0xc20814efe0
goroutine 5 [select]:
main.bghelper()
/usr/local/go/src/cmd/dist/util.go:150 +0x148
created by main.bginit
/usr/local/go/src/cmd/dist/util.go:143 +0x58
goroutine 6 [select]:
main.bghelper()
/usr/local/go/src/cmd/dist/util.go:150 +0x148
created by main.bginit
/usr/local/go/src/cmd/dist/util.go:143 +0x58
goroutine 7 [select]:
main.bghelper()
/usr/local/go/src/cmd/dist/util.go:150 +0x148
created by main.bginit
/usr/local/go/src/cmd/dist/util.go:143 +0x58
goroutine 8 [select]:
main.bghelper()
/usr/local/go/src/cmd/dist/util.go:150 +0x148
created by main.bginit
/usr/local/go/src/cmd/dist/util.go:143 +0x58
Next is compiling package, e.g. gb
.
env:
$GOROOT=/usr/local/bootstrap/go/go1.7rc3
- Because
/usr/local/go/bin/go
was broken.
- Because
which clang
:/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
go get -u -v -x github.com/constabulary/gb/...
:
go get -u -v -x github.com/constabulary/gb/...
:> go get -u -v -x github.com/constabulary/gb/...
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
github.com/constabulary/gb (download)
cd /Users/zchee/go/src/github.com/constabulary/gb
git pull --ff-only
cd /Users/zchee/go/src/github.com/constabulary/gb
git submodule update --init --recursive
cd /Users/zchee/go/src/github.com/constabulary/gb
git show-ref
cd /Users/zchee/go/src/github.com/constabulary/gb
git submodule update --init --recursive
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/pkg/errors
git config remote.origin.url
github.com/pkg/errors (download)
cd /Users/zchee/go/src/github.com/pkg/errors
git pull --ff-only
cd /Users/zchee/go/src/github.com/pkg/errors
git submodule update --init --recursive
cd /Users/zchee/go/src/github.com/pkg/errors
git show-ref
cd /Users/zchee/go/src/github.com/pkg/errors
git submodule update --init --recursive
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
cd /Users/zchee/go/src/github.com/constabulary/gb
git config remote.origin.url
WORK=/var/folders/kb/8855kjqx63723nzsgmmy7z2c0000gn/T/go-build045534630
github.com/constabulary/gb/internal/debug
github.com/pkg/errors
mkdir -p $WORK/github.com/constabulary/gb/internal/debug/_obj/
mkdir -p $WORK/github.com/constabulary/gb/internal/
mkdir -p $WORK/github.com/pkg/errors/_obj/
cd /Users/zchee/go/src/github.com/constabulary/gb/internal/debug
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/internal/debug.a -trimpath $WORK -p github.com/constabulary/gb/internal/debug -complete -buildid 9b964ef02ba1d8dd9d0be9bca5eb78eadf7b91cf -D _/Users/zchee/go/src/github.com/constabulary/gb/internal/debug -I $WORK -pack ./debug.go
mkdir -p $WORK/github.com/pkg/
cd /Users/zchee/go/src/github.com/pkg/errors
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/pkg/errors.a -trimpath $WORK -p github.com/pkg/errors -complete -buildid 6d19a46070aedcc80955b67f997c8d9ad7d253cb -D _/Users/zchee/go/src/github.com/pkg/errors -I $WORK -pack ./errors.go ./stack.go
mkdir -p /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/internal/
mv $WORK/github.com/constabulary/gb/internal/debug.a /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/internal/debug.a
github.com/constabulary/gb/cmd/gb/internal/match
mkdir -p $WORK/github.com/constabulary/gb/cmd/gb/internal/match/_obj/
mkdir -p $WORK/github.com/constabulary/gb/cmd/gb/internal/
cd /Users/zchee/go/src/github.com/constabulary/gb/cmd/gb/internal/match
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/cmd/gb/internal/match.a -trimpath $WORK -p github.com/constabulary/gb/cmd/gb/internal/match -complete -buildid 56998acc2092330ce0791344f88aa7fd1345f9a1 -D _/Users/zchee/go/src/github.com/constabulary/gb/cmd/gb/internal/match -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./match.go
mkdir -p /Users/zchee/go/pkg/darwin_amd64/github.com/pkg/
mv $WORK/github.com/pkg/errors.a /Users/zchee/go/pkg/darwin_amd64/github.com/pkg/errors.a
github.com/constabulary/gb/internal/depfile
mkdir -p $WORK/github.com/constabulary/gb/internal/depfile/_obj/
github.com/constabulary/gb/internal/fileutils
github.com/constabulary/gb/internal/importer
mkdir -p $WORK/github.com/constabulary/gb/internal/importer/_obj/
github.com/constabulary/gb/internal/untar
cd /Users/zchee/go/src/github.com/constabulary/gb/internal/depfile
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/internal/depfile.a -trimpath $WORK -p github.com/constabulary/gb/internal/depfile -complete -buildid f16f14c25062772213962cbb22fe57090971c042 -D _/Users/zchee/go/src/github.com/constabulary/gb/internal/depfile -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./depfile.go
mkdir -p $WORK/github.com/constabulary/gb/internal/fileutils/_obj/
cd /Users/zchee/go/src/github.com/constabulary/gb/internal/importer
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/internal/importer.a -trimpath $WORK -p github.com/constabulary/gb/internal/importer -complete -buildid d542980787150603d85fde7108d9048ff4db6f3c -D _/Users/zchee/go/src/github.com/constabulary/gb/internal/importer -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./build.go ./importer.go ./pkg.go ./read.go ./util.go
cd /Users/zchee/go/src/github.com/constabulary/gb/internal/fileutils
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/internal/fileutils.a -trimpath $WORK -p github.com/constabulary/gb/internal/fileutils -complete -buildid 29ab0211a61049ec7d3f2c501a648d95c479ec38 -D _/Users/zchee/go/src/github.com/constabulary/gb/internal/fileutils -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./fileutils.go
mkdir -p $WORK/github.com/constabulary/gb/internal/untar/_obj/
cd /Users/zchee/go/src/github.com/constabulary/gb/internal/untar
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/internal/untar.a -trimpath $WORK -p github.com/constabulary/gb/internal/untar -complete -buildid 11bf98c221dcc0a8424522c29b13594388e217ee -D _/Users/zchee/go/src/github.com/constabulary/gb/internal/untar -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./untar.go
mkdir -p /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/cmd/gb/internal/
mv $WORK/github.com/constabulary/gb/cmd/gb/internal/match.a /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/cmd/gb/internal/match.a
mv $WORK/github.com/constabulary/gb/internal/depfile.a /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/internal/depfile.a
mv $WORK/github.com/constabulary/gb/internal/fileutils.a /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/internal/fileutils.a
github.com/constabulary/gb/internal/vendor
mkdir -p $WORK/github.com/constabulary/gb/internal/vendor/_obj/
cd /Users/zchee/go/src/github.com/constabulary/gb/internal/vendor
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/internal/vendor.a -trimpath $WORK -p github.com/constabulary/gb/internal/vendor -complete -buildid be0d8aac15a3f40e39b31d911c8ab60fc00f50f2 -D _/Users/zchee/go/src/github.com/constabulary/gb/internal/vendor -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./depset.go ./discovery.go ./imports.go ./manifest.go ./repo.go ./stringset.go
mv $WORK/github.com/constabulary/gb/internal/untar.a /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/internal/untar.a
mv $WORK/github.com/constabulary/gb/internal/importer.a /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/internal/importer.a
github.com/constabulary/gb
mkdir -p $WORK/github.com/constabulary/gb/_obj/
mkdir -p $WORK/github.com/constabulary/
cd /Users/zchee/go/src/github.com/constabulary/gb
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb.a -trimpath $WORK -p github.com/constabulary/gb -complete -buildid 7cda6a80533514420defd9e737ae3156e9848547 -D _/Users/zchee/go/src/github.com/constabulary/gb -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./build.go ./cgo.go ./context.go ./defaultcc_bsd.go ./depfile.go ./executor.go ./gb.go ./gc.go ./goversion16.go ./install.go ./package.go ./project.go ./resolver.go
mv $WORK/github.com/constabulary/gb/internal/vendor.a /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/internal/vendor.a
mkdir -p /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/
mv $WORK/github.com/constabulary/gb.a /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb.a
github.com/constabulary/gb/cmd
mkdir -p $WORK/github.com/constabulary/gb/cmd/_obj/
mkdir -p $WORK/github.com/constabulary/gb/
github.com/constabulary/gb/test
mkdir -p $WORK/github.com/constabulary/gb/test/_obj/
cd /Users/zchee/go/src/github.com/constabulary/gb/cmd
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/cmd.a -trimpath $WORK -p github.com/constabulary/gb/cmd -complete -buildid 8ee13c5256811a9d4415670d0ae1757e81779244 -D _/Users/zchee/go/src/github.com/constabulary/gb/cmd -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./cmd.go ./env.go ./path.go
cd /Users/zchee/go/src/github.com/constabulary/gb/test
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/test.a -trimpath $WORK -p github.com/constabulary/gb/test -complete -buildid f2d3cd257ab2d6e1bda7e6671b46290d4bf3c834 -D _/Users/zchee/go/src/github.com/constabulary/gb/test -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./gotest.go ./resolve.go ./test.go
mkdir -p /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/
mv $WORK/github.com/constabulary/gb/cmd.a /Users/zchee/go/pkg/darwin_amd64/github.com/constabulary/gb/cmd.a
github.com/constabulary/gb/cmd/gb-vendor
mkdir -p $WORK/github.com/constabulary/gb/cmd/gb-vendor/_obj/
mkdir -p $WORK/github.com/constabulary/gb/cmd/gb-vendor/_obj/exe/
cd /Users/zchee/go/src/github.com/constabulary/gb/cmd/gb-vendor
/usr/local/bootstrap/go/go1.7rc3/pkg/tool/darwin_amd64/compile -o $WORK/github.com/constabulary/gb/cmd/gb-vendor.a -trimpath $WORK -p main -complete -buildid 014ba2ae1a703b55611bc3bb81828bc380ac6569 -D _/Users/zchee/go/src/github.com/constabulary/gb/cmd/gb-vendor -I $WORK -I /Users/zchee/go/pkg/darwin_amd64 -pack ./alldocs.go ./delete.go ./fetch.go ./help.go ./list.go ./main.go ./purge.go ./restore.go ./update.go
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
.
.
.
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine# github.com/constabulary/gb/cmd/gb-vendor
unexpected fault address 0x2a5c8903d6d
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2a5c8903d6d pc=0x2c83a2]
goroutine 1 [running]:
runtime.throw(0x4f03bc, 0x5)
/usr/local/go/src/runtime/panic.go:566 +0x95 fp=0xc420c6de70 sp=0xc420c6de50
runtime.sigpanic()
/usr/local/go/src/runtime/sigpanic_unix.go:27 +0x288 fp=0xc420c6dec8 sp=0xc420c6de70
cmd/compile/internal/ssa.(*Config).Log(0x2a5c8903d25, 0xc403714578)
/usr/local/go/src/cmd/compile/internal/ssa/config.go:199 +0x22 fp=0xc420c6dee8 sp=0xc420c6dec8
cmd/compile/internal/ssa.(*Func).Log(0xc42001c960, 0xc403714578)
/usr/local/go/src/cmd/compile/internal/ssa/func.go:396 +0x2e fp=0xc420c6df08 sp=0xc420c6dee8
cmd/compile/internal/ssa.Compile(0xc42001c960)
/usr/local/go/src/cmd/compile/internal/ssa/compile.go:68 +0x355 fp=0xc420c71608 sp=0xc420c6df08
cmd/compile/internal/gc.buildssa(0xc4206a1c20, 0x0)
/usr/local/go/src/cmd/compile/internal/gc/ssa.go:232 +0xc53 fp=0xc420c718e0 sp=0xc420c71608
cmd/compile/internal/gc.compile(0xc4206a1c20)
/usr/local/go/src/cmd/compile/internal/gc/pgen.go:405 +0x1363 fp=0xc420c71b90 sp=0xc420c718e0
cmd/compile/internal/gc.funccompile(0xc4206a1c20)
/usr/local/go/src/cmd/compile/internal/gc/dcl.go:1287 +0x186 fp=0xc420c71c08 sp=0xc420c71b90
cmd/compile/internal/gc.Main()
/usr/local/go/src/cmd/compile/internal/gc/main.go:467 +0x19f8 fp=0xc420c71e50 sp=0xc420c71c08
cmd/compile/internal/amd64.Main()
/usr/local/go/src/cmd/compile/internal/amd64/galign.go:93 +0x2fa fp=0xc420c71e88 sp=0xc420c71e50
main.main()
/usr/local/go/src/cmd/compile/main.go:33 +0x2a3 fp=0xc420c71f18 sp=0xc420c71e88
runtime.main()
/usr/local/go/src/runtime/proc.go:183 +0x1f4 fp=0xc420c71f70 sp=0xc420c71f18
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc420c71f78 sp=0xc420c71f70
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
fatal error: systemstack called from unexpected goroutine
.
.
.
# endless......
Finally, use peco
cli tools.
runtime: newstack sp=0xc420033f00 stack=[0x376cad98ec7, 0xc420033fe0]
morebuf={pc:0x2525c sp:0xc420033f10 lr:0x0}
sched={pc:0x257d0 sp:0xc420033f08 lr:0x0 ctxt:0x0}
runtime: gp=0xc420069ba0, gp->status=0x2
runtime: split stack overflow: 0xc420033f00 < 0x376cad98ec7
fatal error: runtime: split stack overflow
runtime: newstack sp=0xc420033700 stack=[0x376cad9c134, 0xc4200337e0]
morebuf={pc:0x253c8 sp:0xc420033710 lr:0x0}
sched={pc:0x23f70 sp:0xc420033708 lr:0x0 ctxt:0x0}
runtime: gp=0xc420069a00, gp->status=0x2
runtime: split stack overflow: 0xc420033700 < 0x376cad9c134
fatal error: runtime: split stack overflow
runtime: newstack sp=0xc420036f38 stack=[0x376cada72cf, 0xc420036fe0]
morebuf={pc:0x21cad sp:0xc420036f48 lr:0x0}
sched={pc:0x25100 sp:0xc420036f40 lr:0x0 ctxt:0x0}
runtime: gp=0xc420000ea0, gp->status=0x2
runtime: split stack overflow: 0xc420036f38 < 0x376cada72cf
fatal error: runtime: split stack overflow
or
fatal error: systemstack called from unexpected goroutine
I don't know why to occur that error and go runtime source, but I think related goroutine.
Because If does not use the goroutine (than main
) cli tool, does not occur. such as gotype
.
4 . What did you expect?
Build the go binary to complete successfully, also package.
and use go compiled tools successfully.
5 . What did you see instead?
build, compile, use cli.