-
Notifications
You must be signed in to change notification settings - Fork 1.8k
BSC version 1.3.7 got panic when syncing using pbss snapshot geth-pbss-pebble-20231217.tar.lz4 #2131
Description
Panic:
github.com/ethereum/go-ethereum/core/rawdb.(*ResettableFreezer).AncientRange(0xcfee40?, {0x28e4c02?, 0xc0149c2828?}, 0xc0149c2928?, 0x248d3a0?, 0xc014d08060?)
/home/runner/work/bsc/bsc/core/rawdb/freezer_resettable.go:126 +0x5c
github.com/ethereum/go-ethereum/core/rawdb.ReadStateHistoryMetaList(...)
/home/runner/work/bsc/bsc/core/rawdb/accessors_state.go:180
github.com/ethereum/go-ethereum/trie/triedb/pathdb.checkHistories(0x0, 0x7e83553c7d1bf918?, 0x5028b97545f8df6c?, 0xc0154a7750)
/home/runner/work/bsc/bsc/trie/triedb/pathdb/history.go:548 +0x85
github.com/ethereum/go-ethereum/trie/triedb/pathdb.(*Database).Recoverable(0xc0113db900, {0x70, 0x16, 0x98, 0xfd, 0xca, 0xe7, 0x2d, 0xa0, 0x18, ...})
/home/runner/work/bsc/bsc/trie/triedb/pathdb/database.go:363 +0x205
github.com/ethereum/go-ethereum/trie.(*Database).Recoverable(0x7fdafcede2e8?, {0x70, 0x16, 0x98, 0xfd, 0xca, 0xe7, 0x2d, 0xa0, 0x18, ...})
/home/runner/work/bsc/bsc/trie/database.go:320 +0x45
github.com/ethereum/go-ethereum/core.NewBlockChain({0x33776f8?, 0xc0014b4cc0}, 0x0?, 0x7ffffffe805afca8?, 0x0?, {0x3365fe0?, 0xc001392a00?}, {{0x0, 0x0}, 0x0, ...}, ...)
/home/runner/work/bsc/bsc/core/blockchain.go:403 +0x14b0
github.com/ethereum/go-ethereum/eth.New(0xc0001860e0, 0xc001701000)
/home/runner/work/bsc/bsc/eth/backend.go:252 +0x170f
github.com/ethereum/go-ethereum/cmd/utils.RegisterEthService(0x0?, 0xc001701000)
/home/runner/work/bsc/bsc/cmd/utils/flags.go:2154 +0x167
main.makeFullNode(0xc00153fbf0?)
/home/runner/work/bsc/bsc/cmd/geth/config.go:181 +0x255
main.geth(0xc001703380)
/home/runner/work/bsc/bsc/cmd/geth/main.go:341 +0xf3
github.com/urfave/cli/v2.(*Command).Run(0xc0016bc2c0, 0xc001703380, {0xc00012e000, 0x10, 0x10})
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/command.go:274 +0x9eb
github.com/urfave/cli/v2.(*App).RunContext(0xc0004e6d20, {0x334fb30?, 0xc000128010}, {0xc00012e000, 0x10, 0x10})
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/app.go:332 +0x616
github.com/urfave/cli/v2.(*App).Run(...)
/home/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/app.go:309
main.main()
/home/runner/work/bsc/bsc/cmd/geth/main.go:284 +0x47Version:
Geth
Version: 1.3.7
Git Commit: f28b98a
Git Commit Date: 20231219
Architecture: amd64
Go Version: go1.20.12
Operating System: linux
GOPATH=
GOROOT=/opt/hostedtoolcache/go/1.20.12/x64
Command:
./geth_linux --config=config.toml --datadir=node --port=30304 --http --http.port 8575 --cache 8000 --rpc.allow-unprotected-txs --history.transactions=0 --syncmode=full --tries-verify-mode=local --pruneancient --db.engine=pebble --state.scheme=path
config.toml
[Eth]
NetworkId = 56
LightPeers = 100
TrieTimeout = 150000000000
StateScheme = "path"
[Eth.Miner]
GasCeil = 140000000
GasPrice = 3000000000
Recommit = 10000000000
[Eth.TxPool]
Locals = []
NoLocals = true
Journal = "transactions.rlp"
Rejournal = 3600000000000
PriceLimit = 3000000000
PriceBump = 10
AccountSlots = 200
GlobalSlots = 8000
AccountQueue = 200
GlobalQueue = 4000
[Eth.GPO]
Blocks = 20
Percentile = 60
OracleThreshold = 1000
[Node]
IPCPath = "geth.ipc"
HTTPHost = "localhost"
InsecureUnlockAllowed = false
HTTPPort = 8545
HTTPVirtualHosts = ["localhost"]
HTTPModules = ["eth", "net", "web3", "txpool", "parlia"]
WSPort = 8546
WSModules = ["net", "web3", "eth"]
[Node.P2P]
MaxPeers = 200
NoDiscovery = false
StaticNodes = []
ListenAddr = ":30311"
EnableMsgEvents = false
[Node.LogConfig]
FilePath = "bsc.log"
MaxBytesSize = 10485760
Level = "info"
FileRoot = ""
OS version:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal