streamingfast / go-ethereum

Official Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
9 stars 5 forks source link

Polygon geth 1.0.2-beta-fh2.3 crashes when starting from genesis #11

Closed matthewdarwin closed 1 year ago

matthewdarwin commented 1 year ago

System information

Geth version: 1.0.2-beta-fh2.3 OS & Version: Linux debian 11

Expected behaviour

No crash when starting polygon from genesis

Actual behaviour

Crash (see trace)

Steps to reproduce the behaviour

Start from genesis

Backtrace

Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.381Z INFO (fireeth) starting with config file '/etc/dfuse/config.yml'
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.381Z INFO (fireeth) launching applications: reader-node
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.381Z INFO (fireeth) building node arguments {"node-type": "geth", "node-role": "reader"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) adding superviser shutdown to plugins {"plugin_name": "ToZapLogPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) registered log plugin {"plugin count": 1}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) created geth superviser {"superviser": {"binary": "/usr/bin/geth", "arguments": ["server", "--chain=mainnet", "--datadir=/var/lib/bor", "--ipcpath=/var/lib/dfuse/reader/ipc", "--http", "--http.api=eth,net,web3", "--http.port=8547", "--http.addr=0.0.0.0", "--http.vhosts=*", "--firehose-enabled", "--port=30353", "--cache=8192", "--parallelevm.enable=false", "--bor.heimdall=http://172.24.25.54:1317"], "data_dir": "/var/lib/bor", "ipc_file_path": "/var/lib/dfuse/reader/ipc", "last_block_seen": 0, "enode_str": ""}}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) creating operator {"options": {"Bootstrapper":null,"EnableSupervisorMonitoring":true,"ShutdownDelay":0}}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) parsing backup configs {"configs": [], "factory_count": 1}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) parsing backup known factory {"name": "gke-pvc-snapshot"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) backup config {"config": [], "backup_module_count": 0, "backup_schedule_count": 0}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) creating mindreader plugin {"one_blocks_store_url": "file:///var/lib/dfuse/storage/one-blocks", "one_block_suffix": "x143b", "working_directory": "/var/lib/dfuse/reader/work", "start_block_num": 0, "stop_block_num": 0, "channel_capacity": 100, "with_head_block_updater": true, "with_shutdown_func": true}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) creating new mindreader plugin
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) adding superviser shutdown to plugins {"plugin_name": "MindReaderPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) registered log plugin {"plugin count": 2}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) adding superviser shutdown to plugins {"plugin_name": "TrxPoolLogPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) registered log plugin {"plugin count": 3}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) running node manager app {"config": {"StartupDelay":0,"HTTPAddr":":13009","ConnectionWatchdog":false,"GRPCAddr":":9000"}, "mindreader": true}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) retrieved hostname from os {"hostname": "polygon-sfdm143b"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) starting mindreader gRPC server
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (dgrpc) standard server created
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) launching operator
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) launching operator HTTP server {"http_listen_addr": ":13009"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) launching gRPC server {"listen_addr": ":9000"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) serving gRPC {"listen_addr": ":9000"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) starting webserver {"http_addr": ":13009"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) operator ready to receive commands
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) received operator command {"command": "start", "params": null}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) preparing for start
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) preparing to start chain
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) starting mindreader
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) creating new command instance and launch read loop {"binary": "/usr/bin/geth", "arguments": ["server", "--chain=mainnet", "--datadir=/var/lib/bor", "--ipcpath=/var/lib/dfuse/reader/ipc", "--http", "--http.api=eth,net,web3", "--http.port=8547", "--http.addr=0.0.0.0", "--http.vhosts=*", "--firehose-enabled", "--port=30353", "--cache=8192", "--parallelevm.enable=false", "--bor.heimdall=http://172.24.25.54:1317"]}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) starting consume flow
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) successfully start service
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) operator ready to receive commands
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.523Z INFO (reader.geth) GRPC Server started                      addr=[::]:3131
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.525Z INFO (reader.geth) firehose initialized                     enabled=true sync_instrumentation_enabled=true mining_enabled=false block_progress_enabled=false genesis_configured=true genesis_provenance="Geth Specific Flag (--<chain>)" firehose_version=2.3 geth_version="Version: 1.0.2-beta-fh2.3\nGitCommit: " chain_variant=polygon
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.525Z INFO (reader.geth) gitCommit:
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.525Z INFO (reader) read firehose instrumentation init line {"fh_version": "2.3", "node_variant": "polygon", "node_version": "Version: 1.0.2-beta-fh2.3", "normalization_features": {"CombinePolygonSystemTransactions":true,"ReorderTransactionsAndRenumberOrdinals":true,"UpgradeBlockV2ToV3":false}}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.527Z INFO (reader.geth) set global gas cap                       cap=50,000,000
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.528Z INFO (reader.geth) allocated trie memory caches             clean=1.20GiB dirty=2.00GiB
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.528Z INFO (reader.geth) using leveldb as the backing database
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.529Z INFO (reader.geth) allocated cache and file handles         database=/var/lib/bor/bor/chaindata cache=4.00GiB handles=500,000 compactionTableSize=2,097,152 compactionTableSizeMultiplier=1.000 compactionTotalSize=10,485,760 compactionTotalSizeMultiplier=10.000
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.555Z INFO (reader.geth) using LevelDB as the backing database
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.555Z INFO (reader.geth) opened ancient database                  database=/var/lib/bor/bor/chaindata/ancient/chain readonly=false
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.555Z INFO (reader.geth) writing custom genesis block
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) goroutine 1 [running]:
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) runtime/debug.Stack()
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/usr/local/go-1.21.0/src/runtime/debug/stack.go:24 +0x5e
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) runtime/debug.PrintStack()
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/usr/local/go-1.21.0/src/runtime/debug/stack.go:16 +0x13
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/firehose.(*Context).callIndex(0x1b73e3cd75d4ea06?)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/firehose/context.go:489 +0x35
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/firehose.(*Context).RecordNewAccount(0xc000694230, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/firehose/context.go:726 +0x25
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).createObject(0xc0007eb4a0, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:1068 +0x20d
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).GetOrNewStateObject(0x420f45?, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:1018 +0x70
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).AddBalance(0xc0007eb4a0, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:751 +0x68
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.(*GenesisAlloc).flush(0x47b7cb8, {0x3472e18?, 0xc00081c2e8}, 0x47e8e01?, {0xa9, 0xc2, 0x8c, 0xe2, 0x14, 0x1b, ...})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:173 +0x1b1
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.(*Genesis).Commit(0x47b7c40, {0x3472e18?, 0xc00081c2e8?}, 0x3?)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:568 +0x358
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.SetupGenesisBlockWithOverride({0x3472e18?, 0xc00081c2e8}, 0x27b93be?, 0x47b7c40, 0xc0004d7480)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:351 +0x18a
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/eth.New(0xc0001d4700, 0xc000a01000)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/eth/backend.go:199 +0xbfc
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli/server.NewServer(0xc0006ae580, {0xc0009e7ce0, 0x1, 0xd?})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/server/server.go:215 +0x694
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli/server.(*Command).Run(0xc001594500, {0xc000052110?, 0x429aeb?, 0x4c52f08?})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/server/command.go:146 +0x179
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/mitchellh/cli.(*CLI).Run(0xc0006d0640)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/build/pkg/mod/github.com/mitchellh/cli@v1.1.2/cli.go:262 +0x5b8
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli.Run({0xc000052100, 0xe, 0xe})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/command.go:51 +0x1c7
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) main.main()
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/cmd/cli/main.go:10 +0x45
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.558Z INFO (reader.geth) panic: should have been call in a block or in speculative context, something is deeply wrong
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.558Z INFO (reader.geth) goroutine 1 [running]:
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.558Z INFO (reader.geth) github.com/ethereum/go-ethereum/firehose.(*Context).callIndex(0x1b73e3cd75d4ea06?)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.558Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/firehose/context.go:490 +0x48
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/firehose.(*Context).RecordNewAccount(0xc000694230, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/firehose/context.go:726 +0x25
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).createObject(0xc0007eb4a0, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:1068 +0x20d
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).GetOrNewStateObject(0x420f45?, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:1018 +0x70
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).AddBalance(0xc0007eb4a0, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:751 +0x68
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.(*GenesisAlloc).flush(0x47b7cb8, {0x3472e18?, 0xc00081c2e8}, 0x47e8e01?, {0xa9, 0xc2, 0x8c, 0xe2, 0x14, 0x1b, ...})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:173 +0x1b1
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.(*Genesis).Commit(0x47b7c40, {0x3472e18?, 0xc00081c2e8?}, 0x3?)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:568 +0x358
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.SetupGenesisBlockWithOverride({0x3472e18?, 0xc00081c2e8}, 0x27b93be?, 0x47b7c40, 0xc0004d7480)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:351 +0x18a
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/eth.New(0xc0001d4700, 0xc000a01000)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/eth/backend.go:199 +0xbfc
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli/server.NewServer(0xc0006ae580, {0xc0009e7ce0, 0x1, 0xd?})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/server/server.go:215 +0x694
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli/server.(*Command).Run(0xc001594500, {0xc000052110?, 0x429aeb?, 0x4c52f08?})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/server/command.go:146 +0x179
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) github.com/mitchellh/cli.(*CLI).Run(0xc0006d0640)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/build/pkg/mod/github.com/mitchellh/cli@v1.1.2/cli.go:262 +0x5b8
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli.Run({0xc000052100, 0xe, 0xe})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/command.go:51 +0x1c7
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) main.main()
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/cmd/cli/main.go:10 +0x45
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) operator is terminating {"error": "instance \"geth\" stopped (exit code: 2), shutting down"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) superviser is terminating
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) supervisor received a stop request, terminating node process
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) underlying process is not running, nothing to do
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) shutting down plugins {"last_exit_code": 2}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) stopping plugin {"plugin_name": "ToZapLogPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) stopping plugin {"plugin_name": "MindReaderPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) mindreader is stopping
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) waiting until consume read flow (i.e. blocks) is actually done processing blocks...
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) lines channel has been closed
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) reached end of console reader stream, nothing more to do
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) all blocks in channel were drained, exiting read flow
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) archiver selector is terminating
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) archiver selector is terminated
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) archiver Terminate done
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) consume read flow terminate
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) stopping plugin {"plugin_name": "TrxPoolLogPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) all plugins closed
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) operator is waiting for superviser to shutdown {"error": "instance \"geth\" stopped (exit code: 2), shutting down"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) operator done waiting for superviser to shutdown {"error": "instance \"geth\" stopped (exit code: 2), shutting down"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) chain operator terminated shutting down mindreader app
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) operator ready to receive commands
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) superviser terminating, waiting for operator...
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z ERRO (fireeth)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: ################################################################
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: Fatal error in app reader-node:
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: instance "geth" stopped (exit code: 2), shutting down
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: ################################################################
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (fireeth) application reader-node shutdown unexpectedly, quitting
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (fireeth) waiting for all apps termination...
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (fireeth) all apps terminated gracefully
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: Error: instance "geth" stopped (exit code: 2), shutting down
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z ERRO (derr) dfuse {"error": "instance \"geth\" stopped (exit code: 2), shutting down"}
matthewdarwin commented 1 year ago

Fixed with polygon-v1.0.4-fh2.3

BANNI9999 commented 5 months ago

Системная информация

Версия Geth: 1.0.2-beta-fh2.3 ОС и версия: Linux debian 11

Ожидаемое поведение

Нет сбоя при запуске полигона из Genesis.

Фактическое поведение

Сбой (см. трассировку)

Шаги по воспроизведению поведения

Начнем с генезиса

обратная трассировка

Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.381Z INFO (fireeth) starting with config file '/etc/dfuse/config.yml'
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.381Z INFO (fireeth) launching applications: reader-node
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.381Z INFO (fireeth) building node arguments {"node-type": "geth", "node-role": "reader"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) adding superviser shutdown to plugins {"plugin_name": "ToZapLogPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) registered log plugin {"plugin count": 1}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) created geth superviser {"superviser": {"binary": "/usr/bin/geth", "arguments": ["server", "--chain=mainnet", "--datadir=/var/lib/bor", "--ipcpath=/var/lib/dfuse/reader/ipc", "--http", "--http.api=eth,net,web3", "--http.port=8547", "--http.addr=0.0.0.0", "--http.vhosts=*", "--firehose-enabled", "--port=30353", "--cache=8192", "--parallelevm.enable=false", "--bor.heimdall=http://172.24.25.54:1317"], "data_dir": "/var/lib/bor", "ipc_file_path": "/var/lib/dfuse/reader/ipc", "last_block_seen": 0, "enode_str": ""}}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) creating operator {"options": {"Bootstrapper":null,"EnableSupervisorMonitoring":true,"ShutdownDelay":0}}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) parsing backup configs {"configs": [], "factory_count": 1}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) parsing backup known factory {"name": "gke-pvc-snapshot"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) backup config {"config": [], "backup_module_count": 0, "backup_schedule_count": 0}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) creating mindreader plugin {"one_blocks_store_url": "file:///var/lib/dfuse/storage/one-blocks", "one_block_suffix": "x143b", "working_directory": "/var/lib/dfuse/reader/work", "start_block_num": 0, "stop_block_num": 0, "channel_capacity": 100, "with_head_block_updater": true, "with_shutdown_func": true}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) creating new mindreader plugin
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) adding superviser shutdown to plugins {"plugin_name": "MindReaderPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) registered log plugin {"plugin count": 2}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) adding superviser shutdown to plugins {"plugin_name": "TrxPoolLogPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) registered log plugin {"plugin count": 3}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.382Z INFO (reader) running node manager app {"config": {"StartupDelay":0,"HTTPAddr":":13009","ConnectionWatchdog":false,"GRPCAddr":":9000"}, "mindreader": true}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) retrieved hostname from os {"hostname": "polygon-sfdm143b"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) starting mindreader gRPC server
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (dgrpc) standard server created
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) launching operator
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) launching operator HTTP server {"http_listen_addr": ":13009"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) launching gRPC server {"listen_addr": ":9000"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.383Z INFO (reader) serving gRPC {"listen_addr": ":9000"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) starting webserver {"http_addr": ":13009"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) operator ready to receive commands
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) received operator command {"command": "start", "params": null}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) preparing for start
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) preparing to start chain
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) starting mindreader
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) creating new command instance and launch read loop {"binary": "/usr/bin/geth", "arguments": ["server", "--chain=mainnet", "--datadir=/var/lib/bor", "--ipcpath=/var/lib/dfuse/reader/ipc", "--http", "--http.api=eth,net,web3", "--http.port=8547", "--http.addr=0.0.0.0", "--http.vhosts=*", "--firehose-enabled", "--port=30353", "--cache=8192", "--parallelevm.enable=false", "--bor.heimdall=http://172.24.25.54:1317"]}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) starting consume flow
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) successfully start service
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.384Z INFO (reader) operator ready to receive commands
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.523Z INFO (reader.geth) GRPC Server started                      addr=[::]:3131
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.525Z INFO (reader.geth) firehose initialized                     enabled=true sync_instrumentation_enabled=true mining_enabled=false block_progress_enabled=false genesis_configured=true genesis_provenance="Geth Specific Flag (--<chain>)" firehose_version=2.3 geth_version="Version: 1.0.2-beta-fh2.3\nGitCommit: " chain_variant=polygon
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.525Z INFO (reader.geth) gitCommit:
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.525Z INFO (reader) read firehose instrumentation init line {"fh_version": "2.3", "node_variant": "polygon", "node_version": "Version: 1.0.2-beta-fh2.3", "normalization_features": {"CombinePolygonSystemTransactions":true,"ReorderTransactionsAndRenumberOrdinals":true,"UpgradeBlockV2ToV3":false}}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.527Z INFO (reader.geth) set global gas cap                       cap=50,000,000
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.528Z INFO (reader.geth) allocated trie memory caches             clean=1.20GiB dirty=2.00GiB
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.528Z INFO (reader.geth) using leveldb as the backing database
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.529Z INFO (reader.geth) allocated cache and file handles         database=/var/lib/bor/bor/chaindata cache=4.00GiB handles=500,000 compactionTableSize=2,097,152 compactionTableSizeMultiplier=1.000 compactionTotalSize=10,485,760 compactionTotalSizeMultiplier=10.000
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.555Z INFO (reader.geth) using LevelDB as the backing database
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.555Z INFO (reader.geth) opened ancient database                  database=/var/lib/bor/bor/chaindata/ancient/chain readonly=false
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.555Z INFO (reader.geth) writing custom genesis block
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) goroutine 1 [running]:
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) runtime/debug.Stack()
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/usr/local/go-1.21.0/src/runtime/debug/stack.go:24 +0x5e
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) runtime/debug.PrintStack()
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/usr/local/go-1.21.0/src/runtime/debug/stack.go:16 +0x13
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/firehose.(*Context).callIndex(0x1b73e3cd75d4ea06?)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/firehose/context.go:489 +0x35
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/firehose.(*Context).RecordNewAccount(0xc000694230, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/firehose/context.go:726 +0x25
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).createObject(0xc0007eb4a0, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:1068 +0x20d
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).GetOrNewStateObject(0x420f45?, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:1018 +0x70
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).AddBalance(0xc0007eb4a0, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:751 +0x68
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.(*GenesisAlloc).flush(0x47b7cb8, {0x3472e18?, 0xc00081c2e8}, 0x47e8e01?, {0xa9, 0xc2, 0x8c, 0xe2, 0x14, 0x1b, ...})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:173 +0x1b1
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.(*Genesis).Commit(0x47b7c40, {0x3472e18?, 0xc00081c2e8?}, 0x3?)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:568 +0x358
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.SetupGenesisBlockWithOverride({0x3472e18?, 0xc00081c2e8}, 0x27b93be?, 0x47b7c40, 0xc0004d7480)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:351 +0x18a
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/eth.New(0xc0001d4700, 0xc000a01000)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/eth/backend.go:199 +0xbfc
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli/server.NewServer(0xc0006ae580, {0xc0009e7ce0, 0x1, 0xd?})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/server/server.go:215 +0x694
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli/server.(*Command).Run(0xc001594500, {0xc000052110?, 0x429aeb?, 0x4c52f08?})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/server/command.go:146 +0x179
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/mitchellh/cli.(*CLI).Run(0xc0006d0640)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/build/pkg/mod/github.com/mitchellh/cli@v1.1.2/cli.go:262 +0x5b8
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli.Run({0xc000052100, 0xe, 0xe})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/command.go:51 +0x1c7
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) main.main()
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.556Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/cmd/cli/main.go:10 +0x45
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.558Z INFO (reader.geth) panic: should have been call in a block or in speculative context, something is deeply wrong
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.558Z INFO (reader.geth) goroutine 1 [running]:
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.558Z INFO (reader.geth) github.com/ethereum/go-ethereum/firehose.(*Context).callIndex(0x1b73e3cd75d4ea06?)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.558Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/firehose/context.go:490 +0x48
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/firehose.(*Context).RecordNewAccount(0xc000694230, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/firehose/context.go:726 +0x25
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).createObject(0xc0007eb4a0, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:1068 +0x20d
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).GetOrNewStateObject(0x420f45?, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:1018 +0x70
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core/state.(*StateDB).AddBalance(0xc0007eb4a0, {0x42, 0xee, 0xfc, 0xda, 0x6, 0xea, 0xd4, 0x75, 0xcd, ...}, ...)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/state/statedb.go:751 +0x68
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.(*GenesisAlloc).flush(0x47b7cb8, {0x3472e18?, 0xc00081c2e8}, 0x47e8e01?, {0xa9, 0xc2, 0x8c, 0xe2, 0x14, 0x1b, ...})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:173 +0x1b1
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.(*Genesis).Commit(0x47b7c40, {0x3472e18?, 0xc00081c2e8?}, 0x3?)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:568 +0x358
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/core.SetupGenesisBlockWithOverride({0x3472e18?, 0xc00081c2e8}, 0x27b93be?, 0x47b7c40, 0xc0004d7480)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/core/genesis.go:351 +0x18a
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) github.com/ethereum/go-ethereum/eth.New(0xc0001d4700, 0xc000a01000)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.559Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/eth/backend.go:199 +0xbfc
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli/server.NewServer(0xc0006ae580, {0xc0009e7ce0, 0x1, 0xd?})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/server/server.go:215 +0x694
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli/server.(*Command).Run(0xc001594500, {0xc000052110?, 0x429aeb?, 0x4c52f08?})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/server/command.go:146 +0x179
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) github.com/mitchellh/cli.(*CLI).Run(0xc0006d0640)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/build/pkg/mod/github.com/mitchellh/cli@v1.1.2/cli.go:262 +0x5b8
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) github.com/ethereum/go-ethereum/internal/cli.Run({0xc000052100, 0xe, 0xe})
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/internal/cli/command.go:51 +0x1c7
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) main.main()
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.560Z INFO (reader.geth) #011/tmp/build.1694820137.1192355/go-ethereum/cmd/cli/main.go:10 +0x45
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) operator is terminating {"error": "instance \"geth\" stopped (exit code: 2), shutting down"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) superviser is terminating
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) supervisor received a stop request, terminating node process
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) underlying process is not running, nothing to do
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) shutting down plugins {"last_exit_code": 2}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) stopping plugin {"plugin_name": "ToZapLogPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) stopping plugin {"plugin_name": "MindReaderPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) mindreader is stopping
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) waiting until consume read flow (i.e. blocks) is actually done processing blocks...
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) lines channel has been closed
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) reached end of console reader stream, nothing more to do
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.567Z INFO (reader) all blocks in channel were drained, exiting read flow
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) archiver selector is terminating
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) archiver selector is terminated
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) archiver Terminate done
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) consume read flow terminate
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) stopping plugin {"plugin_name": "TrxPoolLogPlugin"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) all plugins closed
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) operator is waiting for superviser to shutdown {"error": "instance \"geth\" stopped (exit code: 2), shutting down"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) operator done waiting for superviser to shutdown {"error": "instance \"geth\" stopped (exit code: 2), shutting down"}
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) chain operator terminated shutting down mindreader app
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) operator ready to receive commands
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (reader) superviser terminating, waiting for operator...
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z ERRO (fireeth)
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: ################################################################
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: Fatal error in app reader-node:
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: instance "geth" stopped (exit code: 2), shutting down
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: ################################################################
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (fireeth) application reader-node shutdown unexpectedly, quitting
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (fireeth) waiting for all apps termination...
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z INFO (fireeth) all apps terminated gracefully
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: Error: instance "geth" stopped (exit code: 2), shutting down
Sep 20 02:33:03 polygon-sfdm143b sf[7031]: 2023-09-20T02:33:03.568Z ERRO (derr) dfuse {"error": "instance \"geth\" stopped (exit code: 2), shutting down"}
maoueh commented 5 months ago

@BANNI9999 Latest Polygon version is polygon-v1.3.0-fh2.4-1, use https://github.com/streamingfast/go-ethereum/releases?q=polygon&expanded=true to check what is the latest release of each chain supported (geth, bsc and polygon).