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

snail pool fruits too hight when download not finish #99

Open
BiyunZeng opened this issue Jun 19, 2019 · 0 comments
Open

snail pool fruits too hight when download not finish #99

BiyunZeng opened this issue Jun 19, 2019 · 0 comments
Assignees

Comments

@BiyunZeng
Copy link
Contributor

INFO [06-19|10:43:45.928] node is not committee member committeeId=47
TRACE[06-19|10:43:45.929] addLocalFruits number=1419665 diff=265911946 pointer=12154
DEBUG[06-19|10:43:45.929] get lru for dataset epoch=1
DEBUG[06-19|10:43:45.930] creat a new futrue dataset epoch is =2
INFO [06-19|10:43:45.930] create a new dateset epoch=2
ERROR[06-19|10:43:46.126] getDataset function getHead hash fail blockNum is: =8635
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xa5e853]

goroutine 1 [running]:
github.com/truechain/truechain-engineering-code/consensus/minerva.(*Minerva).VerifySnailSeal(0xc42575e240, 0x1292920, 0xc478710000, 0xc450e9f2c0, 0x1107901, 0xc44c40c000, 0x1292920)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/consensus/minerva/consensus.go:677 +0x1a3
github.com/truechain/truechain-engineering-code/core/snailchain.(*BlockValidator).VerifySnailSeal(0xc46dddade0, 0x1292920, 0xc478710000, 0xc450e9f2c0, 0xc478710001, 0x3a57759308bc8587, 0xe01c33baaae45733)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/core/snailchain/block_validator.go:164 +0x5a
github.com/truechain/truechain-engineering-code/core/snailchain.(*SnailPool).validateFruit(0xc478707b00, 0xc4496da280, 0xc43fe7f6e0, 0x6)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/core/snailchain/snail_pool.go:710 +0xae7
github.com/truechain/truechain-engineering-code/core/snailchain.(*SnailPool).addLocalFruits(0xc478707b00, 0xc473d9a800, 0x59, 0x80, 0xc44cdafe80, 0x10b46e0, 0xc4512f3a40)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/core/snailchain/snail_pool.go:632 +0x4d6
github.com/truechain/truechain-engineering-code/core/snailchain.(*SnailPool).AddLocals(0xc478707b00, 0xc473d9a800, 0x59, 0x80, 0x16, 0x129a4c0, 0x10f1d60)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/core/snailchain/snail_pool.go:649 +0x49
github.com/truechain/truechain-engineering-code/core/snailchain.(*SnailPool).AddLocals-fm(0xc473d9a800, 0x59, 0x80, 0xc453a49670, 0xc453a49678, 0xc4512f3a01)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/core/snailchain/snail_pool.go:190 +0x48
github.com/truechain/truechain-engineering-code/core/snailchain.(*snailJournal).load.func2(0xc473d9a800, 0x59, 0x80)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/core/snailchain/snail_journal.go:84 +0x56
github.com/truechain/truechain-engineering-code/core/snailchain.(*snailJournal).load(0xc452dccb60, 0xc453a49798, 0x0, 0x0)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/core/snailchain/snail_journal.go:103 +0x50d
github.com/truechain/truechain-engineering-code/core/snailchain.(*SnailPool).Start(0xc478707b00)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/core/snailchain/snail_pool.go:190 +0xb8
github.com/truechain/truechain-engineering-code/etrue.(*Truechain).Start(0xc420270500, 0xc425768000, 0xc453a49a68, 0x1)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/etrue/backend.go:516 +0x239
github.com/truechain/truechain-engineering-code/node.(*Node).Start(0xc42574e280, 0x0, 0x0)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/node/node.go:226 +0xa9b
github.com/truechain/truechain-engineering-code/cmd/utils.StartNode(0xc42574e280)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/cmd/utils/cmd.go:67 +0x2f
main.startNode(0xc420282840, 0xc42574e280)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/cmd/getrue/main.go:252 +0x81
main.getrue(0xc420282840, 0x0, 0x0)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/cmd/getrue/main.go:240 +0x43
github.com/truechain/truechain-engineering-code/vendor/gopkg.in/urfave/cli%2ev1.HandleAction(0xf5bf80, 0x1163850, 0xc420282840, 0xc420282840, 0xc424bdbf48)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/vendor/gopkg.in/urfave/cli.v1/app.go:490 +0xc8
github.com/truechain/truechain-engineering-code/vendor/gopkg.in/urfave/cli%2ev1.(*App).Run(0xc42026f6c0, 0xc420030100, 0x10, 0x10, 0x0, 0x0)
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/vendor/gopkg.in/urfave/cli.v1/app.go:264 +0x5ee
main.main()
/root/gopath/src/github.com/truechain/truechain-engineering-code/build/_workspace/src/github.com/truechain/truechain-engineering-code/cmd/getrue/main.go:229 +0x55

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

2 participants