Skip to content

VM Issues #131

@androlo

Description

@androlo

Suicide not followed by STOP causes errors.

Added in the stop but then got this instead:

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x5fb6cd]

goroutine 176 [running]:
github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/state.(*BlockCache).Sync(0xc20a019f80)
    /home/andreas/go/src/github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/state/block_cache.go:181 +0x1a1d
github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/state.execBlock(0xc2083c2270, 0xc20821c720, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/andreas/go/src/github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/state/execution.go:100 +0x68c
github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/state.(*State).ComputeBlockStateHash(0xc20801ed00, 0xc20821c720, 0x0, 0x0)
    /home/andreas/go/src/github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/state/state.go:137 +0x89
github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/consensus.(*ConsensusState).createProposalBlock(0xc208072dc0, 0xc20821c720, 0x0)
    /home/andreas/go/src/github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/consensus/state.go:645 +0x399
github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/consensus.(*ConsensusState).decideProposal(0xc208072dc0, 0x121, 0x0)
    /home/andreas/go/src/github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/consensus/state.go:578 +0xa35
github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/consensus.(*ConsensusState).EnterPropose(0xc208072dc0, 0x121, 0x0)
    /home/andreas/go/src/github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/consensus/state.go:563 +0xdc9
created by github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/consensus.(*ConsensusState).EnterNewRound
    /home/andreas/go/src/github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/consensus/state.go:523 +0xa4a

Also BALANCE causes exception if account not found. Rather it just pushed 0 onto the stack since that's how it's supposed to behave according to the YP.

Metadata

Metadata

Assignees

Labels

T:bugType Bug (Confirmed)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions