Skip to content

caplin: race dump #13229

Closed
Closed
@AskAlexSharov

Description

==================
WARNING: DATA RACE
Write at 0x00c12dd6c1b0 by goroutine 57967903:
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).DumpBeaconStateOnDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk_fs.go:115 +0x127
  github.com/erigontech/erigon/cl/phase1/forkchoice.(*ForkChoiceStore).DumpBeaconStateOnDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/forkchoice.go:552 +0x123
  github.com/erigontech/erigon/cl/phase1/stages.postForkchoiceOperations.func2()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:325 +0xaa
  github.com/erigontech/erigon/cl/beacon/synced_data.(*SyncedDataManager).ViewHeadState()
      /home/ubuntu/erigon/cl/beacon/synced_data/synced_data.go:109 +0x2bd
  github.com/erigontech/erigon/cl/phase1/stages.postForkchoiceOperations()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:323 +0xaad
  github.com/erigontech/erigon/cl/phase1/stages.doForkchoiceRoutine()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:365 +0x4fc
  github.com/erigontech/erigon/cl/clstages.(*StageGraph[go.shape.*uint8,go.shape.struct { github.com/erigontech/erigon/cl/phase1/stages.peers uint64; github.com/erigontech/erigon/cl/phase1/stages.targetEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.seenEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.targetSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.seenSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.hasDownloaded bool }]).StartWithStage.func1()
      /home/ubuntu/erigon/cl/clstages/clstages.go:54 +0x114

Previous write at 0x00c12dd6c1b0 by goroutine 57968821:
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).readBeaconStateFromDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk_fs.go:74 +0xb24
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).getState()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk.go:381 +0x34c
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).AddChainSegment()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk.go:201 +0x2fb
  github.com/erigontech/erigon/cl/phase1/forkchoice.(*ForkChoiceStore).ProcessBlockConsensus()
      /home/ubuntu/erigon/cl/phase1/forkchoice/on_block.go:146 +0x123
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).processAndStoreBlock.func2()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:211 +0x77
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      /home/ubuntu/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x91

Goroutine 57967903 (running) created at:
  github.com/erigontech/erigon/cl/clstages.(*StageGraph[go.shape.*uint8,go.shape.struct { github.com/erigontech/erigon/cl/phase1/stages.peers uint64; github.com/erigontech/erigon/cl/phase1/stages.targetEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.seenEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.targetSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.seenSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.hasDownloaded bool }]).StartWithStage()
      /home/ubuntu/erigon/cl/clstages/clstages.go:50 +0x644
  github.com/erigontech/erigon/cmd/caplin/caplin1.RunCaplinService()
      /home/ubuntu/erigon/cmd/caplin/caplin1/run.go:484 +0x5f9e
  github.com/erigontech/erigon/eth.New.func14()
      /home/ubuntu/erigon/eth/backend.go:991 +0x3ce

Goroutine 57968821 (running) created at:
  golang.org/x/sync/errgroup.(*Group).Go()
      /home/ubuntu/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x124
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).processAndStoreBlock()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:210 +0x2b3
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).ProcessMessage()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:161 +0x649
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).routeAndProcess()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:184 +0x75e
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).onRecv()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:128 +0x384
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).Start.func1.1()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:314 +0x19a
==================
==================
WARNING: DATA RACE
Read at 0x00c1b9b42000 by goroutine 57967903:
  runtime.slicecopy()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/runtime/slice.go:325 +0x0
  github.com/golang/snappy.(*Writer).Write()
      /home/ubuntu/go/pkg/mod/github.com/golang/snappy@v0.0.5-0.20220116011046-fa5810519dcb/encode.go:195 +0x266
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).DumpBeaconStateOnDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk_fs.go:146 +0xbca
  github.com/erigontech/erigon/cl/phase1/forkchoice.(*ForkChoiceStore).DumpBeaconStateOnDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/forkchoice.go:552 +0x123
  github.com/erigontech/erigon/cl/phase1/stages.postForkchoiceOperations.func2()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:325 +0xaa
  github.com/erigontech/erigon/cl/beacon/synced_data.(*SyncedDataManager).ViewHeadState()
      /home/ubuntu/erigon/cl/beacon/synced_data/synced_data.go:109 +0x2bd
  github.com/erigontech/erigon/cl/phase1/stages.postForkchoiceOperations()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:323 +0xaad
  github.com/erigontech/erigon/cl/phase1/stages.doForkchoiceRoutine()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:365 +0x4fc
  github.com/erigontech/erigon/cl/clstages.(*StageGraph[go.shape.*uint8,go.shape.struct { github.com/erigontech/erigon/cl/phase1/stages.peers uint64; github.com/erigontech/erigon/cl/phase1/stages.targetEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.seenEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.targetSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.seenSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.hasDownloaded bool }]).StartWithStage.func1()
      /home/ubuntu/erigon/cl/clstages/clstages.go:54 +0x114

Previous write at 0x00c1b9b42000 by goroutine 57968821:
  runtime.slicecopy()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/runtime/slice.go:325 +0x0
  github.com/golang/snappy.(*Reader).Read()
      /home/ubuntu/go/pkg/mod/github.com/golang/snappy@v0.0.5-0.20220116011046-fa5810519dcb/decode.go:246 +0x12b
  io.ReadAtLeast()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/io/io.go:335 +0x83
  io.ReadFull()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/io/io.go:354 +0x13c
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).readBeaconStateFromDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk_fs.go:75 +0xba4
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).getState()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk.go:381 +0x34c
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).AddChainSegment()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk.go:201 +0x2fb
  github.com/erigontech/erigon/cl/phase1/forkchoice.(*ForkChoiceStore).ProcessBlockConsensus()
      /home/ubuntu/erigon/cl/phase1/forkchoice/on_block.go:146 +0x123
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).processAndStoreBlock.func2()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:211 +0x77
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      /home/ubuntu/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x91

Goroutine 57967903 (running) created at:
  github.com/erigontech/erigon/cl/clstages.(*StageGraph[go.shape.*uint8,go.shape.struct { github.com/erigontech/erigon/cl/phase1/stages.peers uint64; github.com/erigontech/erigon/cl/phase1/stages.targetEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.seenEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.targetSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.seenSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.hasDownloaded bool }]).StartWithStage()
      /home/ubuntu/erigon/cl/clstages/clstages.go:50 +0x644
  github.com/erigontech/erigon/cmd/caplin/caplin1.RunCaplinService()
      /home/ubuntu/erigon/cmd/caplin/caplin1/run.go:484 +0x5f9e
  github.com/erigontech/erigon/eth.New.func14()
      /home/ubuntu/erigon/eth/backend.go:991 +0x3ce

Goroutine 57968821 (running) created at:
  golang.org/x/sync/errgroup.(*Group).Go()
      /home/ubuntu/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x124
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).processAndStoreBlock()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:210 +0x2b3
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).ProcessMessage()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:161 +0x649
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).routeAndProcess()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:184 +0x75e
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).onRecv()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:128 +0x384
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).Start.func1.1()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:314 +0x19a
==================
==================
WARNING: DATA RACE
Read at 0x00c1b9b51ff7 by goroutine 57967903:
  runtime.racereadrange()
      <autogenerated>:1 +0x24
  internal/poll.ignoringEINTRIO()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/internal/poll/fd_unix.go:736 +0x541
  internal/poll.(*FD).Write()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/internal/poll/fd_unix.go:380 +0x302
  os.(*File).write()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/os/file_posix.go:46 +0xa4
  os.(*File).Write()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/os/file.go:189 +0x75
  github.com/spf13/afero.(*BasePathFile).Write()
      <autogenerated>:1 +0x6c
  github.com/golang/snappy.(*Writer).write()
      /home/ubuntu/go/pkg/mod/github.com/golang/snappy@v0.0.5-0.20220116011046-fa5810519dcb/encode.go:258 +0x65c
  github.com/golang/snappy.(*Writer).Write()
      /home/ubuntu/go/pkg/mod/github.com/golang/snappy@v0.0.5-0.20220116011046-fa5810519dcb/encode.go:193 +0x1c4
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).DumpBeaconStateOnDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk_fs.go:146 +0xbca
  github.com/erigontech/erigon/cl/phase1/forkchoice.(*ForkChoiceStore).DumpBeaconStateOnDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/forkchoice.go:552 +0x123
  github.com/erigontech/erigon/cl/phase1/stages.postForkchoiceOperations.func2()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:325 +0xaa
  github.com/erigontech/erigon/cl/beacon/synced_data.(*SyncedDataManager).ViewHeadState()
      /home/ubuntu/erigon/cl/beacon/synced_data/synced_data.go:109 +0x2bd
  github.com/erigontech/erigon/cl/phase1/stages.postForkchoiceOperations()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:323 +0xaad
  github.com/erigontech/erigon/cl/phase1/stages.doForkchoiceRoutine()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:365 +0x4fc
  github.com/erigontech/erigon/cl/clstages.(*StageGraph[go.shape.*uint8,go.shape.struct { github.com/erigontech/erigon/cl/phase1/stages.peers uint64; github.com/erigontech/erigon/cl/phase1/stages.targetEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.seenEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.targetSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.seenSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.hasDownloaded bool }]).StartWithStage.func1()
      /home/ubuntu/erigon/cl/clstages/clstages.go:54 +0x114

Previous write at 0x00c1b9b51ff7 by goroutine 57968821:
  runtime.slicecopy()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/runtime/slice.go:325 +0x0
  github.com/golang/snappy.(*Reader).Read()
      /home/ubuntu/go/pkg/mod/github.com/golang/snappy@v0.0.5-0.20220116011046-fa5810519dcb/decode.go:246 +0x12b
  io.ReadAtLeast()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/io/io.go:335 +0x83
  io.ReadFull()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/io/io.go:354 +0x13c
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).readBeaconStateFromDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk_fs.go:75 +0xba4
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).getState()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk.go:381 +0x34c
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).AddChainSegment()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk.go:201 +0x2fb
  github.com/erigontech/erigon/cl/phase1/forkchoice.(*ForkChoiceStore).ProcessBlockConsensus()
      /home/ubuntu/erigon/cl/phase1/forkchoice/on_block.go:146 +0x123
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).processAndStoreBlock.func2()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:211 +0x77
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      /home/ubuntu/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x91

Goroutine 57967903 (running) created at:
  github.com/erigontech/erigon/cl/clstages.(*StageGraph[go.shape.*uint8,go.shape.struct { github.com/erigontech/erigon/cl/phase1/stages.peers uint64; github.com/erigontech/erigon/cl/phase1/stages.targetEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.seenEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.targetSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.seenSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.hasDownloaded bool }]).StartWithStage()
      /home/ubuntu/erigon/cl/clstages/clstages.go:50 +0x644
  github.com/erigontech/erigon/cmd/caplin/caplin1.RunCaplinService()
      /home/ubuntu/erigon/cmd/caplin/caplin1/run.go:484 +0x5f9e
  github.com/erigontech/erigon/eth.New.func14()
      /home/ubuntu/erigon/eth/backend.go:991 +0x3ce

Goroutine 57968821 (running) created at:
  golang.org/x/sync/errgroup.(*Group).Go()
      /home/ubuntu/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x124
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).processAndStoreBlock()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:210 +0x2b3
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).ProcessMessage()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:161 +0x649
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).routeAndProcess()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:184 +0x75e
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).onRecv()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:128 +0x384
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).Start.func1.1()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:314 +0x19a
==================
==================
WARNING: DATA RACE
Write at 0x00c1b9b42008 by goroutine 57967903:
  runtime.slicecopy()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/runtime/slice.go:325 +0x0
  bytes.(*Buffer).Write()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/bytes/buffer.go:181 +0x118
  github.com/erigontech/erigon/cl/phase1/core/state.writeUint64WithBuffer()
      /home/ubuntu/erigon/cl/phase1/core/state/cache.go:425 +0x77d
  github.com/erigontech/erigon/cl/phase1/core/state.(*CachingBeaconState).encodeActiveValidatorsCache()
      /home/ubuntu/erigon/cl/phase1/core/state/cache.go:458 +0xea
  github.com/erigontech/erigon/cl/phase1/core/state.(*CachingBeaconState).EncodeCaches()
      /home/ubuntu/erigon/cl/phase1/core/state/cache.go:294 +0x88
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).DumpBeaconStateOnDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk_fs.go:158 +0xff6
  github.com/erigontech/erigon/cl/phase1/forkchoice.(*ForkChoiceStore).DumpBeaconStateOnDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/forkchoice.go:552 +0x123
  github.com/erigontech/erigon/cl/phase1/stages.postForkchoiceOperations.func2()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:325 +0xaa
  github.com/erigontech/erigon/cl/beacon/synced_data.(*SyncedDataManager).ViewHeadState()
      /home/ubuntu/erigon/cl/beacon/synced_data/synced_data.go:109 +0x2bd
  github.com/erigontech/erigon/cl/phase1/stages.postForkchoiceOperations()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:323 +0xaad
  github.com/erigontech/erigon/cl/phase1/stages.doForkchoiceRoutine()
      /home/ubuntu/erigon/cl/phase1/stages/forkchoice.go:365 +0x4fc
  github.com/erigontech/erigon/cl/clstages.(*StageGraph[go.shape.*uint8,go.shape.struct { github.com/erigontech/erigon/cl/phase1/stages.peers uint64; github.com/erigontech/erigon/cl/phase1/stages.targetEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.seenEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.targetSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.seenSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.hasDownloaded bool }]).StartWithStage.func1()
      /home/ubuntu/erigon/cl/clstages/clstages.go:54 +0x114

