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,misc/cgo/test: timeout in TestSetgidStress on linux-amd64 #54787

Closed
zhangyunhao116 opened this issue Aug 31, 2022 · 8 comments
Closed
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@zhangyunhao116
Copy link
Contributor

zhangyunhao116 commented Aug 31, 2022

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

$ go version (used for bootstrap)
go version go1.18.4 linux/amd64

Does this issue reproduce with the latest release?

Yes

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

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/zyh/.cache/go-build"
GOENV="/home/zyh/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/zyh/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/zyh/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18.4"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build4075928182=/tmp/go-build -gno-record-gcc-switches"

GCC: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
OS: Ubuntu 21.10 (GNU/Linux 5.13.0-44-generic x86_64)

What did you do?

  • Clone Go source repo
  • cd src && ./all.bash

What did you expect to see?

ALL TESTS PASSED

What did you see instead?

Output
##### ../misc/cgo/test
ok  	misc/cgo/test	1.721s
SIGQUIT: quit
PC=0x471161 m=0 sigcode=0

goroutine 0 [idle]:
runtime.futex()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/sys_linux_amd64.s:559 +0x21 fp=0x7ffc239b96a0 sp=0x7ffc239b9698 pc=0x471161
runtime.futexsleep(0x44a059?, 0x32f00?, 0xc000056ba0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/os_linux.go:69 +0x36 fp=0x7ffc239b96f0 sp=0x7ffc239b96a0 pc=0x4371f6
runtime.notesleep(0x6ff568)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/lock_futex.go:160 +0x87 fp=0x7ffc239b9728 sp=0x7ffc239b96f0 pc=0x411587
runtime.mPark()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:1457 +0x25 fp=0x7ffc239b9748 sp=0x7ffc239b9728 pc=0x440545
runtime.stoplockedm()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:2465 +0x65 fp=0x7ffc239b9798 sp=0x7ffc239b9748 pc=0x442205
runtime.schedule()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:3243 +0x3d fp=0x7ffc239b97d0 sp=0x7ffc239b9798 pc=0x443f7d
runtime.park_m(0xc00008a9c0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:3413 +0x12d fp=0x7ffc239b9800 sp=0x7ffc239b97d0 pc=0x44450d
runtime.mcall()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:448 +0x43 fp=0x7ffc239b9810 sp=0x7ffc239b9800 pc=0x46d023

goroutine 1 [chan receive]:
runtime.gopark(0x72eec0?, 0xc00006daa8?, 0x89?, 0x2d?, 0xc000012060?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00006da28 sp=0xc00006da08 pc=0x43dc56
runtime.chanrecv(0xc00007c0e0, 0xc00006db27, 0x1)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/chan.go:583 +0x49d fp=0xc00006dab8 sp=0xc00006da28 pc=0x40c69d
runtime.chanrecv1(0xc00009a060?, 0x1?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/chan.go:442 +0x18 fp=0xc00006dae0 sp=0xc00006dab8 pc=0x40c1d8
testing.(*T).Run(0xc00008a4e0, {0x5a900d?, 0x4d5d05?}, 0x5b3fd8)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1527 +0x37a fp=0xc00006db80 sp=0xc00006dae0 pc=0x4d6d7a
testing.runTests.func1(0xc00008a4e0?)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1879 +0x45 fp=0xc00006dbd0 sp=0xc00006db80 pc=0x4d8be5
testing.tRunner(0xc00008a4e0, 0xc00006dcd8)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1479 +0x10b fp=0xc00006dc20 sp=0xc00006dbd0 pc=0x4d5fab
testing.runTests(0xc0000a6000?, {0x6f9c80, 0x61, 0x61}, {0x18?, 0xc00006dd70?, 0x6febe0?})
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1877 +0x456 fp=0xc00006dd08 sp=0xc00006dc20 pc=0x4d8ab6
testing.(*M).Run(0xc0000a6000)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1759 +0x5d9 fp=0xc00006df00 sp=0xc00006dd08 pc=0x4d75f9
main.main()
_testmain.go:245 +0x1aa fp=0xc00006df80 sp=0xc00006df00 pc=0x56a94a
runtime.main()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:250 +0x207 fp=0xc00006dfe0 sp=0xc00006df80 pc=0x43d887
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006dfe8 sp=0xc00006dfe0 pc=0x46f261

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00005afb0 sp=0xc00005af90 pc=0x43dc56
runtime.goparkunlock(...)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:369
runtime.forcegchelper()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:302 +0xb0 fp=0xc00005afe0 sp=0xc00005afb0 pc=0x43daf0
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x46f261
created by runtime.init.5
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:290 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00005b790 sp=0xc00005b770 pc=0x43dc56
runtime.goparkunlock(...)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:369
runtime.bgsweep(0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgcsweep.go:279 +0x8e fp=0xc00005b7c8 sp=0xc00005b790 pc=0x428dee
runtime.gcenable.func1()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgc.go:178 +0x26 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x41e206
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x46f261
created by runtime.gcenable
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc00007c000?, 0x5e5e40?, 0x1?, 0x0?, 0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00005bf70 sp=0xc00005bf50 pc=0x43dc56
runtime.goparkunlock(...)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:369
runtime.(*scavengerState).park(0x6fec60)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc00005bfa0 sp=0xc00005bf70 pc=0x426e73
runtime.bgscavenge(0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgcscavenge.go:617 +0x45 fp=0xc00005bfc8 sp=0xc00005bfa0 pc=0x427445
runtime.gcenable.func2()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgc.go:179 +0x26 fp=0xc00005bfe0 sp=0xc00005bfc8 pc=0x41e1a6
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x46f261
created by runtime.gcenable
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgc.go:179 +0xaa

goroutine 5 [finalizer wait]:
runtime.gopark(0x6ff420?, 0xc000007860?, 0x0?, 0x0?, 0xc00005a770?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00005a628 sp=0xc00005a608 pc=0x43dc56
runtime.goparkunlock(...)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:369
runtime.runfinq()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mfinal.go:186 +0x10f fp=0xc00005a7e0 sp=0xc00005a628 pc=0x41d2af
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x46f261
created by runtime.createfing
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mfinal.go:163 +0x45

goroutine 7 [runnable]:
runtime.gopark(0xc00019a060?, 0xc00005cec0?, 0x89?, 0x2d?, 0xc0000707c0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00005ce40 sp=0xc00005ce20 pc=0x43dc56
runtime.chanrecv(0xc00014a000, 0x0, 0x1)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/chan.go:583 +0x49d fp=0xc00005ced0 sp=0xc00005ce40 pc=0x40c69d
runtime.chanrecv1(0xc0001165b0?, 0x32?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/chan.go:442 +0x18 fp=0xc00005cef8 sp=0xc00005ced0 pc=0x40c1d8
misc/cgo/test.testSetgidStress(0x5a9caf?)
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:33 +0x99 fp=0xc00005cf30 sp=0xc00005cef8 pc=0x560539
misc/cgo/test.TestSetgidStress(0xc000148000)
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/cgo_linux_test.go:30 +0x70 fp=0xc00005cf70 sp=0xc00005cf30 pc=0x525d70
testing.tRunner(0xc000148000, 0x5b3fd8)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1479 +0x10b fp=0xc00005cfc0 sp=0xc00005cf70 pc=0x4d5fab
testing.(*T).Run.func1()
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1526 +0x2a fp=0xc00005cfe0 sp=0xc00005cfc0 pc=0x4d6e2a
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005cfe8 sp=0xc00005cfe0 pc=0x46f261
created by testing.(*T).Run
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1526 +0x35f

goroutine 20 [select, locked to thread]:
runtime.gopark(0xc000056fa8?, 0x2?, 0x0?, 0x0?, 0xc000056fa4?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc000206e18 sp=0xc000206df8 pc=0x43dc56
runtime.selectgo(0xc000206fa8, 0xc000056fa0, 0x0?, 0x0, 0xc000056fa8?, 0x1)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/select.go:327 +0x7be fp=0xc000206f58 sp=0xc000206e18 pc=0x44ddfe
runtime.ensureSigM.func1()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/signal_unix.go:993 +0x1b0 fp=0xc000206fe0 sp=0xc000206f58 pc=0x467fb0
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000206fe8 sp=0xc000206fe0 pc=0x46f261
created by runtime.ensureSigM
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/signal_unix.go:976 +0xbd

goroutine 34 [syscall]:
runtime.notetsleepg(0x0?, 0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/lock_futex.go:236 +0x34 fp=0xc0001927a0 sp=0xc000192768 pc=0x411894
os/signal.signal_recv()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/sigqueue.go:152 +0x2f fp=0xc0001927c0 sp=0xc0001927a0 pc=0x46b92f
os/signal.loop()
/home/zyh/GitHub/gocompile/workspace/go/src/os/signal/signal_unix.go:23 +0x19 fp=0xc0001927e0 sp=0xc0001927c0 pc=0x4e8959
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001927e8 sp=0xc0001927e0 pc=0x46f261
created by os/signal.Notify.func1.1
/home/zyh/GitHub/gocompile/workspace/go/src/os/signal/signal.go:151 +0x2a

goroutine 11 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00005dfe0 sp=0xc00005dfd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 12 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00018e7e0 sp=0xc00018e7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00018e7e8 sp=0xc00018e7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 13 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00018efe0 sp=0xc00018efd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00018efe8 sp=0xc00018efe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 14 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00018f7e0 sp=0xc00018f7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00018f7e8 sp=0xc00018f7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 15 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00018ffe0 sp=0xc00018ffd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00018ffe8 sp=0xc00018ffe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 16 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001907e0 sp=0xc0001907d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001907e8 sp=0xc0001907e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 50 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000190fe0 sp=0xc000190fd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000190fe8 sp=0xc000190fe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 51 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001917e0 sp=0xc0001917d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001917e8 sp=0xc0001917e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 52 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000191fe0 sp=0xc000191fd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000191fe8 sp=0xc000191fe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 53 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001527e0 sp=0xc0001527d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001527e8 sp=0xc0001527e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 55 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001537e0 sp=0xc0001537d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001537e8 sp=0xc0001537e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 56 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000153fe0 sp=0xc000153fd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000153fe8 sp=0xc000153fe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 57 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001547e0 sp=0xc0001547d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001547e8 sp=0xc0001547e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 58 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000154fe0 sp=0xc000154fd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000154fe8 sp=0xc000154fe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 59 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001557e0 sp=0xc0001557d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001557e8 sp=0xc0001557e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 62 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014efe0 sp=0xc00014efd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014efe8 sp=0xc00014efe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 63 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014f7e0 sp=0xc00014f7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014f7e8 sp=0xc00014f7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 64 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014ffe0 sp=0xc00014ffd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014ffe8 sp=0xc00014ffe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 65 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001507e0 sp=0xc0001507d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001507e8 sp=0xc0001507e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 67 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001517e0 sp=0xc0001517d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001517e8 sp=0xc0001517e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 68 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000151fe0 sp=0xc000151fd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000151fe8 sp=0xc000151fe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 69 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015e7e0 sp=0xc00015e7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015e7e8 sp=0xc00015e7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 70 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015efe0 sp=0xc00015efd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015efe8 sp=0xc00015efe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 71 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015f7e0 sp=0xc00015f7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015f7e8 sp=0xc00015f7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 73 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001607e0 sp=0xc0001607d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001607e8 sp=0xc0001607e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 74 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000160fe0 sp=0xc000160fd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000160fe8 sp=0xc000160fe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 75 [syscall]:
runtime.cgocall(0x402ce0, 0xc0001617b8)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/cgocall.go:158 +0x5c fp=0xc000161790 sp=0xc000161758 pc=0x40989c
misc/cgo/test._Cfunc_setgid(0x0)
_cgo_gotypes.go:2269 +0x4c fp=0xc0001617b8 sp=0xc000161790 pc=0x52c02c
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:27 +0x29 fp=0xc0001617e0 sp=0xc0001617b8 pc=0x5605a9
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001617e8 sp=0xc0001617e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 76 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000161fe0 sp=0xc000161fd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000161fe8 sp=0xc000161fe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 77 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015a7e0 sp=0xc00015a7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015a7e8 sp=0xc00015a7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 79 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015b7e0 sp=0xc00015b7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015b7e8 sp=0xc00015b7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 80 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015bfe0 sp=0xc00015bfd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015bfe8 sp=0xc00015bfe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 81 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015c7e0 sp=0xc00015c7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015c7e8 sp=0xc00015c7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 82 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015cfe0 sp=0xc00015cfd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015cfe8 sp=0xc00015cfe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 83 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015d7e0 sp=0xc00015d7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015d7e8 sp=0xc00015d7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 84 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00015dfe0 sp=0xc00015dfd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00015dfe8 sp=0xc00015dfe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 85 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001687e0 sp=0xc0001687d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001687e8 sp=0xc0001687e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 86 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000168fe0 sp=0xc000168fd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000168fe8 sp=0xc000168fe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 87 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001697e0 sp=0xc0001697d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001697e8 sp=0xc0001697e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 88 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000169fe0 sp=0xc000169fd8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000169fe8 sp=0xc000169fe0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 89 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00016a7e0 sp=0xc00016a7d8 pc=0x560580
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00016a7e8 sp=0xc00016a7e0 pc=0x46f261
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

rax 0xca
rbx 0x0
rcx 0x471163
rdx 0x0
rdi 0x6ff568
rsi 0x80
rbp 0x7ffc239b96e0
rsp 0x7ffc239b9698
r8 0x0
r9 0x0
r10 0x0
r11 0x286
r12 0x7ffc239b96d8
r13 0x0
r14 0x6fee80
r15 0x0
rip 0x471161
rflags 0x286
cs 0x33
fs 0x0
gs 0x0
*** Test killed with quit: ran too long (11m0s).
FAIL misc/cgo/test 660.006s
FAIL
2022/08/31 06:29:15 Failed: exit status 1
SIGQUIT: quit
PC=0x472761 m=0 sigcode=0

goroutine 0 [idle]:
runtime.futex()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/sys_linux_amd64.s:559 +0x21 fp=0x7ffd7d6edfc0 sp=0x7ffd7d6edfb8 pc=0x472761
runtime.futexsleep(0x44b679?, 0x30a00?, 0x7ffd7d6ee040?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/os_linux.go:69 +0x36 fp=0x7ffd7d6ee010 sp=0x7ffd7d6edfc0 pc=0x438816
runtime.notesleep(0x704488)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/lock_futex.go:160 +0x87 fp=0x7ffd7d6ee048 sp=0x7ffd7d6ee010 pc=0x412ba7
runtime.mPark()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:1457 +0x25 fp=0x7ffd7d6ee068 sp=0x7ffd7d6ee048 pc=0x441b65
runtime.stoplockedm()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:2465 +0x65 fp=0x7ffd7d6ee0b8 sp=0x7ffd7d6ee068 pc=0x443825
runtime.schedule()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:3243 +0x3d fp=0x7ffd7d6ee0f0 sp=0x7ffd7d6ee0b8 pc=0x44559d
runtime.park_m(0xc0001029c0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:3413 +0x12d fp=0x7ffd7d6ee120 sp=0x7ffd7d6ee0f0 pc=0x445b2d
runtime.mcall()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:448 +0x43 fp=0x7ffd7d6ee130 sp=0x7ffd7d6ee120 pc=0x46e643

goroutine 1 [chan receive]:
runtime.gopark(0xc00006da40?, 0xc00006daa8?, 0xa9?, 0x43?, 0xc000124060?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00006da28 sp=0xc00006da08 pc=0x43f276
runtime.chanrecv(0xc0001280e0, 0xc00006db27, 0x1)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/chan.go:583 +0x49d fp=0xc00006dab8 sp=0xc00006da28 pc=0x40dcbd
runtime.chanrecv1(0xc000112060?, 0x1?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/chan.go:442 +0x18 fp=0xc00006dae0 sp=0xc00006dab8 pc=0x40d7f8
testing.(*T).Run(0xc0001024e0, {0x5b102d?, 0x4d7305?}, 0x5bbff8)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1527 +0x37a fp=0xc00006db80 sp=0xc00006dae0 pc=0x4d837a
testing.runTests.func1(0xc0001024e0?)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1879 +0x45 fp=0xc00006dbd0 sp=0xc00006db80 pc=0x4da1e5
testing.tRunner(0xc0001024e0, 0xc00006dcd8)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1479 +0x10b fp=0xc00006dc20 sp=0xc00006dbd0 pc=0x4d75ab
testing.runTests(0xc00011e000?, {0x6e9580, 0x61, 0x61}, {0x18?, 0xc00006dd70?, 0x703b00?})
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1877 +0x456 fp=0xc00006dd08 sp=0xc00006dc20 pc=0x4da0b6
testing.(*M).Run(0xc00011e000)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1759 +0x5d9 fp=0xc00006df00 sp=0xc00006dd08 pc=0x4d8bf9
main.main()
_testmain.go:245 +0x1aa fp=0xc00006df80 sp=0xc00006df00 pc=0x56bf4a
runtime.main()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:250 +0x207 fp=0xc00006dfe0 sp=0xc00006df80 pc=0x43eea7
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00006dfe8 sp=0xc00006dfe0 pc=0x470881

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00005afb0 sp=0xc00005af90 pc=0x43f276
runtime.goparkunlock(...)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:369
runtime.forcegchelper()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:302 +0xb0 fp=0xc00005afe0 sp=0xc00005afb0 pc=0x43f110
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005afe8 sp=0xc00005afe0 pc=0x470881
created by runtime.init.5
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:290 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00005b790 sp=0xc00005b770 pc=0x43f276
runtime.goparkunlock(...)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:369
runtime.bgsweep(0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgcsweep.go:279 +0x8e fp=0xc00005b7c8 sp=0xc00005b790 pc=0x42a40e
runtime.gcenable.func1()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgc.go:178 +0x26 fp=0xc00005b7e0 sp=0xc00005b7c8 pc=0x41f826
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005b7e8 sp=0xc00005b7e0 pc=0x470881
created by runtime.gcenable
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgc.go:178 +0x6b

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc00007c000?, 0x5ede60?, 0x1?, 0x0?, 0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00005bf70 sp=0xc00005bf50 pc=0x43f276
runtime.goparkunlock(...)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:369
runtime.(*scavengerState).park(0x703b80)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgcscavenge.go:389 +0x53 fp=0xc00005bfa0 sp=0xc00005bf70 pc=0x428493
runtime.bgscavenge(0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgcscavenge.go:617 +0x45 fp=0xc00005bfc8 sp=0xc00005bfa0 pc=0x428a65
runtime.gcenable.func2()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgc.go:179 +0x26 fp=0xc00005bfe0 sp=0xc00005bfc8 pc=0x41f7c6
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005bfe8 sp=0xc00005bfe0 pc=0x470881
created by runtime.gcenable
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mgc.go:179 +0xaa

goroutine 5 [finalizer wait]:
runtime.gopark(0x704340?, 0xc000007860?, 0x0?, 0x0?, 0xc00005a770?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc00005a628 sp=0xc00005a608 pc=0x43f276
runtime.goparkunlock(...)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:369
runtime.runfinq()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mfinal.go:186 +0x10f fp=0xc00005a7e0 sp=0xc00005a628 pc=0x41e8cf
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00005a7e8 sp=0xc00005a7e0 pc=0x470881
created by runtime.createfing
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/mfinal.go:163 +0x45

goroutine 23 [runnable]:
runtime.gopark(0x4?, 0xc0000566c0?, 0xa9?, 0x43?, 0xc000116460?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc000056640 sp=0xc000056620 pc=0x43f276
runtime.chanrecv(0xc000138000, 0x0, 0x1)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/chan.go:583 +0x49d fp=0xc0000566d0 sp=0xc000056640 pc=0x40dcbd
runtime.chanrecv1(0xc0001145b0?, 0x32?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/chan.go:442 +0x18 fp=0xc0000566f8 sp=0xc0000566d0 pc=0x40d7f8
misc/cgo/test.testSetgidStress(0x5b1ccf?)
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:33 +0x99 fp=0xc000056730 sp=0xc0000566f8 pc=0x561b39
misc/cgo/test.TestSetgidStress(0xc000102ea0)
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/cgo_linux_test.go:30 +0x70 fp=0xc000056770 sp=0xc000056730 pc=0x527370
testing.tRunner(0xc000102ea0, 0x5bbff8)
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1479 +0x10b fp=0xc0000567c0 sp=0xc000056770 pc=0x4d75ab
testing.(*T).Run.func1()
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1526 +0x2a fp=0xc0000567e0 sp=0xc0000567c0 pc=0x4d842a
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000567e8 sp=0xc0000567e0 pc=0x470881
created by testing.(*T).Run
/home/zyh/GitHub/gocompile/workspace/go/src/testing/testing.go:1526 +0x35f

goroutine 20 [select, locked to thread]:
runtime.gopark(0xc000056fa8?, 0x2?, 0x0?, 0x0?, 0xc000056fa4?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/proc.go:363 +0xd6 fp=0xc000056e18 sp=0xc000056df8 pc=0x43f276
runtime.selectgo(0xc000056fa8, 0xc000056fa0, 0x0?, 0x0, 0xc000056fa8?, 0x1)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/select.go:327 +0x7be fp=0xc000056f58 sp=0xc000056e18 pc=0x44f41e
runtime.ensureSigM.func1()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/signal_unix.go:993 +0x1b0 fp=0xc000056fe0 sp=0xc000056f58 pc=0x4695d0
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000056fe8 sp=0xc000056fe0 pc=0x470881
created by runtime.ensureSigM
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/signal_unix.go:976 +0xbd

goroutine 21 [syscall]:
runtime.notetsleepg(0x0?, 0x0?)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/lock_futex.go:236 +0x34 fp=0xc0000577a0 sp=0xc000057768 pc=0x412eb4
os/signal.signal_recv()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/sigqueue.go:152 +0x2f fp=0xc0000577c0 sp=0xc0000577a0 pc=0x46cf4f
os/signal.loop()
/home/zyh/GitHub/gocompile/workspace/go/src/os/signal/signal_unix.go:23 +0x19 fp=0xc0000577e0 sp=0xc0000577c0 pc=0x4e9f59
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000577e8 sp=0xc0000577e0 pc=0x470881
created by os/signal.Notify.func1.1
/home/zyh/GitHub/gocompile/workspace/go/src/os/signal/signal.go:151 +0x2a

goroutine 24 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000057fe0 sp=0xc000057fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000057fe8 sp=0xc000057fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 25 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0000587e0 sp=0xc0000587d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000587e8 sp=0xc0000587e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 26 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000058fe0 sp=0xc000058fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000058fe8 sp=0xc000058fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 27 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0000597e0 sp=0xc0000597d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0000597e8 sp=0xc0000597e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 28 [syscall]:
runtime.cgocall(0x56e303, 0xc000059fb8)
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/cgocall.go:158 +0x5c fp=0xc000059f90 sp=0xc000059f58 pc=0x40aebc
misc/cgo/test._Cfunc_setgid(0x0)
_cgo_gotypes.go:2269 +0x4c fp=0xc000059fb8 sp=0xc000059f90 pc=0x52d62c
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:27 +0x29 fp=0xc000059fe0 sp=0xc000059fb8 pc=0x561ba9
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 30 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013efe0 sp=0xc00013efd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013efe8 sp=0xc00013efe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 31 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013f7e0 sp=0xc00013f7d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013f7e8 sp=0xc00013f7e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 32 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013ffe0 sp=0xc00013ffd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013ffe8 sp=0xc00013ffe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 34 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000140fe0 sp=0xc000140fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000140fe8 sp=0xc000140fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 35 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001417e0 sp=0xc0001417d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001417e8 sp=0xc0001417e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 36 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000141fe0 sp=0xc000141fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000141fe8 sp=0xc000141fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 37 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013a7e0 sp=0xc00013a7d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013a7e8 sp=0xc00013a7e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 39 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013b7e0 sp=0xc00013b7d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013b7e8 sp=0xc00013b7e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 40 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013bfe0 sp=0xc00013bfd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013bfe8 sp=0xc00013bfe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 41 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013c7e0 sp=0xc00013c7d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013c7e8 sp=0xc00013c7e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 42 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013cfe0 sp=0xc00013cfd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013cfe8 sp=0xc00013cfe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 43 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013d7e0 sp=0xc00013d7d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013d7e8 sp=0xc00013d7e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 44 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00013dfe0 sp=0xc00013dfd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00013dfe8 sp=0xc00013dfe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 45 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014a7e0 sp=0xc00014a7d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014a7e8 sp=0xc00014a7e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 46 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014afe0 sp=0xc00014afd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014afe8 sp=0xc00014afe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 47 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014b7e0 sp=0xc00014b7d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014b7e8 sp=0xc00014b7e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 48 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014bfe0 sp=0xc00014bfd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014bfe8 sp=0xc00014bfe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 49 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014c7e0 sp=0xc00014c7d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014c7e8 sp=0xc00014c7e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 50 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014cfe0 sp=0xc00014cfd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014cfe8 sp=0xc00014cfe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 51 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014d7e0 sp=0xc00014d7d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014d7e8 sp=0xc00014d7e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 52 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc00014dfe0 sp=0xc00014dfd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc00014dfe8 sp=0xc00014dfe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 53 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001467e0 sp=0xc0001467d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001467e8 sp=0xc0001467e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 54 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000146fe0 sp=0xc000146fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000146fe8 sp=0xc000146fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 55 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001477e0 sp=0xc0001477d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001477e8 sp=0xc0001477e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 56 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000147fe0 sp=0xc000147fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000147fe8 sp=0xc000147fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 57 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001487e0 sp=0xc0001487d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001487e8 sp=0xc0001487e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 58 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000148fe0 sp=0xc000148fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000148fe8 sp=0xc000148fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 59 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001497e0 sp=0xc0001497d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001497e8 sp=0xc0001497e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 60 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000149fe0 sp=0xc000149fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000149fe8 sp=0xc000149fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 61 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001567e0 sp=0xc0001567d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001567e8 sp=0xc0001567e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 62 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000156fe0 sp=0xc000156fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000156fe8 sp=0xc000156fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 63 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001577e0 sp=0xc0001577d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001577e8 sp=0xc0001577e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 64 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000157fe0 sp=0xc000157fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000157fe8 sp=0xc000157fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 65 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001587e0 sp=0xc0001587d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001587e8 sp=0xc0001587e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 66 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000158fe0 sp=0xc000158fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000158fe8 sp=0xc000158fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 67 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001597e0 sp=0xc0001597d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001597e8 sp=0xc0001597e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 68 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000159fe0 sp=0xc000159fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000159fe8 sp=0xc000159fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 69 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001527e0 sp=0xc0001527d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001527e8 sp=0xc0001527e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 70 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000152fe0 sp=0xc000152fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000152fe8 sp=0xc000152fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 71 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc0001537e0 sp=0xc0001537d8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001537e8 sp=0xc0001537e0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

goroutine 72 [runnable]:
misc/cgo/test.testSetgidStress.func1()
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 fp=0xc000153fe0 sp=0xc000153fd8 pc=0x561b80
runtime.goexit()
/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc000153fe8 sp=0xc000153fe0 pc=0x470881
created by misc/cgo/test.testSetgidStress
/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

rax 0xca
rbx 0x0
rcx 0x472763
rdx 0x0
rdi 0x704488
rsi 0x80
rbp 0x7ffd7d6ee000
rsp 0x7ffd7d6edfb8
r8 0x0
r9 0x0
r10 0x0
r11 0x286
r12 0x7ffd7d6edff8
r13 0x58
r14 0x703da0
r15 0x1
rip 0x472761
rflags 0x286
cs 0x33
fs 0x0
gs 0x0
*** Test killed with quit: ran too long (11m0s).
FAIL misc/cgo/test 660.005s
FAIL
2022/08/31 06:29:15 Failed: exit status 1
ok misc/cgo/testtls 0.002s
ok misc/cgo/testtls 0.001s
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
go tool dist: FAILED

Maybe similar to https://go-review.googlesource.com/c/go/+/415677/ ?

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Aug 31, 2022
@zhangyunhao116
Copy link
Contributor Author

zhangyunhao116 commented Aug 31, 2022

BTW, I can't reproduce it on another PC(22.04.1 LTS (Jammy Jellyfish),gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0). Something strange going on here.

@bcmills
Copy link
Member

bcmills commented Aug 31, 2022

Duplicate of #53641? (@cherrymui, does the fix for that need to be backported to 1.18?)

@bcmills
Copy link
Member

bcmills commented Aug 31, 2022

Hmm, TestSetgidStress doesn't exist on the 1.18 release branch.

@zhangyunhao116, the go version you filled in to the issue template does not seem to match the issue you're reporting. What is the Go version at which you actually saw the failure from all.bash?

@bcmills bcmills added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 31, 2022
@zhangyunhao116
Copy link
Contributor Author

zhangyunhao116 commented Aug 31, 2022

The test failed on the master branch, go1.18.4 is used for bootstrap, updated the issue :)

@bcmills bcmills removed the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 31, 2022
@seankhliao seankhliao added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Aug 31, 2022
@mknyszek
Copy link
Contributor

mknyszek commented Aug 31, 2022

Hm... ideally it'd be great to reproduce this with no timeout set, get it to hang, and try to see what's going on.

Since it timed out, do you (@zhangyunhao116) have a backtrace from when it crashed? That would help point out the deadlock (if any). If you don't have it anymore, then I'm not sure there's much we can do here other than to try and reproduce it more. EDIT: The backtrace is in the OP! Totally missed it. What libc are you using? I'm assuming glibc since you listed the gcc version, but if it's musl I think there's a known issue with how Go deals with signals and musl, and so this might be related to that.

@mknyszek mknyszek self-assigned this Aug 31, 2022
@mknyszek mknyszek added this to the Go1.20 milestone Aug 31, 2022
@cherrymui
Copy link
Member

cherrymui commented Sep 1, 2022

The test now is fairly inexpensive, and certainly shouldn't take 11 minutes on a reasonable machine (unless the machine is extremely overloaded?). In both stack traces I saw one goroutine doing the setgid C call, like

goroutine 75 [syscall]:

runtime.cgocall(0x402ce0, 0xc0001617b8)

/home/zyh/GitHub/gocompile/workspace/go/src/runtime/cgocall.go:158 +0x5c fp=0xc000161790 sp=0xc000161758 pc=0x40989c

misc/cgo/test._Cfunc_setgid(0x0)

_cgo_gotypes.go:2269 +0x4c fp=0xc0001617b8 sp=0xc000161790 pc=0x52c02c

misc/cgo/test.testSetgidStress.func1()

/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:27 +0x29 fp=0xc0001617e0 sp=0xc0001617b8 pc=0x5605a9

runtime.goexit()

/home/zyh/GitHub/gocompile/workspace/go/src/runtime/asm_amd64.s:1594 +0x1 fp=0xc0001617e8 sp=0xc0001617e0 pc=0x46f261

created by misc/cgo/test.testSetgidStress

/home/zyh/GitHub/gocompile/workspace/go/misc/cgo/test/setgid2_linux.go:26 +0x37

I wonder if it is stuck in the C function setgid? Could you try using a debugger to see where it stuck? Thanks.

@zhangyunhao116
Copy link
Contributor Author

zhangyunhao116 commented Sep 2, 2022

What libc are you using?

glibc version: ldd (Ubuntu GLIBC 2.34-0ubuntu3.2) 2.34

unless the machine is extremely overloaded?

When running the tests, the CPU(AMD 3700x 8C16T) usage is almost zero.

I'm not familiar with these tests, could you please give me a way to debug this? Thanks!

@zhangyunhao116
Copy link
Contributor Author

zhangyunhao116 commented Sep 13, 2022

After updating the system version(ubuntu 22.04.01 with Ubuntu GLIBC 2.35-0ubuntu3.1), this problem disappeared. Since there is no environment, I closed this issue for now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: Done
Development

No branches or pull requests

6 participants