Go version
go version 1.21.5
What operating system and processor architecture are you using (go env)?
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/builder/.cache/go-build'
GOENV='/home/builder/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/builder/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/builder/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/home/builder/sdk/go1.21.5'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/builder/sdk/go1.21.5/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.5'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/builder/go/src/github.com/minio/mc/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2004049258=/tmp/go-build -gno-record-gcc-switches'
What did you do?
Unable to reproduce this consistently i.e not reproducible always
What did you expect to see?
No build errors or crashes
What did you see instead?
command: -s\ -w\ -X\ github.com/minio/minio/cmd.Version=2023-12-08T20:26:01Z\ -X\ github.com/minio/minio/cmd.CopyrightYear=2023\ -X\ github.com/minio/minio/cmd.ReleaseTag=RELEASE.2023-12-08T20-26-01Z\ -X\ github.com/minio/minio/cmd.CommitID=196e7e072bd5f881455f079201f01062b7da08ee\ -X\ github.com/minio/minio/cmd.ShortCommitID=196e7e072bd5\ -X\ github.com/minio/minio/cmd.GOPATH=/root/.q/sources/gopath\ -X\ github.com/minio/minio/cmd.GOROOT=/opt/go
command: -o
command: minio-release/darwin-arm64/minio.RELEASE.2023-12-08T20-26-01Z
console output:
# github.com/elastic/go-elasticsearch/v7/esapi
github.com/elastic/go-elasticsearch/v7@v7.17.10/esapi/api.update_by_query.go:111:21: internal compiler error: 'UpdateByQueryRequest.Do': panic during regalloc while compiling UpdateByQueryRequest.Do:
runtime error: index out of range [898151240] with length 338
goroutine 19016 [running]:
cmd/compile/internal/ssa.Compile.func1()
cmd/compile/internal/ssa/compile.go:49 +0x6c
panic({0xd31dc0?, 0xc0358bd1e8?})
runtime/panic.go:914 +0x21f
cmd/compile/internal/ssa.(*regAllocState).regalloc(0xc0358d6680, 0xc03576c4e0)
cmd/compile/internal/ssa/regalloc.go:923 +0xccd4
cmd/compile/internal/ssa.regalloc(0xc03576c4e0?)
cmd/compile/internal/ssa/regalloc.go:148 +0x3d
cmd/compile/internal/ssa.Compile(0xc03576c4e0)
cmd/compile/internal/ssa/compile.go:97 +0x9ab
cmd/compile/internal/ssagen.buildssa(0xc006b97600, 0x3)
cmd/compile/internal/ssagen/ssa.go:568 +0x2ae9
cmd/compile/internal/ssagen.Compile(0xc006b97600, 0x0?)
cmd/compile/internal/ssagen/pgen.go:187 +0x45
cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
cmd/compile/internal/gc/compile.go:184 +0x34
cmd/compile/internal/gc.compileFunctions.func3.1()
cmd/compile/internal/gc/compile.go:166 +0x30
created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 472
cmd/compile/internal/gc/compile.go:165 +0x23a
Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
Go version
go version 1.21.5
What operating system and processor architecture are you using (
go env)?What did you do?
Unable to reproduce this consistently i.e not reproducible always
What did you expect to see?
No build errors or crashes
What did you see instead?