Previous write at 0x00c1b9b42008 by goroutine 57968821:
  runtime.slicecopy()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/runtime/slice.go:325 +0x0
  github.com/golang/snappy.(*Reader).Read()
      /home/ubuntu/go/pkg/mod/github.com/golang/snappy@v0.0.5-0.20220116011046-fa5810519dcb/decode.go:246 +0x12b
  io.ReadAtLeast()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/io/io.go:335 +0x83
  io.ReadFull()
      /home/ubuntu/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/io/io.go:354 +0x13c
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).readBeaconStateFromDisk()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk_fs.go:75 +0xba4
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).getState()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk.go:381 +0x34c
  github.com/erigontech/erigon/cl/phase1/forkchoice/fork_graph.(*forkGraphDisk).AddChainSegment()
      /home/ubuntu/erigon/cl/phase1/forkchoice/fork_graph/fork_graph_disk.go:201 +0x2fb
  github.com/erigontech/erigon/cl/phase1/forkchoice.(*ForkChoiceStore).ProcessBlockConsensus()
      /home/ubuntu/erigon/cl/phase1/forkchoice/on_block.go:146 +0x123
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).processAndStoreBlock.func2()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:211 +0x77
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      /home/ubuntu/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x91

Goroutine 57967903 (running) created at:
  github.com/erigontech/erigon/cl/clstages.(*StageGraph[go.shape.*uint8,go.shape.struct { github.com/erigontech/erigon/cl/phase1/stages.peers uint64; github.com/erigontech/erigon/cl/phase1/stages.targetEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.seenEpoch uint64; github.com/erigontech/erigon/cl/phase1/stages.targetSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.seenSlot uint64; github.com/erigontech/erigon/cl/phase1/stages.hasDownloaded bool }]).StartWithStage()
      /home/ubuntu/erigon/cl/clstages/clstages.go:50 +0x644
  github.com/erigontech/erigon/cmd/caplin/caplin1.RunCaplinService()
      /home/ubuntu/erigon/cmd/caplin/caplin1/run.go:484 +0x5f9e
  github.com/erigontech/erigon/eth.New.func14()
      /home/ubuntu/erigon/eth/backend.go:991 +0x3ce

Goroutine 57968821 (running) created at:
  golang.org/x/sync/errgroup.(*Group).Go()
      /home/ubuntu/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x124
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).processAndStoreBlock()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:210 +0x2b3
  github.com/erigontech/erigon/cl/phase1/network/services.(*blockService).ProcessMessage()
      /home/ubuntu/erigon/cl/phase1/network/services/block_service.go:161 +0x649
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).routeAndProcess()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:184 +0x75e
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).onRecv()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:128 +0x384
  github.com/erigontech/erigon/cl/phase1/network.(*GossipManager).Start.func1.1()
      /home/ubuntu/erigon/cl/phase1/network/gossip_manager.go:314 +0x19a
==================

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions