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

make workers field atomic #13851

Open
AskAlexSharov opened this issue Feb 18, 2025 · 0 comments
Open

make workers field atomic #13851

AskAlexSharov opened this issue Feb 18, 2025 · 0 comments
Assignees

Comments

@AskAlexSharov
Copy link
Collaborator


==================
Write at 0x00c0495a9a58 by goroutine 18408854:
  github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks.(*BlockRetire).SetWorkers()
      /home/ubuntu/erigon/turbo/snapshotsync/freezeblocks/block_snapshots.go:201 +0x37
  github.com/erigontech/erigon/eth/stagedsync.SnapshotsPrune()
      /home/ubuntu/erigon/eth/stagedsync/stage_snapshots.go:589 +0x3a7
  github.com/erigontech/erigon/eth/stagedsync.PipelineStages.func3()
      /home/ubuntu/erigon/eth/stagedsync/default_stages.go:205 +0x13b
  github.com/erigontech/erigon/eth/stagedsync.(*Sync).pruneStage()
      /home/ubuntu/erigon/eth/stagedsync/sync.go:593 +0x327
  github.com/erigontech/erigon/eth/stagedsync.(*Sync).RunPrune()
      /home/ubuntu/erigon/eth/stagedsync/sync.go:462 +0x2ac
  github.com/erigontech/erigon/turbo/execution/eth1.(*EthereumExecutionModule).runPostForkchoiceInBackground.func1.1()
      /home/ubuntu/erigon/turbo/execution/eth1/forkchoice.go:569 +0xb8
  github.com/erigontech/erigon-lib/kv/temporal.(*DB).Update()
      /home/ubuntu/erigon/erigon-lib/kv/temporal/kv_temporal.go:124 +0x18e
  github.com/erigontech/erigon/turbo/execution/eth1.(*EthereumExecutionModule).runPostForkchoiceInBackground.func1()
      /home/ubuntu/erigon/turbo/execution/eth1/forkchoice.go:568 +0x325

Previous read at 0x00c0495a9a58 by goroutine 18408728:
  github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks.(*BlockRetire).retireBlocks()
      /home/ubuntu/erigon/turbo/snapshotsync/freezeblocks/block_snapshots.go:269 +0x1be
  github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks.(*BlockRetire).RetireBlocks()
      /home/ubuntu/erigon/turbo/snapshotsync/freezeblocks/block_snapshots.go:439 +0x24a
  github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks.(*BlockRetire).RetireBlocksInBackground.func1()
      /home/ubuntu/erigon/turbo/snapshotsync/freezeblocks/block_snapshots.go:398 +0x377

Goroutine 18408854 (running) created at:
  github.com/erigontech/erigon/turbo/execution/eth1.(*EthereumExecutionModule).runPostForkchoiceInBackground()
      /home/ubuntu/erigon/turbo/execution/eth1/forkchoice.go:560 +0xd6
  github.com/erigontech/erigon/turbo/execution/eth1.(*EthereumExecutionModule).updateForkChoice()
      /home/ubuntu/erigon/turbo/execution/eth1/forkchoice.go:546 +0x492a
  github.com/erigontech/erigon/turbo/execution/eth1.(*EthereumExecutionModule).UpdateForkChoice.gowrap1()
      /home/ubuntu/erigon/turbo/execution/eth1/forkchoice.go:130 +0x133

Goroutine 18408728 (running) created at:
  github.com/erigontech/erigon/turbo/snapshotsync/freezeblocks.(*BlockRetire).RetireBlocksInBackground()
      /home/ubuntu/erigon/turbo/snapshotsync/freezeblocks/block_snapshots.go:386 +0x250
  github.com/erigontech/erigon/eth/stagedsync.SnapshotsPrune()
      /home/ubuntu/erigon/eth/stagedsync/stage_snapshots.go:592 +0x6f8
  github.com/erigontech/erigon/eth/stagedsync.PipelineStages.func3()
      /home/ubuntu/erigon/eth/stagedsync/default_stages.go:205 +0x13b
  github.com/erigontech/erigon/eth/stagedsync.(*Sync).pruneStage()
      /home/ubuntu/erigon/eth/stagedsync/sync.go:593 +0x327
  github.com/erigontech/erigon/eth/stagedsync.(*Sync).RunPrune()
      /home/ubuntu/erigon/eth/stagedsync/sync.go:462 +0x2ac
  github.com/erigontech/erigon/turbo/execution/eth1.(*EthereumExecutionModule).runPostForkchoiceInBackground.func1.1()
      /home/ubuntu/erigon/turbo/execution/eth1/forkchoice.go:569 +0xb8
  github.com/erigontech/erigon-lib/kv/temporal.(*DB).Update()
      /home/ubuntu/erigon/erigon-lib/kv/temporal/kv_temporal.go:124 +0x18e
  github.com/erigontech/erigon/turbo/execution/eth1.(*EthereumExecutionModule).runPostForkchoiceInBackground.func1()
      /home/ubuntu/erigon/turbo/execution/eth1/forkchoice.go:568 +0x325
==================
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