Ether1Project / Ethoprotocol

Official Go implementation of The Etho Protocol
https://ethoprotocol.com
GNU Lesser General Public License v3.0
41 stars 33 forks source link

Bug - When Run Release OR Build From Scratch #60

Open ohari5336 opened 1 year ago

ohari5336 commented 1 year ago
INFO [09-13|15:44:52.599] Loaded most recent local fast block      number=0 hash=9c65b7..e75086 td=35,184,372,088,832 age=54y5mo3w
WARN [09-13|15:44:52.599] Failed to load snapshot, regenerating    err="missing or corrupted snapshot"
INFO [09-13|15:44:52.599] Rebuilding state snapshot 
INFO [09-13|15:44:52.599] Resuming state snapshot generation       root=56e81f..63b421 accounts=0 slots=0 storage=0.00B elapsed="339.542µs"
INFO [09-13|15:44:52.600] Generated state snapshot                 accounts=0 slots=0 storage=0.00B elapsed="778.917µs"
INFO [09-13|15:44:52.600] Regenerated local transaction journal    transactions=0 accounts=0
INFO [09-13|15:44:52.601] Gasprice oracle is ignoring threshold set threshold=2
WARN [09-13|15:44:52.601] Error reading unclean shutdown markers   error="leveldb: not found"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10044ab54]

goroutine 118 [running]:
math/big.(*Int).Cmp(0x1400007c220, 0x0, 0x6f83ea7151a9f788)
        math/big/int.go:328 +0x44
github.com/ethereum/go-ethereum/consensus/ethash.accumulateRewards(0x140002a83c0, 0x14000312c00, 0x140006f46c0, 0x14000273290, 0x0, 0x2)
        github.com/ethereum/go-ethereum/consensus/ethash/consensus.go:806 +0x6d0
github.com/ethereum/go-ethereum/consensus/ethash.(*Ethash).Finalize(0x140006ce9a0, 0x10224b5f8, 0x140006dc400, 0x140006f46c0, 0x14000312c00, 0x0, 0x0, 0x0, 0x14000273290, 0x0, ...)
        github.com/ethereum/go-ethereum/consensus/ethash/consensus.go:669 +0x64
github.com/ethereum/go-ethereum/consensus/ethash.(*Ethash).FinalizeAndAssemble(0x140006ce9a0, 0x10224b5f8, 0x140006dc400, 0x140006f46c0, 0x14000312c00, 0x0, 0x0, 0x0, 0x14000273290, 0x0, ...)
        github.com/ethereum/go-ethereum/consensus/ethash/consensus.go:677 +0x78
github.com/ethereum/go-ethereum/miner.(*worker).commit(0x14000269b00, 0x14000273290, 0x0, 0x2, 0x0, 0x0, 0xc13880c723d829a8, 0xeccdd0f, 0x1032d6d60, 0x0, ...)
        github.com/ethereum/go-ethereum/miner/worker.go:1021 +0x100
github.com/ethereum/go-ethereum/miner.(*worker).commitNewWork(0x14000269b00, 0x14001888018, 0x0, 0x65018b9c)
        github.com/ethereum/go-ethereum/miner/worker.go:976 +0xa58
github.com/ethereum/go-ethereum/miner.(*worker).mainLoop(0x14000269b00)
        github.com/ethereum/go-ethereum/miner/worker.go:456 +0x65c
created by github.com/ethereum/go-ethereum/miner.newWorker
        github.com/ethereum/go-ethereum/miner/worker.go:228 +0x408

Hello Devs,

i build your project in my macbook air, but when i start blockchain i got above error.

also when i run latest windows release of your project which is provided in your repo. then also get same error.