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/cgo: cgo Process crashing due to fatal error while making cgo calls from go routines in interaction between go & c #67357

Open
tech-sumit opened this issue May 14, 2024 · 2 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@tech-sumit
Copy link

Go version

go1.22.3 darwin/arm64

Output of go env in your module/workspace:

GO111MODULE='on'
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/gopher/Library/Caches/go-build'
GOENV='/Users/gopher/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/gopher/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/sumit/go'
GOPRIVATE=''
GOPROXY='direct'
GOROOT='/Users/gopher/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/Users/gopher/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.22.3'
GCCGO='gccgo'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/gopher/CODE/gopher/exit/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 -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/fk/cmlfntxn5ysfkpmyv2n2ck7w0000gn/T/go-build557642694=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?

The package https://github.com/herumi/bls-eth-go-binary is making cgo calls to decode public key certificate. I'm calling the function to decode the certificate from a gin handler which internally seems to be running on a go routine. If I dont use gin and instead setup cli using viper, it works.

What did you see happen?

CGO Function calls fail while calling from a go routine. same thing works when not calling from a go routine. following is the stacktrace.

GOROOT=/Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64 #gosetup
GOPATH=/Users/sumit/go #gosetup
/Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/bin/go build -o /Users/sumit/Library/Caches/JetBrains/GoLand2024.1/tmp/GoLand/___1go_build_exit_cmd -gcflags all=-N -l exit/cmd #gosetup
/Applications/GoLand.app/Contents/plugins/go-plugin/lib/dlv/macarm/dlv --listen=127.0.0.1:56798 --headless=true --api-version=2 --check-go-version=false --only-same-user=false exec /Users/sumit/Library/Caches/JetBrains/GoLand2024.1/tmp/GoLand/___1go_build_exit_cmd --
API server listening at: 127.0.0.1:56798
debugserver-@(#)PROGRAM:LLDB  PROJECT:lldb-1500.0.404.7
 for arm64.
Got a connection, launched process /Users/sumit/Library/Caches/JetBrains/GoLand2024.1/tmp/GoLand/___1go_build_exit_cmd (pid = 904).
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:   export GIN_MODE=release
 - using code:  gin.SetMode(gin.ReleaseMode)

[GIN-debug] POST   /validator_exit           --> main.handleValidatorExit (3 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Environment variable PORT is undefined. Using port :8080 by default
[GIN-debug] Listening and serving HTTP on :8080

SIGSEGV: segmentation violation
PC=0x0 m=12 sigcode=2 addr=0x0
signal arrived during cgo execution

goroutine 51 gp=0x140002196c0 m=12 mp=0x1400091e908 [syscall]:
runtime.cgocall(0x100eb0a70, 0x140009fab48)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/cgocall.go:157 +0x44 fp=0x140009fab10 sp=0x140009faad0 pc=0x10004bef4
github.com/herumi/bls-eth-go-binary/bls._Cfunc_blsPublicKeyDeserialize(0x140100ba240, 0x1400119a120, 0x30)
        _cgo_gotypes.go:533 +0x34 fp=0x140009fab40 sp=0x140009fab10 pc=0x10029b924
github.com/herumi/bls-eth-go-binary/bls.(*PublicKey).Deserialize.func1(0x140100ba240, {0x1400119a120, 0x30, 0x60})
        /Users/sumit/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.35.0/bls/bls.go:397 +0x8c fp=0x140009fabb0 sp=0x140009fab40 pc=0x10029fd9c
github.com/herumi/bls-eth-go-binary/bls.(*PublicKey).Deserialize(0x140100ba240, {0x1400119a120, 0x30, 0x60})
        /Users/sumit/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.35.0/bls/bls.go:397 +0x44 fp=0x140009fac60 sp=0x140009fabb0 pc=0x10029fbd4
github.com/wealdtech/go-eth2-types/v2.BLSPublicKeyFromBytes({0x1400119a120, 0x30, 0x60})
        /Users/sumit/go/pkg/mod/github.com/wealdtech/go-eth2-types/v2@v2.8.2/blspublickey.go:40 +0x140 fp=0x140009fad30 sp=0x140009fac60 pc=0x1002eafa0
github.com/wealdtech/go-eth2-wallet-nd/v2.(*account).UnmarshalJSON(0x140100b4780, {0x140100b6afd, 0x2c7, 0x2c9})
        /Users/sumit/go/pkg/mod/github.com/wealdtech/go-eth2-wallet-nd/v2@v2.5.0/account_json.go:92 +0x768 fp=0x140009fb140 sp=0x140009fad30 pc=0x1004c1388
encoding/json.(*decodeState).object(0x1400068a900, {0x10163c9e0, 0x140005ae078, 0x196})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:604 +0x184 fp=0x140009fb720 sp=0x140009fb140 pc=0x1001b6e34
encoding/json.(*decodeState).value(0x1400068a900, {0x10163c9e0, 0x140005ae078, 0x196})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:374 +0x164 fp=0x140009fb7f0 sp=0x140009fb720 pc=0x1001b5964
encoding/json.(*decodeState).array(0x1400068a900, {0x1014ef1c0, 0x140100b2068, 0x197})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:555 +0x650 fp=0x140009fb9d0 sp=0x140009fb7f0 pc=0x1001b69e0
encoding/json.(*decodeState).value(0x1400068a900, {0x1014ef1c0, 0x140100b2068, 0x197})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:364 +0x1e4 fp=0x140009fbaa0 sp=0x140009fb9d0 pc=0x1001b59e4
encoding/json.(*decodeState).object(0x1400068a900, {0x1015aea60, 0x140100b2060, 0x199})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:755 +0xed4 fp=0x140009fc080 sp=0x140009fbaa0 pc=0x1001b7b84
encoding/json.(*decodeState).value(0x1400068a900, {0x1014d9d40, 0x140100b2060, 0x16})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:374 +0x164 fp=0x140009fc150 sp=0x140009fc080 pc=0x1001b5964
encoding/json.(*decodeState).unmarshal(0x1400068a900, {0x1014d9d40, 0x140100b2060})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:181 +0x148 fp=0x140009fc200 sp=0x140009fc150 pc=0x1001b4968
encoding/json.Unmarshal({0x140100b6a80, 0x346, 0x346}, {0x1014d9d40, 0x140100b2060})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:108 +0xec fp=0x140009fc270 sp=0x140009fc200 pc=0x1001b42dc
github.com/wealdtech/go-eth2-wallet-nd/v2.Import({0x1016a8180, 0x140011d7200}, {0x140000d7000, 0x397, 0x397}, {0x1400121e588, 0x8, 0x8}, {0x1016ac308, 0x140006ba150}, ...)
        /Users/sumit/go/pkg/mod/github.com/wealdtech/go-eth2-wallet-nd/v2@v2.5.0/wallet.go:379 +0x26c fp=0x140009fc510 sp=0x140009fc270 pc=0x1004c6eec
github.com/wealdtech/ethdo/util.parseAccountFromKeystore({0x1016a8180, 0x140011d7200}, {0x140006aaf00, 0x483}, {0x1400069c070, 0x1, 0x1}, 0x1)
        /Users/sumit/go/pkg/mod/github.com/wealdtech/ethdo@v1.35.2/util/account.go:209 +0x540 fp=0x140009fc830 sp=0x140009fc510 pc=0x100d4b6a0
github.com/wealdtech/ethdo/util.ParseAccount({0x1016a8180, 0x140011d7200}, {0x140006aaf00, 0x483}, {0x1400069c070, 0x1, 0x1}, 0x1)
        /Users/sumit/go/pkg/mod/github.com/wealdtech/ethdo@v1.35.2/util/account.go:49 +0x198 fp=0x140009fca70 sp=0x140009fc830 pc=0x100d4a288
exit.(*Command).generateOperationFromValidator(0x140006a2140, {0x1016a8180, 0x140011d7200})
        /Users/sumit/CODE/luganodes/exit/process.go:263 +0x84 fp=0x140009fcb60 sp=0x140009fca70 pc=0x100d5b314
exit.(*Command).obtainOperations(0x140006a2140, {0x1016a8180, 0x140011d7200})
        /Users/sumit/CODE/luganodes/exit/process.go:128 +0x324 fp=0x140009fcc20 sp=0x140009fcb60 pc=0x100d59e24
exit.(*Command).Process(0x140006a2140, {0x1016a8180, 0x140011d7200})
        /Users/sumit/CODE/luganodes/exit/process.go:72 +0x11c fp=0x140009fcd40 sp=0x140009fcc20 pc=0x100d5989c
main.handleValidatorExit(0x140011d7200)
        /Users/sumit/CODE/luganodes/exit/cmd/main.go:42 +0x520 fp=0x140009fd040 sp=0x140009fcd40 pc=0x100eafe00
github.com/gin-gonic/gin.(*Context).Next(0x140011d7200)
        /Users/sumit/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0xa0 fp=0x140009fd070 sp=0x140009fd040 pc=0x100e91000
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0x140011d7200)
        /Users/sumit/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x10c fp=0x140009fd0f0 sp=0x140009fd070 pc=0x100ea2a7c
github.com/gin-gonic/gin.(*Context).Next(0x140011d7200)
        /Users/sumit/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0xa0 fp=0x140009fd120 sp=0x140009fd0f0 pc=0x100e91000
github.com/gin-gonic/gin.LoggerWithConfig.func1(0x140011d7200)
        /Users/sumit/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xbc fp=0x140009fd350 sp=0x140009fd120 pc=0x100ea153c
github.com/gin-gonic/gin.(*Context).Next(0x140011d7200)
        /Users/sumit/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0xa0 fp=0x140009fd380 sp=0x140009fd350 pc=0x100e91000
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0x14001352d00, 0x140011d7200)
        /Users/sumit/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x36c fp=0x140009fd5f0 sp=0x140009fd380 pc=0x100e9f50c
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0x14001352d00, {0x1016a4a00, 0x1400069e000}, 0x14000686000)
        /Users/sumit/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0xc0 fp=0x140009fd650 sp=0x140009fd5f0 pc=0x100e9f0a0
