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

use April snapshot get error #148

Closed
a04512 opened this issue Apr 15, 2021 · 10 comments
Closed

use April snapshot get error #148

a04512 opened this issue Apr 15, 2021 · 10 comments

Comments

@a04512
Copy link

a04512 commented Apr 15, 2021

use April snapshot get error
file checksum is right but run geth get this:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1c0 pc=0xe31fac]
goroutine 328 [running]:
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).findAncestor(0xc018a1d340, 0xc0194f7590, 0xc01980e480, 0x0, 0x0, 0xa)
/server/bsc/eth/downloader/downloader.go:877 +0x158c
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).syncWithPeer(0xc018a1d340, 0xc0194f7590, 0xf5f1aaaad5e4b7fe, 0x785f32dbc3bcfd7e, 0x4a4eb8047461d0b, 0xedc49fe1d2cf9654, 0xc01966a260, 0x0, 0x0)
/server/bsc/eth/downloader/downloader.go:443 +0x3df
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).synchronise(0xc018a1d340, 0xc01837fd00, 0x10, 0xf5f1aaaad5e4b7fe, 0x785f32dbc3bcfd7e, 0x4a4eb8047461d0b, 0xedc49fe1d2cf9654, 0xc01966a260, 0x0, 0x0, ...)
/server/bsc/eth/downloader/downloader.go:411 +0x37a
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).Synchronise(0xc018a1d340, 0xc01837fd00, 0x10, 0xf5f1aaaad5e4b7fe, 0x785f32dbc3bcfd7e, 0x4a4eb8047461d0b, 0xedc49fe1d2cf9654, 0xc01966a260, 0x0, 0x0, ...)
/server/bsc/eth/downloader/downloader.go:323 +0x8e
github.com/ethereum/go-ethereum/eth.(*ProtocolManager).doSync(0xc018a23860, 0xc019545b40, 0x17fdcd0, 0xc0189952b0)
/server/bsc/eth/sync.go:289 +0x98
github.com/ethereum/go-ethereum/eth.(*chainSyncer).startSync.func1(0xc018b0c300, 0xc019545b40)
/server/bsc/eth/sync.go:283 +0x38
created by github.com/ethereum/go-ethereum/eth.(*chainSyncer).startSync
/server/bsc/eth/sync.go:283 +0x76

@a04512
Copy link
Author

a04512 commented Apr 15, 2021

here is bsc log:
t=2021-04-15T23:23:53+0800 lvl=info msg="Initialising Ethereum protocol" versions="[65 64 63]" network=56 dbversion=7
t=2021-04-15T23:23:53+0800 lvl=info msg="Loaded most recent local header" number=6466411 hash=0xa980f836399677ba034380cb1561fc62725cd3e9c96a904dccd0aa1198f15289 td=12906051 age=4d7h39m
t=2021-04-15T23:23:53+0800 lvl=info msg="Loaded most recent local full block" number=6463226 hash=0x5bfb7228c4a87f0545ba4d95cf5e4053c7de6d97d73d1e66413cc73aa4fa6182 td=12899743 age=4d10h20m
t=2021-04-15T23:23:53+0800 lvl=info msg="Loaded most recent local fast block" number=6466411 hash=0xa980f836399677ba034380cb1561fc62725cd3e9c96a904dccd0aa1198f15289 td=12906051 age=4d7h39m
t=2021-04-15T23:24:08+0800 lvl=warn msg="Switch sync mode from fast sync to full sync"
t=2021-04-15T23:24:08+0800 lvl=info msg="New local node record" seq=5 id=0384b81a4416ec90880f4f4fc2d8752547483c91c7c84f913b43f1f5fa35bc5f ip=127.0.0.1 udp=30311 tcp=30311
t=2021-04-15T23:24:08+0800 lvl=info msg="Started P2P networking" self=enode://ca57e3c91fb04ac8c1224f3ff79ac607bf4132600eae6033d0d4433581ac4b2c572e4d04d254edd7f186266f6085b42730206efbae54fe3198c9fc155e7d170d@127.0.0.1:30311
t=2021-04-15T23:24:08+0800 lvl=info msg="IPC endpoint opened" url=/home/data/geth.ipc
t=2021-04-15T23:24:08+0800 lvl=info msg="HTTP endpoint opened" url=http://[::]:8545/ cors=* vhosts=*
t=2021-04-15T23:24:08+0800 lvl=info msg="Block synchronisation started"

