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

Graceful shutdown bug. "WaitGroup is reused before previous Wait has returned" #8678

Closed
AskAlexSharov opened this issue Nov 8, 2023 · 1 comment
Assignees

Comments

@AskAlexSharov
Copy link
Collaborator

panic: sync: WaitGroup is reused before previous Wait has returned

goroutine 3664371 [running]:
sync.(*WaitGroup).Wait(0x3?)
        sync/waitgroup.go:118 +0x7f
github.com/ledgerwatch/erigon-lib/kv/mdbx.(*MdbxKV).Close(0xc00172ec00?)
        github.com/ledgerwatch/[email protected]/kv/mdbx/kv_mdbx.go:492 +0x45
github.com/ledgerwatch/erigon/p2p/enode.(*DB).Close(0xc002a85320)
        github.com/ledgerwatch/erigon/p2p/enode/nodedb.go:615 +0x65
github.com/ledgerwatch/erigon/p2p.(*Server).Stop(0xc001730300)
        github.com/ledgerwatch/erigon/p2p/server.go:451 +0xed
github.com/ledgerwatch/erigon/p2p/sentry.(*GrpcServer).Close(...)
        github.com/ledgerwatch/erigon/p2p/sentry/sentry_grpc_server.go:1209
github.com/ledgerwatch/erigon/eth.(*Ethereum).Stop(0xc000973340)
        github.com/ledgerwatch/erigon/eth/backend.go:1356 +0x237
github.com/ledgerwatch/erigon/node.(*Node).stopServices(0xc000076278?, {0xc0017ec890, 0x1, 0xc002f2f770?})
        github.com/ledgerwatch/erigon/node/node.go:216 +0xb2
github.com/ledgerwatch/erigon/node.(*Node).Close(0xc000d99b20)
        github.com/ledgerwatch/erigon/node/node.go:159 +0x18b
created by github.com/ledgerwatch/erigon/turbo/debug.ListenSignals
        github.com/ledgerwatch/erigon/turbo/debug/signal.go:29 +0x273
@battlmonstr
Copy link
Contributor

fixed by #9240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants