PlatONnetwork/PlatON-Go

Submit delegate transactions in parallel, and foundation node in the target nodes, platon panic appears

Closed this issue · 0 comments

Submit delegate transactions in parallel, and foundation node in the target nodes, platon panic appears.

version: 0.13.1 patch

panic: snapshotdb , revision id 682 cannot be reverted

goroutine 22542 [running]:
github.com/PlatONnetwork/PlatON-Go/core/snapshotdb.(*blockData).RevertToSnapshot(0xc0175fe8f0, 0x2aa)
/home/juzix/source/PlatON-Go/core/snapshotdb/blockdata.go:130 +0x17f
github.com/PlatONnetwork/PlatON-Go/core/snapshotdb.(*snapshotDB).RevertToSnapshot(0xc014f6e780, 0x97dfe8eae6fc8812, 0x4440f938ab3b9715, 0xcb7abcd50846289e, 0xe97c97fad2b044ae, 0x2aa)
/home/juzix/source/PlatON-Go/core/snapshotdb/snapshotdb.go:563 +0x10e
github.com/PlatONnetwork/PlatON-Go/core/vm.(*EVM).RevertToDBSnapshot(0xc028870000, 0x2aa, 0x0)
/home/juzix/source/PlatON-Go/core/vm/evm.go:215 +0xa8
github.com/PlatONnetwork/PlatON-Go/core/vm.(*EVM).Call(0xc028870000, 0x17217a0, 0xc028bf3240, 0x10, 0x0, 0xc002000000, 0xc028601140, 0x57, 0x57, 0x54c3, ...)
/home/juzix/source/PlatON-Go/core/vm/evm.go:298 +0x5cb
github.com/PlatONnetwork/PlatON-Go/core.(*StateTransition).TransitionDb(0xc01165ad90, 0x0, 0x0, 0x0, 0x0, 0xc05728e300, 0x0, 0x0)
/home/juzix/source/PlatON-Go/core/state_transition.go:241 +0xb59
github.com/PlatONnetwork/PlatON-Go/core.ApplyMessage(0xc028870000, 0x1751760, 0xc05728e3c0, 0xc012312f88, 0xc028870000, 0xc0286d4b40, 0xc028719900, 0xc028870000, 0x14c7c78, 0x0, ...)
/home/juzix/source/PlatON-Go/core/state_transition.go:141 +0x5b
github.com/PlatONnetwork/PlatON-Go/internal/ethapi.(*PublicBlockChainAPI).doCall(0xc00e741a90, 0x17456e0, 0xc028728800, 0x69a55fc0fb19d491, 0x99c208f942fc6da2, 0x6dc481de, 0xc02b542160, 0xbd67, 0x0, 0x0, ...)
/home/juzix/source/PlatON-Go/internal/ethapi/api.go:711 +0x636
github.com/PlatONnetwork/PlatON-Go/internal/ethapi.(*PublicBlockChainAPI).EstimateGas.func1(0xbd67, 0x1745700)
/home/juzix/source/PlatON-Go/internal/ethapi/api.go:751 +0xb4
github.com/PlatONnetwork/PlatON-Go/internal/ethapi.(*PublicBlockChainAPI).EstimateGas(0xc00e741a90, 0x17457a0, 0xc03fa49e30, 0x69a55fc0fb19d491, 0x99c208f942fc6da2, 0x6dc481de, 0xc02b542160, 0xbd67, 0x0, 0x0, ...)
/home/juzix/source/PlatON-Go/internal/ethapi/api.go:760 +0xe5
reflect.Value.call(0xc00da03600, 0xc014c52558, 0x13, 0x14540d9, 0x4, 0xc0553e1020, 0x3, 0x4, 0x4, 0x30, ...)
/home/juzix/source/go/go/src/reflect/value.go:460 +0x5f6
reflect.Value.Call(0xc00da03600, 0xc014c52558, 0x13, 0xc0553e1020, 0x3, 0x4, 0x1, 0x1, 0xc043654000)
/home/juzix/source/go/go/src/reflect/value.go:321 +0xb4
github.com/PlatONnetwork/PlatON-Go/rpc.(*Server).handle(0xc010346060, 0x17457a0, 0xc03fa49e30, 0x1752900, 0xc03fc2c960, 0xc0553e0fc0, 0xc000049400, 0xc011679f68, 0x4417b5)
/home/juzix/source/PlatON-Go/rpc/server.go:309 +0x6b1
github.com/PlatONnetwork/PlatON-Go/rpc.(*Server).exec(0xc010346060, 0x17457a0, 0xc03fa49e30, 0x1752900, 0xc03fc2c960, 0xc0553e0fc0)
/home/juzix/source/PlatON-Go/rpc/server.go:330 +0x1c4
github.com/PlatONnetwork/PlatON-Go/rpc.(*Server).serveRequest.func2(0xc041b6b460, 0xc010346060, 0xc03c35fd90, 0x1752900, 0xc03fc2c960, 0xc042a141d0, 0x1, 0x1, 0xc00074d800)
/home/juzix/source/PlatON-Go/rpc/server.go:204 +0xc9
created by github.com/PlatONnetwork/PlatON-Go/rpc.(*Server).serveRequest
/home/juzix/source/PlatON-Go/rpc/server.go:199 +0x31e