runtime: fatal error "runqsteal: runq overflow" #39518
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Seems to be random issue, not able to reproduce locally, it's observed in several attempts which ran all the benchmarks of 'std' package only.
What operating system and processor architecture are you using (
go env
)?go env
OutputGO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/xiaji01/.cache/go-build"
GOENV="/home/xiaji01/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/xiaji01/.go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/xiaji01/.go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/xiaji01/util/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/xiaji01/util/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/xiaji01/util/go/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build372041418=/tmp/go-build -gno-record-gcc-switches"
What did you do?
run "go test -count 3 -timeout 180m -run=^$ -bench=. std" under GOROOT/src
What did you expect to see?
No errors and crashes.
What did you see instead?
A crash, here is part of the screenshot, full log is attached.
BenchmarkReset-32 317536 3796 ns/op
BenchmarkReset-32 306330 3622 ns/op
BenchmarkReset-32 323361 3759 ns/op
BenchmarkSleep-32 1203 843502 ns/op
BenchmarkSleep-32 1442 827265 ns/op
BenchmarkSleep-32 fatal error: runqsteal: runq overflow
runtime stack:
runtime.throw(0x5e822b, 0x18)
/home/ent-user/ci-scripts/golang/src/runtime/panic.go:1116 +0x72
runtime.runqsteal(0xc000096000, 0xc000091000, 0x0, 0x0)
/home/ent-user/ci-scripts/golang/src/runtime/proc.go:5300 +0xe5
runtime.findrunnable(0xc000096000, 0x0)
/home/ent-user/ci-scripts/golang/src/runtime/proc.go:2227 +0xf7
runtime.schedule()
/home/ent-user/ci-scripts/golang/src/runtime/proc.go:2636 +0x2d7
runtime.goexit0(0xc004f40780)
/home/ent-user/ci-scripts/golang/src/runtime/proc.go:2963 +0x1d6
runtime.mcall(0x0)
/home/ent-user/ci-scripts/golang/src/runtime/asm_amd64.s:318 +0x5b
The text was updated successfully, but these errors were encountered: