Problem with ver. 3.0.1

Hello ,
update to ver. 3.0.1 , now I have this error :

Node running and accepting RPC requests over HTTP on port Press Ctrl-C to exit
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xfa0e59]

goroutine 4423 [running]:*peerSelector).findPeer(0xc0002d7320, 0x0, 0x0, 0x164efb59) +0x39*peerSelector).peerDownloadDurationToRank(0xc0002d7320, 0x0, 0x0, 0x0) +0x77*CatchpointCatchupService).processStageLastestBlockDownload(0xc0000ce000, 0xc0065f5b00, 0x0) +0x85d*CatchpointCatchupService).run(0xc0000ce000) +0x366
created by*CatchpointCatchupService).Start +0xfa

Anyone have this issue ?



To help us debug:

  • how did you start algod: using goal node start or systemctl?
  • how did you install the software: using the Debian package or the script?
  • what is the output of algod -v?
  • are you on MainNet or BetaNet?
  • what happens if you start the node on an empty directory with just genesis.json of the correct network?
  • what do you see in $ALGORAND_DATA/node.log and $ALGORAND_DATA/algod-out.log and $ALGORAND_DATA/algod-err.log?
  • what is your config.json file?

Hello Fabrice ,

  • start with systemctl
  • install with Deb
  • algod -v is 3.0.1.stable [rel/stable] (commit #b619b940)
  • MainNet
  • node work correctly

So, I resolve the issue removing the ledger from mainnet dir and re-catchup.

Probably the issue is a ledger.tracker.sqlite file too big or broken.