BuildOnViction/tomochain-v1

panic regarding smc reader

ngtuna opened this issue · 0 comments

[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x7344b5]

goroutine 400568 [running]:
github.com/ethereum/go-ethereum/core/state.(*StateDB).getStateObject(0x0, 0x0, 0x0, 0xc088000000, 0xc05639f380)
        /home/tuna/gocode/tomox/src/github.com/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state/statedb.go:371 +0x85
github.com/ethereum/go-ethereum/core/state.(*StateDB).GetState(0x0, 0x0, 0x0, 0x88000000, 0x0, 0x0, 0x0, 0xc003000000, 0x0, 0x0, ...)
        /home/tuna/gocode/tomox/src/github.com/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/core/state/statedb.go:239 +0x56
github.com/ethereum/go-ethereum/contracts.GetCandidates(0x0, 0xb2eb6b2f02bc753b, 0xbf698269dcfe91b6, 0x1c718e71f731577f)
        /home/tuna/gocode/tomox/src/github.com/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/contracts/validatorReader.go:30 +0x174
github.com/ethereum/go-ethereum/eth.New.func6(0xb3829e9219a07966, 0xbd4248ed3b7b8f37, 0x6b79ec9442cea9b3, 0xa343656898ed93cb, 0x6b79ec9442cea9b3, 0xa343656898ed93cb, 0xc0140ac000, 0x14c3200, 0xc0002685b0)
        /home/tuna/gocode/tomox/src/github.com/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/eth/backend.go:465 +0x1f9
github.com/ethereum/go-ethereum/consensus/posv.(*Posv).verifyCascadingFields(0xc00010e300, 0x14eedc0, 0xc0003a6000, 0xc01b37af00, 0xc0232c6078, 0x0, 0x1, 0x1179e00, 0xc007174d68, 0xc007174dd0)
        /home/tuna/gocode/tomox/src/github.com/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/consensus/posv/posv.go:426 +0x36e
github.com/ethereum/go-ethereum/consensus/posv.(*Posv).verifyHeader(0xc00010e300, 0x14eedc0, 0xc0003a6000, 0xc01b37af00, 0xc0232c6078, 0x0, 0x1, 0x12daa00, 0xc03c812e60, 0xc03c812e50)
        /home/tuna/gocode/tomox/src/github.com/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/consensus/posv/posv.go:373 +0x3cc
github.com/ethereum/go-ethereum/consensus/posv.(*Posv).verifyHeaderWithCache(0xc00010e300, 0x14eedc0, 0xc0003a6000, 0xc01b37af00, 0xc0232c6078, 0x0, 0x1, 0xa6f18bcdc51a5800, 0x0, 0x0)
        /home/tuna/gocode/tomox/src/github.com/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/consensus/posv/posv.go:304 +0x177
github.com/ethereum/go-ethereum/consensus/posv.(*Posv).VerifyHeaders.func1(0xc0232c6078, 0x1, 0x1, 0xc00010e300, 0x14eedc0, 0xc0003a6000, 0xc0241cbd20, 0x1, 0x1, 0xc015131440, ...)
        /home/tuna/gocode/tomox/src/github.com/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/consensus/posv/posv.go:287 +0x12f
created by github.com/ethereum/go-ethereum/consensus/posv.(*Posv).VerifyHeaders
        /home/tuna/gocode/tomox/src/github.com/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/consensus/posv/posv.go:285 +0x10a```