Description
Go version
go1.24.2 windows/amd64
Output of go env
in your module/workspace:
set AR=ar
set CC=gcc
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_ENABLED=1
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set CXX=g++
set GCCGO=gccgo
set GO111MODULE=
set GOAMD64=v1
set GOARCH=amd64
set GOAUTH=netrc
set GOBIN=
set GOCACHE=C:\Users\1\AppData\Local\go-build
set GOCACHEPROG=
set GODEBUG=
set GOENV=C:\Users\1\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFIPS140=off
set GOFLAGS=
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=E:\TEMP\go-build1607997771=/tmp/go-build -gno-record-gcc-switches
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMOD=M:\Projects\AY\Trapper.System\pool_lines_provider\go.mod
set GOMODCACHE=D:\gopath\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\gopath
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=D:\go
set GOSUMDB=sum.golang.org
set GOTELEMETRY=off
set GOTELEMETRYDIR=C:\Users\1\AppData\Roaming\go\telemetry
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=D:\go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.24.2
set GOWORK=
set PKG_CONFIG=pkg-config
What did you do?
var updatePoolLineUsage_keys sync.Map // key => ip
var key, ip string
...
updatePoolLineUsage_keys.Store(key, ip)
What did you see happen?
Panic in
internal/sync.HashTrieMap: ran out of hash bits while inserting
STACK:
goroutine 870014 [running]:
panic({0xfb2660?, 0x1434870?})
D:/go/src/runtime/panic.go:792 +0x132
internal/sync.(*HashTrieMap[...]).expand(0x14602c0?, 0xc003e8aba0, 0xc008401bc0, 0xa879ce25c8134d64, 0x0, 0xc004f668c0)
D:/go/src/internal/sync/hashtriemap.go:181 +0x1e5
internal/sync.(*HashTrieMap[...]).Swap(0x14602c0, {0xfb2660, 0xc0048a8950}, {0xfb2660, 0xc0048a8960})
D:/go/src/internal/sync/hashtriemap.go:272 +0x397
internal/sync.(*HashTrieMap[...]).Store(...)
D:/go/src/internal/sync/hashtriemap.go:200
sync.(*Map).Store(...)
D:/go/src/sync/hashtriemap.go:55
What did you expect to see?
ok
Metadata
Metadata
Assignees
Labels
Type
Projects
Status