net/http.serverHandler.ServeHTTP({0x140001b4ff0}, {0x1016a4a00, 0x1400069e000}, 0x14000686000)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3137 +0x2b0 fp=0x140009fd6a0 sp=0x140009fd650 pc=0x1006b6160
net/http.(*conn).serve(0x140001a8750, {0x1016a8298, 0x14001218050})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:2039 +0x15f8 fp=0x140009fdf90 sp=0x140009fd6a0 pc=0x1006b0558
net/http.(*Server).Serve.gowrap3()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3285 +0x40 fp=0x140009fdfd0 sp=0x140009fdf90 pc=0x1006b6d30
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140009fdfd0 sp=0x140009fdfd0 pc=0x1000b9594
created by net/http.(*Server).Serve in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3285 +0x88c

goroutine 1 gp=0x14000002380 m=nil [IO wait, 4 minutes]:
runtime.gopark(0x1016973c8, 0x147109740, 0x2, 0x2, 0x5)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000043300 sp=0x140000432d0 pc=0x100086f90
runtime.netpollblock(0x147109720, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:573 +0xb8 fp=0x14000043340 sp=0x14000043300 pc=0x100080548
internal/poll.runtime_pollWait(0x147109720, 0x72)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:345 +0x44 fp=0x14000043360 sp=0x14000043340 pc=0x1000b3404
internal/poll.(*pollDesc).wait(0x1400054eca0, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:84 +0x80 fp=0x140000433b0 sp=0x14000043360 pc=0x100162ca0
internal/poll.(*pollDesc).waitRead(0x1400054eca0, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:89 +0x34 fp=0x14000043400 sp=0x140000433b0 pc=0x100162d24
internal/poll.(*FD).Accept(0x1400054ec80)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_unix.go:611 +0x38c fp=0x14000043670 sp=0x14000043400 pc=0x1001689ec
net.(*netFD).accept(0x1400054ec80)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/fd_unix.go:172 +0x48 fp=0x14000043810 sp=0x14000043670 pc=0x100233828
net.(*TCPListener).accept(0x14000427b60)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/tcpsock_posix.go:159 +0x44 fp=0x140000438b0 sp=0x14000043810 pc=0x10025cce4
net.(*TCPListener).Accept(0x14000427b60)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/tcpsock.go:327 +0x4c fp=0x14000043960 sp=0x140000438b0 pc=0x10025af6c
net/http.(*onceCloseListener).Accept(0x1400063e900)
        <autogenerated>:1 +0x50 fp=0x140000439e0 sp=0x14000043960 pc=0x1006e7bf0
net/http.(*Server).Serve(0x140001b4ff0, {0x1016a56c0, 0x14000427b60})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3255 +0x448 fp=0x14000043cc0 sp=0x140000439e0 pc=0x1006b6848
net/http.(*Server).ListenAndServe(0x140001b4ff0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3184 +0x134 fp=0x14000043d80 sp=0x14000043cc0 pc=0x1006b6314
net/http.ListenAndServe({0x100f1ca65, 0x5}, {0x10169d5d8, 0x14001352d00})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3438 +0x114 fp=0x14000043de0 sp=0x14000043d80 pc=0x1006b7d84
github.com/gin-gonic/gin.(*Engine).Run(0x14001352d00, {0x0, 0x0, 0x0})
        /Users/sumit/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:399 +0x1a8 fp=0x14000043ec0 sp=0x14000043de0 pc=0x100e9d5f8
main.main()
        /Users/sumit/CODE/luganodes/exit/cmd/main.go:64 +0xc8 fp=0x14000043f60 sp=0x14000043ec0 pc=0x100eb0258
runtime.main()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:271 +0x228 fp=0x14000043fd0 sp=0x14000043f60 pc=0x100086b38
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000043fd0 sp=0x14000043fd0 pc=0x1000b9594

goroutine 2 gp=0x14000002e00 m=nil [force gc (idle), 4 minutes]:
runtime.gopark(0x1016973e8, 0x101e5b200, 0x11, 0xa, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006af70 sp=0x1400006af40 pc=0x100086f90
runtime.goparkunlock(0x101e5b200?, 0x0?, 0x0?, 0x0?)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:408 +0x34 fp=0x1400006afa0 sp=0x1400006af70 pc=0x100087024
runtime.forcegchelper()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:326 +0xb4 fp=0x1400006afd0 sp=0x1400006afa0 pc=0x100086db4
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006afd0 sp=0x1400006afd0 pc=0x1000b9594
created by runtime.init.6 in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:314 +0x24

goroutine 18 gp=0x140000a4380 m=nil [GC sweep wait]:
runtime.gopark(0x1016973e8, 0x101e5c8c0, 0xc, 0x9, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000066740 sp=0x14000066710 pc=0x100086f90
runtime.goparkunlock(0x101e5c8c0?, 0x0?, 0x0?, 0x0?)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:408 +0x34 fp=0x14000066770 sp=0x14000066740 pc=0x100087024
runtime.bgsweep(0x140000b0000)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgcsweep.go:318 +0xdc fp=0x140000667b0 sp=0x14000066770 pc=0x10006fbdc
runtime.gcenable.gowrap1()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:203 +0x28 fp=0x140000667d0 sp=0x140000667b0 pc=0x100064548
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000667d0 sp=0x140000667d0 pc=0x1000b9594
created by runtime.gcenable in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:203 +0x6c

goroutine 19 gp=0x140000a4540 m=nil [GC scavenge wait]:
runtime.gopark(0x1016973e8, 0x101e61580, 0xd, 0xa, 0x2)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400079af20 sp=0x1400079aef0 pc=0x100086f90
runtime.goparkunlock(0x101e61580?, 0xae?, 0x56?, 0x0?)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:408 +0x34 fp=0x1400079af50 sp=0x1400079af20 pc=0x100087024
runtime.(*scavengerState).park(0x101e61580)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgcscavenge.go:425 +0x4c fp=0x1400079af80 sp=0x1400079af50 pc=0x10006d1ec
runtime.bgscavenge(0x140000b0000)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgcscavenge.go:658 +0x60 fp=0x1400079afb0 sp=0x1400079af80 pc=0x10006d740
runtime.gcenable.gowrap2()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:204 +0x28 fp=0x1400079afd0 sp=0x1400079afb0 pc=0x1000644e8
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400079afd0 sp=0x1400079afd0 pc=0x1000b9594
created by runtime.gcenable in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:204 +0xac

goroutine 20 gp=0x140000a4c40 m=nil [finalizer wait, 4 minutes]:
runtime.gopark(0x101697120, 0x101ec9678, 0x10, 0xa, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006a590 sp=0x1400006a560 pc=0x100086f90
runtime.runfinq()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mfinal.go:194 +0xf0 fp=0x1400006a7d0 sp=0x1400006a590 pc=0x1000636e0
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006a7d0 sp=0x1400006a7d0 pc=0x1000b9594
created by runtime.createfing in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mfinal.go:164 +0x4c

goroutine 21 gp=0x14000218e00 m=nil [GC worker (idle), 4 minutes]:
runtime.gopark(0x101697148, 0x140000f07e0, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000067720 sp=0x140000676f0 pc=0x100086f90
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x140000677d0 sp=0x14000067720 pc=0x100065f68
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000677d0 sp=0x140000677d0 pc=0x1000b9594
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 3 gp=0x140000036c0 m=nil [GC worker (idle)]:
runtime.gopark(0x101697148, 0x1400003c020, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006b720 sp=0x1400006b6f0 pc=0x100086f90
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x1400006b7d0 sp=0x1400006b720 pc=0x100065f68
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006b7d0 sp=0x1400006b7d0 pc=0x1000b9594
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 4 gp=0x14000003880 m=nil [GC worker (idle)]:
runtime.gopark(0x101697148, 0x140000f0800, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006bf20 sp=0x1400006bef0 pc=0x100086f90
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x1400006bfd0 sp=0x1400006bf20 pc=0x100065f68
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006bfd0 sp=0x1400006bfd0 pc=0x1000b9594
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 34 gp=0x14000468000 m=nil [GC worker (idle)]:
runtime.gopark(0x101697148, 0x140000f0820, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400046e720 sp=0x1400046e6f0 pc=0x100086f90
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x1400046e7d0 sp=0x1400046e720 pc=0x100065f68
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400046e7d0 sp=0x1400046e7d0 pc=0x1000b9594
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 5 gp=0x14000003a40 m=nil [GC worker (idle)]:
runtime.gopark(0x101697148, 0x140000f0840, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006c720 sp=0x1400006c6f0 pc=0x100086f90
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x1400006c7d0 sp=0x1400006c720 pc=0x100065f68
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006c7d0 sp=0x1400006c7d0 pc=0x1000b9594
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 35 gp=0x140004681c0 m=nil [GC worker (idle)]:
runtime.gopark(0x101697148, 0x1400003c040, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x140007a0f20 sp=0x140007a0ef0 pc=0x100086f90
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x140007a0fd0 sp=0x140007a0f20 pc=0x100065f68
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140007a0fd0 sp=0x140007a0fd0 pc=0x1000b9594
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 22 gp=0x14000218fc0 m=nil [GC worker (idle)]:
runtime.gopark(0x101697148, 0x140000f0860, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000067f20 sp=0x14000067ef0 pc=0x100086f90
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x14000067fd0 sp=0x14000067f20 pc=0x100065f68
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000067fd0 sp=0x14000067fd0 pc=0x1000b9594
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 6 gp=0x14000003c00 m=nil [GC worker (idle)]:
runtime.gopark(0x101697148, 0x140000f0880, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006cf20 sp=0x1400006cef0 pc=0x100086f90
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x1400006cfd0 sp=0x1400006cf20 pc=0x100065f68
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006cfd0 sp=0x1400006cfd0 pc=0x1000b9594
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 7 gp=0x14000219a40 m=nil [select]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000083d70 sp=0x14000083d40 pc=0x100086f90
runtime.selectgo(0x14000083f48, 0x14000083f00, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000083ec0 sp=0x14000083d70 pc=0x100097c88
github.com/golang/glog.(*fileSink).flushDaemon(0x101e612f8)
        /Users/sumit/go/pkg/mod/github.com/golang/glog@v1.2.1/glog_file.go:351 +0x124 fp=0x14000083fb0 sp=0x14000083ec0 pc=0x100d234f4
github.com/golang/glog.init.1.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/golang/glog@v1.2.1/glog_file.go:166 +0x2c fp=0x14000083fd0 sp=0x14000083fb0 pc=0x100d21fcc
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000083fd0 sp=0x14000083fd0 pc=0x1000b9594
created by github.com/golang/glog.init.1 in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/golang/glog@v1.2.1/glog_file.go:166 +0x1d4

goroutine 8 gp=0x14000219c00 m=nil [select, 4 minutes]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x140007a1d80 sp=0x140007a1d50 pc=0x100086f90
runtime.selectgo(0x140007a1f40, 0x14000471f10, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x140007a1ed0 sp=0x140007a1d80 pc=0x100097c88
github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0x140002ced40)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:102 +0x9c fp=0x140007a1fb0 sp=0x140007a1ed0 pc=0x100d2e4dc
github.com/dgraph-io/ristretto.newDefaultPolicy.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x2c fp=0x140007a1fd0 sp=0x140007a1fb0 pc=0x100d2e35c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140007a1fd0 sp=0x140007a1fd0 pc=0x1000b9594
created by github.com/dgraph-io/ristretto.newDefaultPolicy in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x1fc

goroutine 9 gp=0x14000219dc0 m=nil [select]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000085c00 sp=0x14000085bd0 pc=0x100086f90
runtime.selectgo(0x14000085ee0, 0x14000085d9c, 0x140002ced40?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000085d50 sp=0x14000085c00 pc=0x100097c88
github.com/dgraph-io/ristretto.(*Cache).processItems(0x140002d1b80)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:452 +0x204 fp=0x14000085fb0 sp=0x14000085d50 pc=0x100d2c2c4
github.com/dgraph-io/ristretto.NewCache.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x2c fp=0x14000085fd0 sp=0x14000085fb0 pc=0x100d2ad4c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000085fd0 sp=0x14000085fd0 pc=0x1000b9594
created by github.com/dgraph-io/ristretto.NewCache in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x760

goroutine 10 gp=0x14000468700 m=nil [select, 4 minutes]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000068d80 sp=0x14000068d50 pc=0x100086f90
runtime.selectgo(0x14000068f40, 0x14000068f10, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000068ed0 sp=0x14000068d80 pc=0x100097c88
github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0x140002cedc0)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:102 +0x9c fp=0x14000068fb0 sp=0x14000068ed0 pc=0x100d2e4dc
github.com/dgraph-io/ristretto.newDefaultPolicy.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x2c fp=0x14000068fd0 sp=0x14000068fb0 pc=0x100d2e35c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000068fd0 sp=0x14000068fd0 pc=0x1000b9594
created by github.com/dgraph-io/ristretto.newDefaultPolicy in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x1fc

goroutine 11 gp=0x140004688c0 m=nil [select]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000080c00 sp=0x14000080bd0 pc=0x100086f90
runtime.selectgo(0x14000080ee0, 0x14000080d9c, 0x140002cedc0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000080d50 sp=0x14000080c00 pc=0x100097c88
github.com/dgraph-io/ristretto.(*Cache).processItems(0x140002d1c00)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:452 +0x204 fp=0x14000080fb0 sp=0x14000080d50 pc=0x100d2c2c4
github.com/dgraph-io/ristretto.NewCache.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x2c fp=0x14000080fd0 sp=0x14000080fb0 pc=0x100d2ad4c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000080fd0 sp=0x14000080fd0 pc=0x1000b9594
created by github.com/dgraph-io/ristretto.NewCache in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x760

goroutine 12 gp=0x14000468a80 m=nil [select, 4 minutes]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000069d80 sp=0x14000069d50 pc=0x100086f90
runtime.selectgo(0x14000069f40, 0x14000069f10, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000069ed0 sp=0x14000069d80 pc=0x100097c88
github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0x140002cee40)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:102 +0x9c fp=0x14000069fb0 sp=0x14000069ed0 pc=0x100d2e4dc
github.com/dgraph-io/ristretto.newDefaultPolicy.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x2c fp=0x14000069fd0 sp=0x14000069fb0 pc=0x100d2e35c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000069fd0 sp=0x14000069fd0 pc=0x1000b9594
created by github.com/dgraph-io/ristretto.newDefaultPolicy in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x1fc

goroutine 13 gp=0x14000468c40 m=nil [select]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400079dc00 sp=0x1400079dbd0 pc=0x100086f90
runtime.selectgo(0x1400079dee0, 0x1400079dd9c, 0x140002cee40?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x1400079dd50 sp=0x1400079dc00 pc=0x100097c88
github.com/dgraph-io/ristretto.(*Cache).processItems(0x140002d1c80)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:452 +0x204 fp=0x1400079dfb0 sp=0x1400079dd50 pc=0x100d2c2c4
github.com/dgraph-io/ristretto.NewCache.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x2c fp=0x1400079dfd0 sp=0x1400079dfb0 pc=0x100d2ad4c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400079dfd0 sp=0x1400079dfd0 pc=0x1000b9594
created by github.com/dgraph-io/ristretto.NewCache in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x760

goroutine 36 gp=0x1400050c8c0 m=nil [IO wait, 4 minutes]:
runtime.gopark(0x1016973c8, 0x147109550, 0x2, 0x2, 0x5)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000081aa0 sp=0x14000081a70 pc=0x100086f90
runtime.netpollblock(0x147109530, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:573 +0xb8 fp=0x14000081ae0 sp=0x14000081aa0 pc=0x100080548
internal/poll.runtime_pollWait(0x147109530, 0x72)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:345 +0x44 fp=0x14000081b00 sp=0x14000081ae0 pc=0x1000b3404
internal/poll.(*pollDesc).wait(0x1400121c020, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:84 +0x80 fp=0x14000081b50 sp=0x14000081b00 pc=0x100162ca0
internal/poll.(*pollDesc).waitRead(0x1400121c020, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:89 +0x34 fp=0x14000081ba0 sp=0x14000081b50 pc=0x100162d24
internal/poll.(*FD).Read(0x1400121c000, {0x14001206131, 0x1, 0x1})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_unix.go:164 +0x324 fp=0x14000081d10 sp=0x14000081ba0 pc=0x1001645b4
net.(*netFD).Read(0x1400121c000, {0x14001206131, 0x1, 0x1})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/fd_posix.go:55 +0x54 fp=0x14000081da0 sp=0x14000081d10 pc=0x100231224
net.(*conn).Read(0x140000ce080, {0x14001206131, 0x1, 0x1})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/net.go:179 +0x6c fp=0x14000081e50 sp=0x14000081da0 pc=0x10024dbbc
net.(*TCPConn).Read(0x140000ce080, {0x14001206131, 0x1, 0x1})
        <autogenerated>:1 +0x58 fp=0x14000081ed0 sp=0x14000081e50 pc=0x10026c848
net/http.(*connReader).backgroundRead(0x14001206120)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:681 +0x74 fp=0x14000081fb0 sp=0x14000081ed0 pc=0x1006a74e4
net/http.(*connReader).startBackgroundRead.gowrap2()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:677 +0x2c fp=0x14000081fd0 sp=0x14000081fb0 pc=0x1006a73dc
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000081fd0 sp=0x14000081fd0 pc=0x1000b9594
created by net/http.(*connReader).startBackgroundRead in goroutine 51
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:677 +0x178

goroutine 16 gp=0x1400050da40 m=nil [select, 4 minutes]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400046b540 sp=0x1400046b510 pc=0x100086f90
runtime.selectgo(0x1400046b718, 0x1400046b6d0, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x1400046b690 sp=0x1400046b540 pc=0x100097c88
github.com/attestantio/go-eth2-client/http.(*Service).periodicClearStaticValues.func1(0x140006bc000, {0x1016a8180, 0x140011d7200})
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:187 +0x12c fp=0x1400046b780 sp=0x1400046b690 pc=0x1009c359c
github.com/attestantio/go-eth2-client/http.(*Service).periodicClearStaticValues.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:194 +0x50 fp=0x1400046b7d0 sp=0x1400046b780 pc=0x1009b0250
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400046b7d0 sp=0x1400046b7d0 pc=0x1000b9594
created by github.com/attestantio/go-eth2-client/http.(*Service).periodicClearStaticValues in goroutine 51
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:182 +0x11c

goroutine 54 gp=0x14000584540 m=nil [IO wait]:
runtime.gopark(0x1016973c8, 0x147109648, 0x2, 0x2, 0x5)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000644b80 sp=0x14000644b50 pc=0x100086f90
runtime.netpollblock(0x147109628, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:573 +0xb8 fp=0x14000644bc0 sp=0x14000644b80 pc=0x100080548
internal/poll.runtime_pollWait(0x147109628, 0x72)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:345 +0x44 fp=0x14000644be0 sp=0x14000644bc0 pc=0x1000b3404
internal/poll.(*pollDesc).wait(0x1400068c120, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:84 +0x80 fp=0x14000644c30 sp=0x14000644be0 pc=0x100162ca0
internal/poll.(*pollDesc).waitRead(0x1400068c120, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:89 +0x34 fp=0x14000644c80 sp=0x14000644c30 pc=0x100162d24
internal/poll.(*FD).Read(0x1400068c100, {0x14000d9e000, 0xa000, 0xa000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_unix.go:164 +0x324 fp=0x14000644df0 sp=0x14000644c80 pc=0x1001645b4
net.(*netFD).Read(0x1400068c100, {0x14000d9e000, 0xa000, 0xa000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/fd_posix.go:55 +0x54 fp=0x14000644e80 sp=0x14000644df0 pc=0x100231224
net.(*conn).Read(0x140000ce288, {0x14000d9e000, 0xa000, 0xa000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/net.go:179 +0x6c fp=0x14000644f30 sp=0x14000644e80 pc=0x10024dbbc
net.(*TCPConn).Read(0x140000ce288, {0x14000d9e000, 0xa000, 0xa000})
        <autogenerated>:1 +0x58 fp=0x14000644fb0 sp=0x14000644f30 pc=0x10026c848
crypto/tls.(*atLeastReader).Read(0x140000d8af8, {0x14000d9e000, 0xa000, 0xa000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:806 +0xa4 fp=0x14000645050 sp=0x14000644fb0 pc=0x1005a1074
bytes.(*Buffer).ReadFrom(0x1400120a9b0, {0x10169ec40, 0x140000d8af8})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/bytes/buffer.go:211 +0xfc fp=0x14000645120 sp=0x14000645050 pc=0x1001aa34c
crypto/tls.(*Conn).readFromUntil(0x1400120a708, {0x14719f898, 0x140000ce288}, 0x5)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:828 +0x134 fp=0x140006451e0 sp=0x14000645120 pc=0x1005a1364
crypto/tls.(*Conn).readRecordOrCCS(0x1400120a708, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:626 +0x1cc fp=0x14000645640 sp=0x140006451e0 pc=0x10059f83c
crypto/tls.(*Conn).readRecord(0x1400120a708)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:588 +0x2c fp=0x14000645680 sp=0x14000645640 pc=0x10059f5dc
crypto/tls.(*Conn).Read(0x1400120a708, {0x14001252000, 0x1000, 0x1000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:1370 +0x180 fp=0x14000645830 sp=0x14000645680 pc=0x1005a4f70
net/http.(*persistConn).Read(0x140006867e0, {0x14001252000, 0x1000, 0x1000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1977 +0x18c fp=0x140006458f0 sp=0x14000645830 pc=0x1006d3c5c
bufio.(*Reader).fill(0x14000271da0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/bufio/bufio.go:110 +0x220 fp=0x140006459f0 sp=0x140006458f0 pc=0x1005e7fb0
bufio.(*Reader).Peek(0x14000271da0, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/bufio/bufio.go:148 +0x150 fp=0x14000645a80 sp=0x140006459f0 pc=0x1005e8360
net/http.(*persistConn).readLoop(0x140006867e0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:2141 +0x2bc fp=0x14000645fb0 sp=0x14000645a80 pc=0x1006d4c1c
net/http.(*Transport).dialConn.gowrap2()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1799 +0x2c fp=0x14000645fd0 sp=0x14000645fb0 pc=0x1006d29bc
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000645fd0 sp=0x14000645fd0 pc=0x1000b9594
created by net/http.(*Transport).dialConn in goroutine 37
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1799 +0x22e4

goroutine 55 gp=0x14000219880 m=nil [select]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000641ca0 sp=0x14000641c70 pc=0x100086f90
runtime.selectgo(0x14000641f10, 0x14000641e30, 0x14001216340?, 0x0, 0x14001206330?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000641df0 sp=0x14000641ca0 pc=0x100097c88
net/http.(*persistConn).writeLoop(0x140006867e0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:2444 +0x124 fp=0x14000641fb0 sp=0x14000641df0 pc=0x1006d7354
net/http.(*Transport).dialConn.gowrap3()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1800 +0x2c fp=0x14000641fd0 sp=0x14000641fb0 pc=0x1006d295c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000641fd0 sp=0x14000641fd0 pc=0x1000b9594
created by net/http.(*Transport).dialConn in goroutine 37
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1800 +0x2348

goroutine 66 gp=0x1400050dc00 m=nil [select, 4 minutes]:
runtime.gopark(0x101697450, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000470540 sp=0x14000470510 pc=0x100086f90
runtime.selectgo(0x14000470718, 0x140004706d0, 0x0?, 0x0, 0x140004706d8?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000470690 sp=0x14000470540 pc=0x100097c88
github.com/attestantio/go-eth2-client/http.(*Service).periodicUpdateConnectionState.func1(0x140006bc000, {0x1016a8180, 0x140011d7200})
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:169 +0x12c fp=0x14000470780 sp=0x14000470690 pc=0x1009c378c
github.com/attestantio/go-eth2-client/http.(*Service).periodicUpdateConnectionState.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:176 +0x50 fp=0x140004707d0 sp=0x14000470780 pc=0x1009b0070
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140004707d0 sp=0x140004707d0 pc=0x1000b9594
created by github.com/attestantio/go-eth2-client/http.(*Service).periodicUpdateConnectionState in goroutine 51
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:164 +0x11c

goroutine 67 gp=0x1400050ddc0 m=nil [chan receive (nil chan), 4 minutes]:
runtime.gopark(0x0, 0x0, 0x3, 0x1, 0x2)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000470ea0 sp=0x14000470e70 pc=0x100086f90
runtime.chanrecv(0x0?, 0x0?, 0x0?)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/chan.go:469 +0x408 fp=0x14000470f20 sp=0x14000470ea0 pc=0x10004e028
runtime.chanrecv1(0x140011d7200?, 0x0?)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/chan.go:442 +0x14 fp=0x14000470f50 sp=0x14000470f20 pc=0x10004dbe4
github.com/attestantio/go-eth2-client/http.New.func1(0x140006bc000)
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:154 +0x54 fp=0x14000470fa0 sp=0x14000470f50 pc=0x1009afe84
github.com/attestantio/go-eth2-client/http.New.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:157 +0x3c fp=0x14000470fd0 sp=0x14000470fa0 pc=0x1009afdfc
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000470fd0 sp=0x14000470fd0 pc=0x1000b9594
created by github.com/attestantio/go-eth2-client/http.New in goroutine 51
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:153 +0xe68

r0      0x140100ba2a0
r1      0x101da32b0
r2      0x17562ae88
r3      0x200
r4      0x3540
r5      0x140100ba240
r6      0x60
r7      0x1400119a120
r8      0x0
r9      0x140009fab48
r10     0x90
r11     0x3232626262386131
r12     0x3630393564333535
r13     0x17562aef0
r14     0x3431636631363666
r15     0x3261356261656165
r16     0x140009f63a0
r17     0x140009faa70
r18     0x0
r19     0x17562ac28
r20     0x101da2b40
r21     0x17562ae88
r22     0x140100ba2a0
r23     0x200
r24     0x0
r25     0x17562ae87
r26     0x140100ba240
r27     0x810
r28     0x14000468fc0
r29     0x17562ae70
lr      0x100efd820
sp      0x17562ad20
pc      0x0
fault   0x0
Exiting.

Debugger finished with the exit code 0

What did you expect to see?

CGO wrapper which is decoding certificate should work along with gin framework in concurrent manner.

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label May 14, 2024
@tech-sumit
Copy link
Author

I tried removing gin and running a webserver using net/http. still the same error is ocurring. following is the stacktrace.

SIGSEGV: segmentation violation
PC=0x0 m=4 sigcode=2 addr=0x0
signal arrived during cgo execution

goroutine 82 gp=0x1400025b180 m=4 mp=0x14000071b08 [syscall]:
runtime.cgocall(0x1016e3a30, 0x14000342fa8)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/cgocall.go:157 +0x44 fp=0x14000342f70 sp=0x14000342f30 pc=0x100a0b084
github.com/herumi/bls-eth-go-binary/bls._Cfunc_blsPublicKeyDeserialize(0x1401e418240, 0x14001096120, 0x30)
        _cgo_gotypes.go:533 +0x34 fp=0x14000342fa0 sp=0x14000342f70 pc=0x100c508c4
github.com/herumi/bls-eth-go-binary/bls.(*PublicKey).Deserialize.func1(0x1401e418240, {0x14001096120, 0x30, 0x60})
        /Users/sumit/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.35.0/bls/bls.go:397 +0x8c fp=0x14000343010 sp=0x14000342fa0 pc=0x100c54d3c
github.com/herumi/bls-eth-go-binary/bls.(*PublicKey).Deserialize(0x1401e418240, {0x14001096120, 0x30, 0x60})
        /Users/sumit/go/pkg/mod/github.com/herumi/bls-eth-go-binary@v1.35.0/bls/bls.go:397 +0x44 fp=0x140003430c0 sp=0x14000343010 pc=0x100c54b74
github.com/wealdtech/go-eth2-types/v2.BLSPublicKeyFromBytes({0x14001096120, 0x30, 0x60})
        /Users/sumit/go/pkg/mod/github.com/wealdtech/go-eth2-types/v2@v2.8.2/blspublickey.go:40 +0x140 fp=0x14000343190 sp=0x140003430c0 pc=0x100c9fec0
github.com/wealdtech/go-eth2-wallet-nd/v2.(*account).UnmarshalJSON(0x1401e410680, {0x1401e416afd, 0x2c7, 0x2c9})
        /Users/sumit/go/pkg/mod/github.com/wealdtech/go-eth2-wallet-nd/v2@v2.5.0/account_json.go:92 +0x768 fp=0x140003435a0 sp=0x14000343190 pc=0x100e76098
encoding/json.(*decodeState).object(0x140001b67e0, {0x101e22660, 0x14000800068, 0x196})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:604 +0x184 fp=0x14000343b80 sp=0x140003435a0 pc=0x100b6d5d4
encoding/json.(*decodeState).value(0x140001b67e0, {0x101e22660, 0x14000800068, 0x196})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:374 +0x164 fp=0x14000343c50 sp=0x14000343b80 pc=0x100b6c104
encoding/json.(*decodeState).array(0x140001b67e0, {0x101cf3980, 0x1401e40a028, 0x197})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:555 +0x650 fp=0x14000343e30 sp=0x14000343c50 pc=0x100b6d180
encoding/json.(*decodeState).value(0x140001b67e0, {0x101cf3980, 0x1401e40a028, 0x197})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:364 +0x1e4 fp=0x14000343f00 sp=0x14000343e30 pc=0x100b6c184
encoding/json.(*decodeState).object(0x140001b67e0, {0x101d9fea0, 0x1401e40a020, 0x199})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:755 +0xed4 fp=0x140003444e0 sp=0x14000343f00 pc=0x100b6e324
encoding/json.(*decodeState).value(0x140001b67e0, {0x101ce0200, 0x1401e40a020, 0x16})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:374 +0x164 fp=0x140003445b0 sp=0x140003444e0 pc=0x100b6c104
encoding/json.(*decodeState).unmarshal(0x140001b67e0, {0x101ce0200, 0x1401e40a020})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:181 +0x148 fp=0x14000344660 sp=0x140003445b0 pc=0x100b6b108
encoding/json.Unmarshal({0x1401e416a80, 0x346, 0x346}, {0x101ce0200, 0x1401e40a020})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/encoding/json/decode.go:108 +0xec fp=0x140003446d0 sp=0x14000344660 pc=0x100b6aa7c
github.com/wealdtech/go-eth2-wallet-nd/v2.Import({0x101e83b20, 0x140001fe6e0}, {0x14000126c00, 0x397, 0x397}, {0x140010ae208, 0x8, 0x8}, {0x101e87788, 0x140006fc070}, ...)
        /Users/sumit/go/pkg/mod/github.com/wealdtech/go-eth2-wallet-nd/v2@v2.5.0/wallet.go:379 +0x26c fp=0x14000344970 sp=0x140003446d0 pc=0x100e7bbfc
github.com/wealdtech/ethdo/util.parseAccountFromKeystore({0x101e83b20, 0x140001fe6e0}, {0x1400033cf00, 0x483}, {0x140002f7c90, 0x1, 0x1}, 0x1)
        /Users/sumit/go/pkg/mod/github.com/wealdtech/ethdo@v1.35.2/util/account.go:209 +0x540 fp=0x14000344c90 sp=0x14000344970 pc=0x1016ce670
github.com/wealdtech/ethdo/util.ParseAccount({0x101e83b20, 0x140001fe6e0}, {0x1400033cf00, 0x483}, {0x140002f7c90, 0x1, 0x1}, 0x1)
        /Users/sumit/go/pkg/mod/github.com/wealdtech/ethdo@v1.35.2/util/account.go:49 +0x198 fp=0x14000344ed0 sp=0x14000344c90 pc=0x1016cd258
exit.(*Command).generateOperationFromValidator(0x1400091f900, {0x101e83b20, 0x140001fe6e0})
        /Users/sumit/CODE/luganodes/exit/process.go:263 +0x84 fp=0x14000344fc0 sp=0x14000344ed0 pc=0x1016de2e4
exit.(*Command).obtainOperations(0x1400091f900, {0x101e83b20, 0x140001fe6e0})
        /Users/sumit/CODE/luganodes/exit/process.go:128 +0x324 fp=0x14000345080 sp=0x14000344fc0 pc=0x1016dcdf4
exit.(*Command).Process(0x1400091f900, {0x101e83b20, 0x140001fe6e0})
        /Users/sumit/CODE/luganodes/exit/process.go:72 +0x11c fp=0x140003451a0 sp=0x14000345080 pc=0x1016dc86c
main.handleValidatorExit({0x101e808e8, 0x1400022ca80}, 0x140010e2a20)
        /Users/sumit/CODE/luganodes/exit/cmd/main.go:32 +0x5b4 fp=0x14000345520 sp=0x140003451a0 pc=0x1016e2bc4
net/http.HandlerFunc.ServeHTTP(0x101e745e8, {0x101e808e8, 0x1400022ca80}, 0x140010e2a20)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:2166 +0x40 fp=0x14000345550 sp=0x14000345520 pc=0x10105cde0
net/http.(*ServeMux).ServeHTTP(0x10257e820, {0x101e808e8, 0x1400022ca80}, 0x140010e2a20)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:2683 +0x29c fp=0x14000345650 sp=0x14000345550 pc=0x10105f67c
net/http.serverHandler.ServeHTTP({0x140012f8000}, {0x101e808e8, 0x1400022ca80}, 0x140010e2a20)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3137 +0x2b0 fp=0x140003456a0 sp=0x14000345650 pc=0x101061330
net/http.(*conn).serve(0x140001ca000, {0x101e83b20, 0x1400109aa50})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:2039 +0x15f8 fp=0x14000345f90 sp=0x140003456a0 pc=0x10105bd28
net/http.(*Server).Serve.gowrap3()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3285 +0x40 fp=0x14000345fd0 sp=0x14000345f90 pc=0x101061f00
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000345fd0 sp=0x14000345fd0 pc=0x100a78084
created by net/http.(*Server).Serve in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3285 +0x88c

goroutine 1 gp=0x14000002380 m=nil [IO wait]:
runtime.gopark(0x101e74df8, 0x109831f40, 0x2, 0x2, 0x5)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000419430 sp=0x14000419400 pc=0x100a45da0
runtime.netpollblock(0x109831f20, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:573 +0xb8 fp=0x14000419470 sp=0x14000419430 pc=0x100a3f358
internal/poll.runtime_pollWait(0x109831f20, 0x72)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:345 +0x44 fp=0x14000419490 sp=0x14000419470 pc=0x100a72214
internal/poll.(*pollDesc).wait(0x140002fdc20, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:84 +0x80 fp=0x140004194e0 sp=0x14000419490 pc=0x100b23d80
internal/poll.(*pollDesc).waitRead(0x140002fdc20, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:89 +0x34 fp=0x14000419530 sp=0x140004194e0 pc=0x100b23e04
internal/poll.(*FD).Accept(0x140002fdc00)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_unix.go:611 +0x38c fp=0x140004197a0 sp=0x14000419530 pc=0x100b29acc
net.(*netFD).accept(0x140002fdc00)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/fd_unix.go:172 +0x48 fp=0x14000419940 sp=0x140004197a0 pc=0x100beb3a8
net.(*TCPListener).accept(0x140001f7de0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/tcpsock_posix.go:159 +0x44 fp=0x140004199e0 sp=0x14000419940 pc=0x100c122c4
net.(*TCPListener).Accept(0x140001f7de0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/tcpsock.go:327 +0x4c fp=0x14000419a90 sp=0x140004199e0 pc=0x100c1054c
net/http.(*onceCloseListener).Accept(0x14000fb0e70)
        <autogenerated>:1 +0x50 fp=0x14000419b10 sp=0x14000419a90 pc=0x1010923c0
net/http.(*Server).Serve(0x140012f8000, {0x101e815a8, 0x140001f7de0})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3255 +0x448 fp=0x14000419df0 sp=0x14000419b10 pc=0x101061a18
net/http.(*Server).ListenAndServe(0x140012f8000)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:3184 +0x134 fp=0x14000419eb0 sp=0x14000419df0 pc=0x1010614e4
main.main()
        /Users/sumit/CODE/luganodes/exit/cmd/main.go:60 +0x110 fp=0x14000419f60 sp=0x14000419eb0 pc=0x1016e31a0
runtime.main()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:271 +0x228 fp=0x14000419fd0 sp=0x14000419f60 pc=0x100a45948
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000419fd0 sp=0x14000419fd0 pc=0x100a78084

goroutine 2 gp=0x14000002e00 m=nil [force gc (idle)]:
runtime.gopark(0x101e74e18, 0x102578e00, 0x11, 0xa, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006af70 sp=0x1400006af40 pc=0x100a45da0
runtime.goparkunlock(0x102578e00?, 0x0?, 0x0?, 0x0?)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:408 +0x34 fp=0x1400006afa0 sp=0x1400006af70 pc=0x100a45e34
runtime.forcegchelper()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:326 +0xb4 fp=0x1400006afd0 sp=0x1400006afa0 pc=0x100a45bc4
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006afd0 sp=0x1400006afd0 pc=0x100a78084
created by runtime.init.6 in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:314 +0x24

goroutine 18 gp=0x140000a4380 m=nil [GC sweep wait]:
runtime.gopark(0x101e74e18, 0x102579b20, 0xc, 0x9, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000066740 sp=0x14000066710 pc=0x100a45da0
runtime.goparkunlock(0x102579b20?, 0x0?, 0x0?, 0x0?)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:408 +0x34 fp=0x14000066770 sp=0x14000066740 pc=0x100a45e34
runtime.bgsweep(0x140000b0000)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgcsweep.go:318 +0xdc fp=0x140000667b0 sp=0x14000066770 pc=0x100a2e9ec
runtime.gcenable.gowrap1()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:203 +0x28 fp=0x140000667d0 sp=0x140000667b0 pc=0x100a23358
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000667d0 sp=0x140000667d0 pc=0x100a78084
created by runtime.gcenable in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:203 +0x6c

goroutine 19 gp=0x140000a4540 m=nil [GC scavenge wait]:
runtime.gopark(0x101e74e18, 0x10257e6a0, 0xd, 0xa, 0x2)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000086f20 sp=0x14000086ef0 pc=0x100a45da0
runtime.goparkunlock(0x10257e6a0?, 0x39?, 0x3e?, 0x0?)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:408 +0x34 fp=0x14000086f50 sp=0x14000086f20 pc=0x100a45e34
runtime.(*scavengerState).park(0x10257e6a0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgcscavenge.go:425 +0x4c fp=0x14000086f80 sp=0x14000086f50 pc=0x100a2bffc
runtime.bgscavenge(0x140000b0000)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgcscavenge.go:658 +0x60 fp=0x14000086fb0 sp=0x14000086f80 pc=0x100a2c550
runtime.gcenable.gowrap2()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:204 +0x28 fp=0x14000086fd0 sp=0x14000086fb0 pc=0x100a232f8
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000086fd0 sp=0x14000086fd0 pc=0x100a78084
created by runtime.gcenable in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:204 +0xac

goroutine 34 gp=0x14000106540 m=nil [finalizer wait]:
runtime.gopark(0x101e74b50, 0x1025e5b18, 0x10, 0xa, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006a590 sp=0x1400006a560 pc=0x100a45da0
runtime.runfinq()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mfinal.go:194 +0xf0 fp=0x1400006a7d0 sp=0x1400006a590 pc=0x100a224f0
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006a7d0 sp=0x1400006a7d0 pc=0x100a78084
created by runtime.createfing in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mfinal.go:164 +0x4c

goroutine 35 gp=0x1400025a700 m=nil [GC worker (idle)]:
runtime.gopark(0x101e74b78, 0x1400003c020, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x140003d2720 sp=0x140003d26f0 pc=0x100a45da0
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x140003d27d0 sp=0x140003d2720 pc=0x100a24d78
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140003d27d0 sp=0x140003d27d0 pc=0x100a78084
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 3 gp=0x140000036c0 m=nil [GC worker (idle)]:
runtime.gopark(0x101e74b78, 0x140004c0000, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006b720 sp=0x1400006b6f0 pc=0x100a45da0
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x1400006b7d0 sp=0x1400006b720 pc=0x100a24d78
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006b7d0 sp=0x1400006b7d0 pc=0x100a78084
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 50 gp=0x140004c2000 m=nil [GC worker (idle)]:
runtime.gopark(0x101e74b78, 0x140001427a0, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x140003ce720 sp=0x140003ce6f0 pc=0x100a45da0
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x140003ce7d0 sp=0x140003ce720 pc=0x100a24d78
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140003ce7d0 sp=0x140003ce7d0 pc=0x100a78084
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 4 gp=0x14000003880 m=nil [GC worker (idle)]:
runtime.gopark(0x101e74b78, 0x1400003c040, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000604f20 sp=0x14000604ef0 pc=0x100a45da0
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x14000604fd0 sp=0x14000604f20 pc=0x100a24d78
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000604fd0 sp=0x14000604fd0 pc=0x100a78084
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 5 gp=0x14000003a40 m=nil [GC worker (idle)]:
runtime.gopark(0x101e74b78, 0x1400003c060, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006c720 sp=0x1400006c6f0 pc=0x100a45da0
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x1400006c7d0 sp=0x1400006c720 pc=0x100a24d78
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006c7d0 sp=0x1400006c7d0 pc=0x100a78084
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 6 gp=0x14000003c00 m=nil [GC worker (idle)]:
runtime.gopark(0x101e74b78, 0x1400003c080, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000085f20 sp=0x14000085ef0 pc=0x100a45da0
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x14000085fd0 sp=0x14000085f20 pc=0x100a24d78
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000085fd0 sp=0x14000085fd0 pc=0x100a78084
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 7 gp=0x14000003dc0 m=nil [GC worker (idle)]:
runtime.gopark(0x101e74b78, 0x1400003c0a0, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006d720 sp=0x1400006d6f0 pc=0x100a45da0
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x1400006d7d0 sp=0x1400006d720 pc=0x100a24d78
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006d7d0 sp=0x1400006d7d0 pc=0x100a78084
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 8 gp=0x14000500000 m=nil [GC worker (idle)]:
runtime.gopark(0x101e74b78, 0x140004c0020, 0x1a, 0xa, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400006df20 sp=0x1400006def0 pc=0x100a45da0
runtime.gcBgMarkWorker()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1310 +0xd8 fp=0x1400006dfd0 sp=0x1400006df20 pc=0x100a24d78
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400006dfd0 sp=0x1400006dfd0 pc=0x100a78084
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/mgc.go:1234 +0x28

goroutine 9 gp=0x1400025b500 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000083d70 sp=0x14000083d40 pc=0x100a45da0
runtime.selectgo(0x14000083f48, 0x14000083f00, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000083ec0 sp=0x14000083d70 pc=0x100a56a98
github.com/golang/glog.(*fileSink).flushDaemon(0x10257e418)
        /Users/sumit/go/pkg/mod/github.com/golang/glog@v1.2.1/glog_file.go:351 +0x124 fp=0x14000083fb0 sp=0x14000083ec0 pc=0x1016a67e4
github.com/golang/glog.init.1.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/golang/glog@v1.2.1/glog_file.go:166 +0x2c fp=0x14000083fd0 sp=0x14000083fb0 pc=0x1016a52bc
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000083fd0 sp=0x14000083fd0 pc=0x100a78084
created by github.com/golang/glog.init.1 in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/golang/glog@v1.2.1/glog_file.go:166 +0x1d4

goroutine 10 gp=0x1400025b6c0 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000607d80 sp=0x14000607d50 pc=0x100a45da0
runtime.selectgo(0x14000607f40, 0x14000067710, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000607ed0 sp=0x14000607d80 pc=0x100a56a98
github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0x1400031ce00)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:102 +0x9c fp=0x14000607fb0 sp=0x14000607ed0 pc=0x1016b17cc
github.com/dgraph-io/ristretto.newDefaultPolicy.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x2c fp=0x14000607fd0 sp=0x14000607fb0 pc=0x1016b164c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000607fd0 sp=0x14000607fd0 pc=0x100a78084
created by github.com/dgraph-io/ristretto.newDefaultPolicy in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x1fc

goroutine 11 gp=0x1400025b880 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000602c00 sp=0x14000602bd0 pc=0x100a45da0
runtime.selectgo(0x14000602ee0, 0x14000602d9c, 0x1400031ce00?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000602d50 sp=0x14000602c00 pc=0x100a56a98
github.com/dgraph-io/ristretto.(*Cache).processItems(0x140002fda00)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:452 +0x204 fp=0x14000602fb0 sp=0x14000602d50 pc=0x1016af5b4
github.com/dgraph-io/ristretto.NewCache.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x2c fp=0x14000602fd0 sp=0x14000602fb0 pc=0x1016ae03c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000602fd0 sp=0x14000602fd0 pc=0x100a78084
created by github.com/dgraph-io/ristretto.NewCache in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x760

goroutine 12 gp=0x1400025ba40 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14001092d80 sp=0x14001092d50 pc=0x100a45da0
runtime.selectgo(0x14001092f40, 0x14000068710, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14001092ed0 sp=0x14001092d80 pc=0x100a56a98
github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0x1400031ce80)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:102 +0x9c fp=0x14001092fb0 sp=0x14001092ed0 pc=0x1016b17cc
github.com/dgraph-io/ristretto.newDefaultPolicy.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x2c fp=0x14001092fd0 sp=0x14001092fb0 pc=0x1016b164c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14001092fd0 sp=0x14001092fd0 pc=0x100a78084
created by github.com/dgraph-io/ristretto.newDefaultPolicy in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x1fc

goroutine 13 gp=0x1400025bc00 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400108ec00 sp=0x1400108ebd0 pc=0x100a45da0
runtime.selectgo(0x1400108eee0, 0x1400108ed9c, 0x1400031ce80?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x1400108ed50 sp=0x1400108ec00 pc=0x100a56a98
github.com/dgraph-io/ristretto.(*Cache).processItems(0x140002fda80)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:452 +0x204 fp=0x1400108efb0 sp=0x1400108ed50 pc=0x1016af5b4
github.com/dgraph-io/ristretto.NewCache.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x2c fp=0x1400108efd0 sp=0x1400108efb0 pc=0x1016ae03c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400108efd0 sp=0x1400108efd0 pc=0x100a78084
created by github.com/dgraph-io/ristretto.NewCache in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x760

goroutine 14 gp=0x1400025bdc0 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000069580 sp=0x14000069550 pc=0x100a45da0
runtime.selectgo(0x14000069740, 0x14000069710, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x140000696d0 sp=0x14000069580 pc=0x100a56a98
github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0x1400031cf00)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:102 +0x9c fp=0x140000697b0 sp=0x140000696d0 pc=0x1016b17cc
github.com/dgraph-io/ristretto.newDefaultPolicy.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x2c fp=0x140000697d0 sp=0x140000697b0 pc=0x1016b164c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x140000697d0 sp=0x140000697d0 pc=0x100a78084
created by github.com/dgraph-io/ristretto.newDefaultPolicy in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/policy.go:86 +0x1fc

goroutine 66 gp=0x140000a4a80 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400108fc00 sp=0x1400108fbd0 pc=0x100a45da0
runtime.selectgo(0x1400108fee0, 0x1400108fd9c, 0x1400031cf00?, 0x0, 0x140000686c8?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x1400108fd50 sp=0x1400108fc00 pc=0x100a56a98
github.com/dgraph-io/ristretto.(*Cache).processItems(0x140004c4080)
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:452 +0x204 fp=0x1400108ffb0 sp=0x1400108fd50 pc=0x1016af5b4
github.com/dgraph-io/ristretto.NewCache.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x2c fp=0x1400108ffd0 sp=0x1400108ffb0 pc=0x1016ae03c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400108ffd0 sp=0x1400108ffd0 pc=0x100a78084
created by github.com/dgraph-io/ristretto.NewCache in goroutine 1
        /Users/sumit/go/pkg/mod/github.com/dgraph-io/ristretto@v0.1.1/cache.go:207 +0x760

goroutine 16 gp=0x140000a4e00 m=nil [IO wait]:
runtime.gopark(0x101e74df8, 0x109831d50, 0x2, 0x2, 0x5)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000601aa0 sp=0x14000601a70 pc=0x100a45da0
runtime.netpollblock(0x109831d30, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:573 +0xb8 fp=0x14000601ae0 sp=0x14000601aa0 pc=0x100a3f358
internal/poll.runtime_pollWait(0x109831d30, 0x72)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:345 +0x44 fp=0x14000601b00 sp=0x14000601ae0 pc=0x100a72214
internal/poll.(*pollDesc).wait(0x140001c8020, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:84 +0x80 fp=0x14000601b50 sp=0x14000601b00 pc=0x100b23d80
internal/poll.(*pollDesc).waitRead(0x140001c8020, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:89 +0x34 fp=0x14000601ba0 sp=0x14000601b50 pc=0x100b23e04
internal/poll.(*FD).Read(0x140001c8000, {0x140011800d1, 0x1, 0x1})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_unix.go:164 +0x324 fp=0x14000601d10 sp=0x14000601ba0 pc=0x100b25694
net.(*netFD).Read(0x140001c8000, {0x140011800d1, 0x1, 0x1})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/fd_posix.go:55 +0x54 fp=0x14000601da0 sp=0x14000601d10 pc=0x100be8da4
net.(*conn).Read(0x1400109c118, {0x140011800d1, 0x1, 0x1})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/net.go:179 +0x6c fp=0x14000601e50 sp=0x14000601da0 pc=0x100c03a9c
net.(*TCPConn).Read(0x1400109c118, {0x140011800d1, 0x1, 0x1})
        <autogenerated>:1 +0x58 fp=0x14000601ed0 sp=0x14000601e50 pc=0x100c219e8
net/http.(*connReader).backgroundRead(0x140011800c0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:681 +0x74 fp=0x14000601fb0 sp=0x14000601ed0 pc=0x101052cb4
net/http.(*connReader).startBackgroundRead.gowrap2()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:677 +0x2c fp=0x14000601fd0 sp=0x14000601fb0 pc=0x101052bac
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000601fd0 sp=0x14000601fd0 pc=0x100a78084
created by net/http.(*connReader).startBackgroundRead in goroutine 82
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/server.go:677 +0x178

goroutine 104 gp=0x140004c36c0 m=nil [IO wait]:
runtime.gopark(0x101e74df8, 0x109831e48, 0x2, 0x2, 0x5)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000416b80 sp=0x14000416b50 pc=0x100a45da0
runtime.netpollblock(0x109831e28, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:573 +0xb8 fp=0x14000416bc0 sp=0x14000416b80 pc=0x100a3f358
internal/poll.runtime_pollWait(0x109831e28, 0x72)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/netpoll.go:345 +0x44 fp=0x14000416be0 sp=0x14000416bc0 pc=0x100a72214
internal/poll.(*pollDesc).wait(0x140002fdd20, 0x72, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:84 +0x80 fp=0x14000416c30 sp=0x14000416be0 pc=0x100b23d80
internal/poll.(*pollDesc).waitRead(0x140002fdd20, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_poll_runtime.go:89 +0x34 fp=0x14000416c80 sp=0x14000416c30 pc=0x100b23e04
internal/poll.(*FD).Read(0x140002fdd00, {0x1400062e000, 0xa000, 0xa000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/internal/poll/fd_unix.go:164 +0x324 fp=0x14000416df0 sp=0x14000416c80 pc=0x100b25694
net.(*netFD).Read(0x140002fdd00, {0x1400062e000, 0xa000, 0xa000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/fd_posix.go:55 +0x54 fp=0x14000416e80 sp=0x14000416df0 pc=0x100be8da4
net.(*conn).Read(0x1400011e558, {0x1400062e000, 0xa000, 0xa000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/net.go:179 +0x6c fp=0x14000416f30 sp=0x14000416e80 pc=0x100c03a9c
net.(*TCPConn).Read(0x1400011e558, {0x1400062e000, 0xa000, 0xa000})
        <autogenerated>:1 +0x58 fp=0x14000416fb0 sp=0x14000416f30 pc=0x100c219e8
crypto/tls.(*atLeastReader).Read(0x14000fb2060, {0x1400062e000, 0xa000, 0xa000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:806 +0xa4 fp=0x14000417050 sp=0x14000416fb0 pc=0x100f55d84
bytes.(*Buffer).ReadFrom(0x14001307430, {0x101e7ac80, 0x14000fb2060})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/bytes/buffer.go:211 +0xfc fp=0x14000417120 sp=0x14000417050 pc=0x100b6124c
crypto/tls.(*Conn).readFromUntil(0x14001307188, {0x109832098, 0x1400011e558}, 0x5)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:828 +0x134 fp=0x140004171e0 sp=0x14000417120 pc=0x100f56074
crypto/tls.(*Conn).readRecordOrCCS(0x14001307188, 0x0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:626 +0x1cc fp=0x14000417640 sp=0x140004171e0 pc=0x100f5454c
crypto/tls.(*Conn).readRecord(0x14001307188)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:588 +0x2c fp=0x14000417680 sp=0x14000417640 pc=0x100f542ec
crypto/tls.(*Conn).Read(0x14001307188, {0x140012fb000, 0x1000, 0x1000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/crypto/tls/conn.go:1370 +0x180 fp=0x14000417830 sp=0x14000417680 pc=0x100f59c80
net/http.(*persistConn).Read(0x140010e2fc0, {0x140012fb000, 0x1000, 0x1000})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1977 +0x18c fp=0x140004178f0 sp=0x14000417830 pc=0x10107e98c
bufio.(*Reader).fill(0x14001095320)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/bufio/bufio.go:110 +0x220 fp=0x140004179f0 sp=0x140004178f0 pc=0x100f9cb40
bufio.(*Reader).Peek(0x14001095320, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/bufio/bufio.go:148 +0x150 fp=0x14000417a80 sp=0x140004179f0 pc=0x100f9cef0
net/http.(*persistConn).readLoop(0x140010e2fc0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:2141 +0x2bc fp=0x14000417fb0 sp=0x14000417a80 pc=0x10107f94c
net/http.(*Transport).dialConn.gowrap2()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1799 +0x2c fp=0x14000417fd0 sp=0x14000417fb0 pc=0x10107d6ec
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000417fd0 sp=0x14000417fd0 pc=0x100a78084
created by net/http.(*Transport).dialConn in goroutine 98
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1799 +0x22e4

goroutine 105 gp=0x140004c3880 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000415ca0 sp=0x14000415c70 pc=0x100a45da0
runtime.selectgo(0x14000415f10, 0x14000415e30, 0x1400031db40?, 0x0, 0x1400039e210?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x14000415df0 sp=0x14000415ca0 pc=0x100a56a98
net/http.(*persistConn).writeLoop(0x140010e2fc0)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:2444 +0x124 fp=0x14000415fb0 sp=0x14000415df0 pc=0x101082084
net/http.(*Transport).dialConn.gowrap3()
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1800 +0x2c fp=0x14000415fd0 sp=0x14000415fb0 pc=0x10107d68c
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000415fd0 sp=0x14000415fd0 pc=0x100a78084
created by net/http.(*Transport).dialConn in goroutine 98
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/net/http/transport.go:1800 +0x2348

goroutine 36 gp=0x14000500540 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400034c540 sp=0x1400034c510 pc=0x100a45da0
runtime.selectgo(0x1400034c718, 0x1400034c6d0, 0x0?, 0x0, 0x0?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x1400034c690 sp=0x1400034c540 pc=0x100a56a98
github.com/attestantio/go-eth2-client/http.(*Service).periodicClearStaticValues.func1(0x14001300680, {0x101e83b20, 0x140001fe6e0})
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:187 +0x12c fp=0x1400034c780 sp=0x1400034c690 pc=0x10136828c
github.com/attestantio/go-eth2-client/http.(*Service).periodicClearStaticValues.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:194 +0x50 fp=0x1400034c7d0 sp=0x1400034c780 pc=0x101354f40
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400034c7d0 sp=0x1400034c7d0 pc=0x100a78084
created by github.com/attestantio/go-eth2-client/http.(*Service).periodicClearStaticValues in goroutine 82
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:182 +0x11c

goroutine 37 gp=0x14000500700 m=nil [select]:
runtime.gopark(0x101e74e80, 0x0, 0x9, 0x3, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x1400034bd40 sp=0x1400034bd10 pc=0x100a45da0
runtime.selectgo(0x1400034bf18, 0x1400034bed0, 0x1400034be98?, 0x0, 0x140001fec48?, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/select.go:327 +0x788 fp=0x1400034be90 sp=0x1400034bd40 pc=0x100a56a98
github.com/attestantio/go-eth2-client/http.(*Service).periodicUpdateConnectionState.func1(0x14001300680, {0x101e83b20, 0x140001fe6e0})
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:169 +0x12c fp=0x1400034bf80 sp=0x1400034be90 pc=0x10136847c
github.com/attestantio/go-eth2-client/http.(*Service).periodicUpdateConnectionState.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:176 +0x50 fp=0x1400034bfd0 sp=0x1400034bf80 pc=0x101354d60
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x1400034bfd0 sp=0x1400034bfd0 pc=0x100a78084
created by github.com/attestantio/go-eth2-client/http.(*Service).periodicUpdateConnectionState in goroutine 82
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:164 +0x11c

goroutine 38 gp=0x140005008c0 m=nil [chan receive]:
runtime.gopark(0x101e74af8, 0x14000100ad8, 0xe, 0x7, 0x2)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/proc.go:402 +0xe0 fp=0x14000347ea0 sp=0x14000347e70 pc=0x100a45da0
runtime.chanrecv(0x14000100a80, 0x0, 0x1)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/chan.go:583 +0x26c fp=0x14000347f20 sp=0x14000347ea0 pc=0x100a0d01c
runtime.chanrecv1(0x140001fe6e0?, 0x140000fd420?)
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/chan.go:442 +0x14 fp=0x14000347f50 sp=0x14000347f20 pc=0x100a0cd74
github.com/attestantio/go-eth2-client/http.New.func1(0x14001300680)
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:154 +0x54 fp=0x14000347fa0 sp=0x14000347f50 pc=0x101354b74
github.com/attestantio/go-eth2-client/http.New.gowrap1()
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:157 +0x3c fp=0x14000347fd0 sp=0x14000347fa0 pc=0x101354aec
runtime.goexit({})
        /Users/sumit/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.darwin-arm64/src/runtime/asm_arm64.s:1222 +0x4 fp=0x14000347fd0 sp=0x14000347fd0 pc=0x100a78084
created by github.com/attestantio/go-eth2-client/http.New in goroutine 82
        /Users/sumit/go/pkg/mod/github.com/attestantio/go-eth2-client@v0.21.4/http/service.go:153 +0xe68

r0      0x1401e4182a0
r1      0x1024c88f0
r2      0x170c12e88
r3      0x200
r4      0x30e0
r5      0x1401e418240
r6      0x60
r7      0x14001096120
r8      0x0
r9      0x14000342fa8
r10     0x90
r11     0x20000000202
r12     0x0
r13     0x170c12ef0
r14     0x100
r15     0x0
r16     0x1400033e3a0
r17     0x14000342ed0
r18     0x0
r19     0x170c12c28
r20     0x1024c8180
r21     0x170c12e88
r22     0x1401e4182a0
r23     0x200
r24     0x0
r25     0x170c12e87
r26     0x1401e418240
r27     0x810
r28     0x14000003500
r29     0x170c12e70
lr      0x1017307e0
sp      0x170c12d20
pc      0x0
fault   0x0
Exiting.

@ianlancetaylor
Copy link
Contributor

The panic message is telling you that a signal occurred while executing C code. It looks like a dereference of a NULL pointer or a call to a NULL function pointer. Can you run the program under a C debugger? That may show you where the C code is crashing.

It is possible that you can get a stack trace of the C code if you import the package "github.com/ianlancetaylor/cgosymbolizer" somewhere. But that package doesn't always work and it is mainly tested on Linux, so it may not help in your case.

@ianlancetaylor ianlancetaylor added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label May 14, 2024
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. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
Status: No status
Development

No branches or pull requests

3 participants