@vae520283995
Copy link

Same issue

@ghost
Copy link

ghost commented Apr 16, 2021

@guagualvcha could you confirm this and upload new snapshot?

@a04512
Copy link
Author

a04512 commented Apr 16, 2021

https://s3.ap-northeast-1.amazonaws.com/dex-bin.bnbstatic.com/s3-witness-data-download/chaindata-2021-04-15.zip?AWSAccessKeyId=AKIAYINE6SBQPUZDDRRO&Expires=1644459350&Signature=a4vfmga8%2BRwNZl3boisIMEdSWbA%3D
The verified snapshot!

use this snapshot fail again @guagualvcha
this time error:
panic: expected tx hash 0x3245fa42f30fdf2f35c6873d0989cc899ba66aa3be73ba289b60c168e7293426, get 0x67cf855a62c767bde458f605fce578bffc34f4628c237211e615cd4fa3e764e2

goroutine 1473 [running]:
github.com/ethereum/go-ethereum/consensus/parlia.(*Parlia).Finalize(0xc00015f880, 0x1992c00, 0xc0176d0000, 0xc0566cc480, 0xc020f71b80, 0xc05671cc60, 0x25fe110, 0x0, 0x0, 0xc05671cbe0, ...)
/server/bsc/consensus/parlia/parlia.go:707 +0x1139
github.com/ethereum/go-ethereum/core.(*StateProcessor).Process(0xc0002c4980, 0xc02aaf2990, 0xc020f71b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/server/bsc/core/state_processor.go:94 +0xa02
github.com/ethereum/go-ethereum/core.(*BlockChain).insertChain(0xc0176d0000, 0xc01fb82000, 0x3da, 0x400, 0xc02f9d1900, 0x0, 0x0, 0x0)
/server/bsc/core/blockchain.go:1722 +0xccc
github.com/ethereum/go-ethereum/core.(*BlockChain).insertSideChain(0xc0176d0000, 0xc02f957dd0, 0xc02f9d5d10, 0x4, 0xc02f9d5c50, 0x4)
/server/bsc/core/blockchain.go:1928 +0x1a29
github.com/ethereum/go-ethereum/core.(*BlockChain).insertChain(0xc0176d0000, 0xc02cecb210, 0x2, 0x2, 0xa5ec1fc34d91c701, 0x0, 0x0, 0x0)
/server/bsc/core/blockchain.go:1633 +0x3d65
github.com/ethereum/go-ethereum/core.(*BlockChain).InsertChain(0xc0176d0000, 0xc02cecb210, 0x2, 0x2, 0x0, 0x0, 0x0)
/server/bsc/core/blockchain.go:1539 +0xcab
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).importBlockResults(0xc018befc00, 0xc02cecb200, 0x2, 0x2, 0x2, 0xc02cf7c000)
/server/bsc/eth/downloader/downloader.go:1557 +0x50c
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).processFullSyncContent(0xc018befc00, 0x0, 0x486a61)
/server/bsc/eth/downloader/downloader.go:1531 +0x7d
github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync.func1(0xc018befc00, 0xc02d2652c0, 0xc02d220ae0)
/server/bsc/eth/downloader/downloader.go:534 +0x5b
created by github.com/ethereum/go-ethereum/eth/downloader.(*Downloader).spawnSync
/server/bsc/eth/downloader/downloader.go:534 +0xaf

@ghost
Copy link

ghost commented Apr 16, 2021

@a04512 did you delete all the chaindata?my node is working fine

@a04512
Copy link
Author

a04512 commented Apr 16, 2021

@a04512 did you delete all the chaindata?my node is working fine

delete all , i'll try again

@a04512 a04512 closed this as completed Apr 16, 2021
galaio pushed a commit to galaio/bsc that referenced this issue Jul 31, 2024
superchain: beta feature flag for overriding chain-config with superchain-registry
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

4 participants
@unclezoro @a04512 @vae520283995 and others