paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.8k stars 1.06k forks source link

Segfault upon completion of sync #9942

Open CitizenSearcher opened 1 month ago

CitizenSearcher commented 1 month ago

Describe the bug

I recently synced an eth mainnet reth node from genesis. On completion of the sync, the node can run for a couple minutes before segfaulting.

This is on an AMD EPYC 4344P running Ubuntu 24.04

Steps to reproduce

Sync a node with these options and let it run:

RUST_LOG=info /home/node/reth/target/maxperf/reth node \ --datadir=/home/node/.reth/data \ --chain=mainnet \ --port=30303 \ --authrpc.jwtsecret /home/node/.secrets/jwt.hex \ --authrpc.addr 127.0.0.1 \ --authrpc.port 8551 \ --rpc-max-connections 500 \ --http \ --http.api "debug,eth,net,trace,txpool,web3,rpc" \ --ws \ --ws.api "debug,eth,net,trace,txpool,web3,rpc" \ --metrics=5005 \ --log.file.directory=/home/node/.reth/logs \ --max-outbound-peers 400 \ --max-inbound-peers 200

Node logs

Reth persistent logs:

2024-07-31T14:50:31.883472Z  INFO reth::cli: Initialized tracing, debug log directory: /home/node/.reth/logs/mainnet
2024-07-31T14:50:31.884305Z  INFO reth::cli: Starting reth version="1.0.3 (390f30aa)"
2024-07-31T14:50:31.884872Z  INFO reth::cli: Opening database path="/home/node/.reth/data/db"
2024-07-31T14:50:31.923207Z DEBUG reth_node_builder::launch::common: Raised file descriptor limit from=524288 to=524288
2024-07-31T14:50:31.924097Z  INFO reth::cli: Configuration loaded path="/home/node/.reth/data/reth.toml"
2024-07-31T14:50:31.937327Z  INFO reth::cli: Verifying storage consistency.
2024-07-31T14:50:31.939591Z  INFO reth::cli: Database opened
2024-07-31T14:50:31.939603Z  INFO reth::cli: Starting metrics endpoint addr=127.0.0.1:5005
2024-07-31T14:50:31.939662Z DEBUG reth::cli: Initializing genesis chain=mainnet genesis=0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3
2024-07-31T14:50:31.939703Z DEBUG reth_db_common::init: Genesis already written, skipping.
2024-07-31T14:50:31.939716Z  INFO reth::cli:
Pre-merge hard forks (block based):
- Frontier                         @0
- Homestead                        @1150000
- Dao                              @1920000
- Tangerine                        @2463000
- SpuriousDragon                   @2675000
- Byzantium                        @4370000
- Constantinople                   @7280000
- Petersburg                       @7280000
- Istanbul                         @9069000
- MuirGlacier                      @9200000
- Berlin                           @12244000
- London                           @12965000
- ArrowGlacier                     @13773000
- GrayGlacier                      @15050000
Merge hard forks:
- Paris                            @58750000000000000000000 (network is known to be merged)
Post-merge hard forks (timestamp based):
- Shanghai                         @1681338455
- Cancun                           @1710338135
2024-07-31T14:50:31.939721Z DEBUG reth::cli: Spawning stages metrics listener task
2024-07-31T14:50:31.939763Z DEBUG reth::cli: creating components
2024-07-31T14:50:31.939837Z DEBUG txpool::blob: Removed blob store directory blob_dir="/home/node/.reth/data/blobstore"
2024-07-31T14:50:31.939840Z DEBUG txpool::blob: Creating blob store blob_dir="/home/node/.reth/data/blobstore"
2024-07-31T14:50:31.939924Z  INFO reth::cli: Transaction pool initialized
2024-07-31T14:50:31.939927Z DEBUG reth::cli: Spawned txpool maintenance task
2024-07-31T14:50:31.940678Z DEBUG discv4: pinging boot node record=NodeRecord { address: 157.90.35.166, tcp_port: 30303, udp_port: 30303, id: 0x4aeb4ab6c14b23e2c4cfdce879c04b0748a20d8e9b59e25ded2a08143e265c6c25936e74cbc8e641e3312ca288673d91f2f93f8e277de3cfa444ecdaaf982052 }
2024-07-31T14:50:31.940749Z DEBUG discv4: pinging boot node record=NodeRecord { address: 18.138.108.67, tcp_port: 30303, udp_port: 30303, id: 0xd860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666 }
2024-07-31T14:50:31.940777Z DEBUG discv4: pinging boot node record=NodeRecord { address: 65.108.70.101, tcp_port: 30303, udp_port: 30303, id: 0x2b252ab6a1d0f971d9722cb839a42cb81db019ba44c08754628ab4a823487071b5695317c8ccd085219c3a03af063495b2f1da8d18218da2d6a82981b45e6ffc }
2024-07-31T14:50:31.940806Z DEBUG discv4: pinging boot node record=NodeRecord { address: 3.209.45.79, tcp_port: 30303, udp_port: 30303, id: 0x22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de }
2024-07-31T14:50:31.941095Z DEBUG reth::cli: configured blockchain tree
2024-07-31T14:50:31.941097Z DEBUG reth::cli: calling on_component_initialized hook
2024-07-31T14:50:31.941233Z  INFO reth::cli: StaticFileProducer initialized
2024-07-31T14:50:31.941343Z DEBUG disc::dns: Failed to lookup entry err=invalid child hash in branch:  domain=all.mainnet.ethdisco.net hash="FDXN3SN67NA5DKA4J2GOK7BVQI"
2024-07-31T14:50:31.941457Z  INFO reth::cli: Pruner initialized prune_config=PruneConfig { block_interval: 5, segments: PruneModes { sender_recovery: None, transaction_lookup: None, receipts: None, account_history: None, storage_history: None, receipts_log_filter: ReceiptsLogPruneConfig({}) } }
2024-07-31T14:50:31.941565Z  INFO reth::cli: Consensus engine initialized
2024-07-31T14:50:31.941592Z  INFO reth::cli: Engine API handler initialized
2024-07-31T14:50:31.941594Z DEBUG reth::cli: Reading JWT auth secret file user_path="/home/node/.secrets/jwt.hex"
2024-07-31T14:50:31.941637Z DEBUG reth::cli: Using RPC module config http=Some(Selection({Web3, Rpc, Txpool, Debug, Eth, Trace, Net})) ws=Some(Selection({Web3, Eth, Trace, Rpc, Txpool, Net, Debug}))
2024-07-31T14:50:31.941704Z DEBUG discv4: pinging boot node record=NodeRecord { address: 157.90.35.166, tcp_port: 30303, udp_port: 30303, id: 0x4aeb4ab6c14b23e2c4cfdce879c04b0748a20d8e9b59e25ded2a08143e265c6c25936e74cbc8e641e3312ca288673d91f2f93f8e277de3cfa444ecdaaf982052 }
2024-07-31T14:50:31.941712Z DEBUG discv4: pinging boot node record=NodeRecord { address: 18.138.108.67, tcp_port: 30303, udp_port: 30303, id: 0xd860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666 }
2024-07-31T14:50:31.941713Z DEBUG discv4: pinging boot node record=NodeRecord { address: 65.108.70.101, tcp_port: 30303, udp_port: 30303, id: 0x2b252ab6a1d0f971d9722cb839a42cb81db019ba44c08754628ab4a823487071b5695317c8ccd085219c3a03af063495b2f1da8d18218da2d6a82981b45e6ffc }
2024-07-31T14:50:31.941715Z DEBUG discv4: pinging boot node record=NodeRecord { address: 3.209.45.79, tcp_port: 30303, udp_port: 30303, id: 0x22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de }
2024-07-31T14:50:31.941784Z DEBUG reqwest::connect: starting new connection: http://ipinfo.io/
2024-07-31T14:50:31.941854Z DEBUG reqwest::connect: starting new connection: http://icanhazip.com/
2024-07-31T14:50:31.941944Z DEBUG reqwest::connect: starting new connection: http://ifconfig.me/
2024-07-31T14:50:31.941934Z DEBUG hyper_util::client::legacy::connect::dns: resolving host="ipinfo.io"
2024-07-31T14:50:31.942086Z DEBUG hyper_util::client::legacy::connect::dns: resolving host="ifconfig.me"
2024-07-31T14:50:31.942017Z DEBUG hyper_util::client::legacy::connect::dns: resolving host="icanhazip.com"
2024-07-31T14:50:31.942783Z  INFO reth::cli: RPC auth server started url=127.0.0.1:8551
2024-07-31T14:50:31.942792Z DEBUG reth_ipc::server: removed existing IPC endpoint file endpoint="/tmp/reth.ipc"
2024-07-31T14:50:31.942982Z  INFO reth::cli: RPC IPC server started path=/tmp/reth.ipc
2024-07-31T14:50:31.942986Z  INFO reth::cli: RPC HTTP server started url=127.0.0.1:8545
2024-07-31T14:50:31.942988Z  INFO reth::cli: RPC WS server started url=127.0.0.1:8546
2024-07-31T14:50:31.942998Z  INFO reth::cli: Starting consensus engine
2024-07-31T14:50:31.943144Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:50:32.023782Z DEBUG hyper_util::client::legacy::connect::http: connecting to [2600:1901:0:b2bd::]:80
2024-07-31T14:50:32.025061Z DEBUG hyper_util::client::legacy::connect::http: connected to [2600:1901:0:b2bd::]:80
2024-07-31T14:50:32.028072Z DEBUG hyper_util::client::legacy::connect::http: connecting to 34.117.59.81:80
2024-07-31T14:50:32.029333Z DEBUG hyper_util::client::legacy::connect::http: connected to 34.117.59.81:80
2024-07-31T14:50:32.032706Z DEBUG hyper_util::client::legacy::connect::http: connecting to [2606:4700::6810:b9f1]:80
2024-07-31T14:50:32.040705Z DEBUG hyper_util::client::legacy::connect::http: connected to [2606:4700::6810:b9f1]:80
2024-07-31T14:50:32.056032Z DEBUG hyper_util::client::legacy::pool: pooling idle connection for ("http", icanhazip.com)
2024-07-31T14:50:32.056066Z DEBUG discv4: Updating external ip external_ip=2607:5300:20c:ac00::
2024-07-31T14:50:32.056132Z DEBUG discv4: Updated local ENR enr=Enr { id: Some("v4"), seq: 2, NodeId: 0xf6ee749f35a4ce0800100289498ea52f3c894843db969c4931783ea8eb385988, signature: "d1dd00c1b49f4bdeca8dc4050ab7e6c51241c01daad0854020076860b0e56f6e6ca9996a91afc99dff86d7d4a4d0f0ade339ceca904001efc01e584f13a57457", IpV4 UDP Socket: Some(0.0.0.0:30303), IpV6 UDP Socket: None, IpV4 TCP Socket: Some(0.0.0.0:30303), IpV6 TCP Socket: None, Other Pairs: [("eth", "c6849f3d225480"), ("secp256k1", "a103e6077928df1f45c4d55ef610217f05f740404c86765503078ad43aedd3af3042")], .. }
2024-07-31T14:50:32.811035Z  INFO blockchain_tree: Block is already canonical, ignoring. block_hash=0x6a7d2cd7b0267a04385db6a9434108c15c7e9657e5a4a2043ee13648c88e8be9
2024-07-31T14:50:32.811066Z DEBUG consensus::engine: Ignoring beacon update to old head fcu_head_num=20427239 current_head_num=20427239
2024-07-31T14:50:32.811611Z DEBUG storage::db::mdbx: Commit total_duration=9.047µs commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 0, audit: 0, write: 0, sync: 0, ending: 0, whole: 1, gc_cputime: 0, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:50:32.811996Z DEBUG pruner: Minimum pruning interval reached previous_tip_block_number=None tip_block_number=20427239
2024-07-31T14:50:32.812003Z DEBUG consensus::engine::hooks: Polled next hook hook="Prune" result=PolledHook { name: "Prune", event: Started, db_access_level: ReadWrite }
2024-07-31T14:50:32.812008Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:50:32.812017Z  INFO reth_node_events::node: Forkchoice updated head_block_hash=0x6a7d2cd7b0267a04385db6a9434108c15c7e9657e5a4a2043ee13648c88e8be9 safe_block_hash=0x01ae9862d88ce36323e62137ec15e1a4d364c47ede94d0c481c4f184754d3644 finalized_block_hash=0x534c7d09401ac2f63b73f99bed43bd6353665ac760844163b47997875580f1f7
2024-07-31T14:50:32.812037Z DEBUG pruner: Pruner started tip_block_number=20427239
2024-07-31T14:50:32.812048Z  INFO reth_node_events::node: Pruner started tip_block_number=20427239
2024-07-31T14:50:32.812043Z DEBUG pruner: Segment pruning started segment=Headers purpose=StaticFile to_block=20427160 prune_mode=Before(20427161)
2024-07-31T14:50:32.812077Z DEBUG pruner: Segment pruning finished segment=Headers purpose=StaticFile to_block=20427160 prune_mode=Before(20427161) segment_output.pruned=0
2024-07-31T14:50:32.812084Z DEBUG pruner: Segment pruning started segment=Transactions purpose=StaticFile to_block=20427160 prune_mode=Before(20427161)
2024-07-31T14:50:32.812089Z DEBUG pruner: Segment pruning finished segment=Transactions purpose=StaticFile to_block=20427160 prune_mode=Before(20427161) segment_output.pruned=0
2024-07-31T14:50:32.812090Z DEBUG pruner: Segment pruning started segment=Receipts purpose=StaticFile to_block=20427160 prune_mode=Before(20427161)
2024-07-31T14:50:32.812094Z DEBUG pruner: Segment pruning finished segment=Receipts purpose=StaticFile to_block=20427160 prune_mode=Before(20427161) segment_output.pruned=0
2024-07-31T14:50:32.812097Z DEBUG pruner: Pruner finished tip_block_number=20427239 elapsed=54.692µs deleted_entries=0 limiter=PruneLimiter { deleted_entries_limit: Some(PruneDeletedEntriesLimit { limit: 20000, deleted: 0 }), time_limit: Some(PruneTimeLimit { limit: 100ms, start: Instant { tv_sec: 545543, tv_nsec: 819503683 } }) } output=PrunerOutput { progress: Finished, segments: [(Headers, SegmentOutput { progress: Finished, pruned: 0, checkpoint: None }), (Transactions, SegmentOutput { progress: Finished, pruned: 0, checkpoint: None }), (Receipts, SegmentOutput { progress: Finished, pruned: 0, checkpoint: None })] } stats=[]
2024-07-31T14:50:32.812122Z  INFO reth_node_events::node: Pruner finished tip_block_number=20427239 elapsed=54.692µs stats=[]
2024-07-31T14:50:32.812123Z DEBUG storage::db::mdbx: Commit total_duration=9.067µs commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 0, audit: 0, write: 0, sync: 0, ending: 0, whole: 1, gc_cputime: 0, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:50:32.812131Z DEBUG consensus::engine::hooks: Polled running hook with db write access hook="Prune" result=PolledHook { name: "Prune", event: Finished(Ok(())), db_access_level: ReadWrite }
2024-07-31T14:50:32.812254Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:50:33.871651Z DEBUG blockchain_tree: Appending block to canonical chain head=0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1 parent=BlockNumHash { number: 20427239, hash: 0x6a7d2cd7b0267a04385db6a9434108c15c7e9657e5a4a2043ee13648c88e8be9 }
2024-07-31T14:50:33.917478Z DEBUG trie::parallel_state_root: pre-calculating storage roots len=299
2024-07-31T14:50:34.098591Z DEBUG blockchain_tree::chain: Validated state root number=20427240 hash=0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1 elapsed=181.550995ms
2024-07-31T14:50:34.098639Z DEBUG consensus::engine::hooks: Next hook is not ready hook="Prune"
2024-07-31T14:50:34.098780Z  INFO reth_node_events::node: Block added to canonical chain number=20427240 hash=0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1 peers=0 txs=148 gas=10.54 Mgas gas_throughput=46.17 Mgas/second full=35.1% base_fee=15.96gwei blobs=0 excess_blobs=3 elapsed=228.239903ms
2024-07-31T14:50:34.188150Z DEBUG blockchain_tree: Committing new canonical chain: [BlockNumHash { number: 20427240, hash: 0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1 }]
2024-07-31T14:50:34.190101Z DEBUG blockchain_tree: Using cached trie updates blocks=[(20427240, 0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1)]
2024-07-31T14:50:34.224921Z DEBUG providers::db: Inserted block block_number=20427240 actions=[(InsertCanonicalHeaders, 72.175µs), (InsertHeaders, 31.879µs), (InsertHeaderNumbers, 64.481µs), (GetParentTD, 772ns), (InsertHeaderTerminalDifficulties, 17.953µs), (GetNextTxNum, 17.182µs), (InsertTransactionSenders, 141.399µs), (InsertTransactions, 1.038849ms), (InsertTransactionHashNumbers, 33.255868ms), (InsertBlockWithdrawals, 33.553µs), (InsertBlockBodyIndices, 29.936µs), (InsertTransactionBlocks, 37.591µs)]
2024-07-31T14:50:34.346484Z DEBUG providers::db: Appended blocks range=20427240..=20427240 actions=[(InsertBlock, 34.802841ms), (InsertState, 14.47798ms), (InsertHashes, 61.404174ms), (InsertHistoryIndices, 45.653238ms), (UpdatePipelineStages, 14.708µs)]
2024-07-31T14:50:34.384350Z DEBUG storage::db::mdbx: Commit total_duration=37.84699ms commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 14, audit: 0, write: 0, sync: 2462, ending: 0, whole: 2478, gc_cputime: 0, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:50:34.384384Z DEBUG blockchain_tree: Canonicalization finished actions=[(CloneOldBlocks, 28.985µs), (FindCanonicalHeader, 19.706µs), (SplitChain, 9.037µs), (SplitChainForks, 441ns), (MergeAllChains, 441ns), (UpdateCanonicalIndex, 2.505µs), (RetrieveStateTrieUpdates, 1.962825ms), (CommitCanonicalChainToDatabase, 194.254223ms)]
2024-07-31T14:50:34.384406Z DEBUG consensus::engine: Canonicalized new head hash=0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1 number=20427240
2024-07-31T14:50:34.384450Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:50:34.384569Z DEBUG txpool: cleaning up blob store finalized_block=20427160
2024-07-31T14:50:34.384575Z DEBUG txpool::blob: Removing blobs from disk num_blobs=0
2024-07-31T14:50:34.384595Z  INFO reth_node_events::node: Canonical chain committed number=20427240 hash=0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1 elapsed=196.320342ms
2024-07-31T14:50:34.528354Z DEBUG blockchain_tree: Appending block to canonical chain head=0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c parent=BlockNumHash { number: 20427240, hash: 0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1 }
2024-07-31T14:50:34.579080Z DEBUG trie::parallel_state_root: pre-calculating storage roots len=359
2024-07-31T14:50:34.772926Z DEBUG blockchain_tree::chain: Validated state root number=20427241 hash=0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c elapsed=194.301752ms
2024-07-31T14:50:34.772977Z DEBUG consensus::engine::hooks: Next hook is not ready hook="Prune"
2024-07-31T14:50:34.773127Z  INFO reth_node_events::node: Block added to canonical chain number=20427241 hash=0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c peers=0 txs=178 gas=14.92 Mgas gas_throughput=60.66 Mgas/second full=49.7% base_fee=15.37gwei blobs=2 excess_blobs=0 elapsed=245.974833ms
2024-07-31T14:50:34.866463Z DEBUG blockchain_tree: Committing new canonical chain: [BlockNumHash { number: 20427241, hash: 0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c }]
2024-07-31T14:50:34.867878Z DEBUG blockchain_tree: Using cached trie updates blocks=[(20427241, 0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c)]
2024-07-31T14:50:34.902100Z DEBUG providers::db: Inserted block block_number=20427241 actions=[(InsertCanonicalHeaders, 50.896µs), (InsertHeaders, 30.296µs), (InsertHeaderNumbers, 44.724µs), (GetParentTD, 281ns), (InsertHeaderTerminalDifficulties, 9.938µs), (GetNextTxNum, 3.968µs), (InsertTransactionSenders, 123.045µs), (InsertTransactions, 685.903µs), (InsertTransactionHashNumbers, 33.106637ms), (InsertBlockWithdrawals, 37.22µs), (InsertBlockBodyIndices, 35.236µs), (InsertTransactionBlocks, 32.891µs)]
2024-07-31T14:50:35.044689Z DEBUG providers::db: Appended blocks range=20427241..=20427241 actions=[(InsertBlock, 34.202026ms), (InsertState, 16.529452ms), (InsertHashes, 67.530165ms), (InsertHistoryIndices, 58.49772ms), (UpdatePipelineStages, 18.094µs)]
2024-07-31T14:50:35.088199Z DEBUG storage::db::mdbx: Commit total_duration=43.488906ms commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 12, audit: 0, write: 0, sync: 2826, ending: 0, whole: 2840, gc_cputime: 0, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:50:35.088233Z DEBUG blockchain_tree: Canonicalization finished actions=[(CloneOldBlocks, 20.338µs), (FindCanonicalHeader, 14.638µs), (SplitChain, 1.783µs), (SplitChainForks, 481ns), (MergeAllChains, 321ns), (UpdateCanonicalIndex, 3.045µs), (RetrieveStateTrieUpdates, 1.424387ms), (CommitCanonicalChainToDatabase, 220.329741ms)]
2024-07-31T14:50:35.088257Z DEBUG consensus::engine: Canonicalized new head hash=0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c number=20427241
2024-07-31T14:50:35.088292Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:50:35.088370Z  INFO reth_node_events::node: Canonical chain committed number=20427241 hash=0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c elapsed=221.838576ms
2024-07-31T14:50:37.222514Z DEBUG net: Session established remote_addr=157.90.35.166:30303 client_version=Geth/v1.14.5-stable-0dd173a7/linux-amd64/go1.22.4 peer_id=0x4aeb4ab6c14b23e2c4cfdce879c04b0748a20d8e9b59e25ded2a08143e265c6c25936e74cbc8e641e3312ca288673d91f2f93f8e277de3cfa444ecdaaf982052 total_active=1 kind=outgoing peer_enode=enode://4aeb4ab6c14b23e2c4cfdce879c04b0748a20d8e9b59e25ded2a08143e265c6c25936e74cbc8e641e3312ca288673d91f2f93f8e277de3cfa444ecdaaf982052@157.90.35.166:30303
2024-07-31T14:50:37.440372Z DEBUG blockchain_tree: Appending block to canonical chain head=0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb parent=BlockNumHash { number: 20427241, hash: 0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c }
2024-07-31T14:50:37.479407Z DEBUG trie::parallel_state_root: pre-calculating storage roots len=347
2024-07-31T14:50:37.642136Z DEBUG blockchain_tree::chain: Validated state root number=20427242 hash=0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb elapsed=163.088864ms
2024-07-31T14:50:37.642183Z DEBUG consensus::engine::hooks: Next hook is not ready hook="Prune"
2024-07-31T14:50:37.642212Z  INFO reth_node_events::node: Block added to canonical chain number=20427242 hash=0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb peers=1 txs=177 gas=15.18 Mgas gas_throughput=74.81 Mgas/second full=50.6% base_fee=15.36gwei blobs=0 excess_blobs=0 elapsed=202.889844ms
2024-07-31T14:50:37.733808Z DEBUG blockchain_tree: Committing new canonical chain: [BlockNumHash { number: 20427242, hash: 0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb }]
2024-07-31T14:50:37.735253Z DEBUG blockchain_tree: Using cached trie updates blocks=[(20427242, 0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb)]
2024-07-31T14:50:37.771332Z DEBUG providers::db: Inserted block block_number=20427242 actions=[(InsertCanonicalHeaders, 51.917µs), (InsertHeaders, 15.369µs), (InsertHeaderNumbers, 37.61µs), (GetParentTD, 281ns), (InsertHeaderTerminalDifficulties, 4.008µs), (GetNextTxNum, 3.967µs), (InsertTransactionSenders, 121.771µs), (InsertTransactions, 695.09µs), (InsertTransactionHashNumbers, 34.956967ms), (InsertBlockWithdrawals, 54.822µs), (InsertBlockBodyIndices, 29.686µs), (InsertTransactionBlocks, 46.978µs)]
2024-07-31T14:50:37.898415Z DEBUG providers::db: Appended blocks range=20427242..=20427242 actions=[(InsertBlock, 36.067048ms), (InsertState, 15.813612ms), (InsertHashes, 60.594216ms), (InsertHistoryIndices, 50.645958ms), (UpdatePipelineStages, 16.35µs)]
2024-07-31T14:50:37.939557Z DEBUG storage::db::mdbx: Commit total_duration=41.119499ms commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 11, audit: 0, write: 0, sync: 2681, ending: 0, whole: 2693, gc_cputime: 6, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:50:37.939590Z DEBUG blockchain_tree: Canonicalization finished actions=[(CloneOldBlocks, 23.664µs), (FindCanonicalHeader, 14.517µs), (SplitChain, 1.814µs), (SplitChainForks, 631ns), (MergeAllChains, 421ns), (UpdateCanonicalIndex, 3.316µs), (RetrieveStateTrieUpdates, 1.455636ms), (CommitCanonicalChainToDatabase, 204.309471ms)]
2024-07-31T14:50:37.939610Z DEBUG consensus::engine: Canonicalized new head hash=0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb number=20427242
2024-07-31T14:50:37.939643Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:50:37.939706Z  INFO reth_node_events::node: Canonical chain committed number=20427242 hash=0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb elapsed=205.850257ms
2024-07-31T14:50:42.162870Z DEBUG net: Session established remote_addr=198.244.253.41:30000 client_version=Geth/v1.13.14-stable-2ecaf439/linux-amd64/go1.22.2 peer_id=0x6e0cd25ba69b732ca338e6be2b1df36399201a9236e74923a84bf5aa0129dbb89692c8afa46aa5f012f8fe1044b94565ca3b293ab719ac124333b820e1cdd355 total_active=2 kind=outgoing peer_enode=enode://6e0cd25ba69b732ca338e6be2b1df36399201a9236e74923a84bf5aa0129dbb89692c8afa46aa5f012f8fe1044b94565ca3b293ab719ac124333b820e1cdd355@198.244.253.41:30000
2024-07-31T14:50:47.249405Z DEBUG net: Session established remote_addr=89.187.168.120:30000 client_version=Geth/v1.13.14-stable-2ecaf439/linux-amd64/go1.22.2 peer_id=0x28a3a725348f0c5e708f3c5c25f9bd08706831dd30276b86ae6f879714a6780a4a9ae20bce2afbfc10c4b75339030d3d314a93c73079fb9de9eb9bc4a31efc5b total_active=3 kind=outgoing peer_enode=enode://28a3a725348f0c5e708f3c5c25f9bd08706831dd30276b86ae6f879714a6780a4a9ae20bce2afbfc10c4b75339030d3d314a93c73079fb9de9eb9bc4a31efc5b@89.187.168.120:30000
2024-07-31T14:50:48.687217Z DEBUG blockchain_tree: Appending block to canonical chain head=0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2 parent=BlockNumHash { number: 20427242, hash: 0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb }
2024-07-31T14:50:48.725298Z DEBUG trie::parallel_state_root: pre-calculating storage roots len=336
2024-07-31T14:50:48.891334Z DEBUG blockchain_tree::chain: Validated state root number=20427243 hash=0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2 elapsed=166.412227ms
2024-07-31T14:50:48.891381Z DEBUG consensus::engine::hooks: Next hook is not ready hook="Prune"
2024-07-31T14:50:48.891413Z  INFO reth_node_events::node: Block added to canonical chain number=20427243 hash=0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2 peers=3 txs=168 gas=12.56 Mgas gas_throughput=61.18 Mgas/second full=41.9% base_fee=15.38gwei blobs=0 excess_blobs=0 elapsed=205.311859ms
2024-07-31T14:50:48.980546Z DEBUG blockchain_tree: Committing new canonical chain: [BlockNumHash { number: 20427243, hash: 0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2 }]
2024-07-31T14:50:48.982017Z DEBUG blockchain_tree: Using cached trie updates blocks=[(20427243, 0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2)]
2024-07-31T14:50:49.015277Z DEBUG providers::db: Inserted block block_number=20427243 actions=[(InsertCanonicalHeaders, 51.647µs), (InsertHeaders, 20.238µs), (InsertHeaderNumbers, 46.867µs), (GetParentTD, 351ns), (InsertHeaderTerminalDifficulties, 9.337µs), (GetNextTxNum, 3.888µs), (InsertTransactionSenders, 103.403µs), (InsertTransactions, 578.099µs), (InsertTransactionHashNumbers, 32.287517ms), (InsertBlockWithdrawals, 38.061µs), (InsertBlockBodyIndices, 29.606µs), (InsertTransactionBlocks, 34.935µs)]
2024-07-31T14:50:49.137616Z DEBUG providers::db: Appended blocks range=20427243..=20427243 actions=[(InsertBlock, 33.245233ms), (InsertState, 14.631228ms), (InsertHashes, 57.899981ms), (InsertHistoryIndices, 49.780297ms), (UpdatePipelineStages, 16.19µs)]
2024-07-31T14:50:49.175267Z DEBUG storage::db::mdbx: Commit total_duration=37.630966ms commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 11, audit: 0, write: 0, sync: 2445, ending: 0, whole: 2458, gc_cputime: 0, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:50:49.175296Z DEBUG blockchain_tree: Canonicalization finished actions=[(CloneOldBlocks, 19.476µs), (FindCanonicalHeader, 14.958µs), (SplitChain, 1.613µs), (SplitChainForks, 722ns), (MergeAllChains, 290ns), (UpdateCanonicalIndex, 2.455µs), (RetrieveStateTrieUpdates, 1.487045ms), (CommitCanonicalChainToDatabase, 193.256193ms)]
2024-07-31T14:50:49.175315Z DEBUG consensus::engine: Canonicalized new head hash=0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2 number=20427243
2024-07-31T14:50:49.175343Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:50:49.175567Z  INFO reth_node_events::node: Canonical chain committed number=20427243 hash=0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2 elapsed=194.819592ms
2024-07-31T14:50:56.942519Z DEBUG net::session: pending session timed out remote_addr=50.54.149.35:30303 direction=Outgoing(0xa17a4dca6b15d752a6d3162fdab542f6044626c85a19afb98996127b7d5e5cf085bc6b5588684385728f74021ba5b32f5ed46e93fe330e34e0b92c7dd0173996)
2024-07-31T14:50:56.942519Z DEBUG net::session: pending session timed out remote_addr=68.129.158.15:30404 direction=Outgoing(0x7e0d1d019c26b7824432d8f55a463deb8f1becd931d35c8a49f74c0f0d0a0d8831e2b0a564fb535ec00b2bc736a8d38334ef6c8939f9fa4e49edd74119359316)
2024-07-31T14:51:00.622247Z DEBUG blockchain_tree: Appending block to canonical chain head=0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df parent=BlockNumHash { number: 20427243, hash: 0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2 }
2024-07-31T14:51:00.676622Z DEBUG trie::parallel_state_root: pre-calculating storage roots len=356
2024-07-31T14:51:00.847200Z DEBUG blockchain_tree::chain: Validated state root number=20427244 hash=0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df elapsed=170.966795ms
2024-07-31T14:51:00.847248Z DEBUG consensus::engine::hooks: Next hook is not ready hook="Prune"
2024-07-31T14:51:00.847275Z  INFO reth_node_events::node: Block added to canonical chain number=20427244 hash=0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df peers=3 txs=177 gas=15.03 Mgas gas_throughput=66.45 Mgas/second full=50.1% base_fee=15.07gwei blobs=6 excess_blobs=0 elapsed=226.13478ms
2024-07-31T14:51:00.938127Z DEBUG blockchain_tree: Committing new canonical chain: [BlockNumHash { number: 20427244, hash: 0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df }]
2024-07-31T14:51:00.939634Z DEBUG blockchain_tree: Using cached trie updates blocks=[(20427244, 0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df)]
2024-07-31T14:51:00.972813Z DEBUG providers::db: Inserted block block_number=20427244 actions=[(InsertCanonicalHeaders, 59.992µs), (InsertHeaders, 21.992µs), (InsertHeaderNumbers, 47.799µs), (GetParentTD, 301ns), (InsertHeaderTerminalDifficulties, 10.039µs), (GetNextTxNum, 4.298µs), (InsertTransactionSenders, 124.383µs), (InsertTransactions, 690.032µs), (InsertTransactionHashNumbers, 32.059064ms), (InsertBlockWithdrawals, 36.298µs), (InsertBlockBodyIndices, 33.743µs), (InsertTransactionBlocks, 32.712µs)]
2024-07-31T14:51:01.119906Z DEBUG providers::db: Appended blocks range=20427244..=20427244 actions=[(InsertBlock, 33.16317ms), (InsertState, 17.829306ms), (InsertHashes, 66.808553ms), (InsertHistoryIndices, 62.427228ms), (UpdatePipelineStages, 16.02µs)]
2024-07-31T14:51:01.166778Z DEBUG storage::db::mdbx: Commit total_duration=46.852083ms commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 12, audit: 0, write: 0, sync: 3056, ending: 0, whole: 3069, gc_cputime: 0, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:51:01.166808Z DEBUG blockchain_tree: Canonicalization finished actions=[(CloneOldBlocks, 23.785µs), (FindCanonicalHeader, 10.83µs), (SplitChain, 1.994µs), (SplitChainForks, 440ns), (MergeAllChains, 451ns), (UpdateCanonicalIndex, 2.806µs), (RetrieveStateTrieUpdates, 1.515948ms), (CommitCanonicalChainToDatabase, 227.151083ms)]
2024-07-31T14:51:01.166826Z DEBUG consensus::engine: Canonicalized new head hash=0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df number=20427244
2024-07-31T14:51:01.166856Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:51:01.166897Z  INFO reth_node_events::node: Canonical chain committed number=20427244 hash=0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df elapsed=228.742382ms
2024-07-31T14:51:12.216590Z DEBUG net::session: pending session timed out remote_addr=52.37.41.146:30311 direction=Outgoing(0xfdfe144ce790b63794808b49000b1f2913163a2f6b004d9d49c735f44336ed6151a5a66ed7af205bc6bc04d6f1b176429b0f2381c46c048f0c095566887e825a)
2024-07-31T14:51:12.257334Z DEBUG net::session: pending session timed out remote_addr=34.127.24.222:40227 direction=Outgoing(0x23a363f6ba3c181326b54458b972a468de3969a7db4abe90cb42fab456bc1b846adc60fb866eb391f2f49f86363346a97968e2ae4a4b930e3dfa4b0753d217e8)
2024-07-31T14:51:12.269473Z DEBUG net::session: pending session timed out remote_addr=109.110.240.214:30303 direction=Outgoing(0x8508549f3888845f272c020daf29089788cbfa40e73e1bed4cdd36b68dbc9f43b5565b89a2ce1f8ce78dc08338354919f2ab00576ede733b4a507281f5cf2a6b)
2024-07-31T14:51:12.765492Z DEBUG net::session: pending session timed out remote_addr=125.168.193.212:30303 direction=Outgoing(0x0443558735b821b864f25baa69dab6023734df705a94e0cc852773be5b71d61e2ea1829bece07846e7f3e878575d0390f99d34c8338a9222c608279b97adcf37)
2024-07-31T14:51:13.776704Z DEBUG blockchain_tree: Appending block to canonical chain head=0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5 parent=BlockNumHash { number: 20427244, hash: 0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df }
2024-07-31T14:51:13.825506Z DEBUG trie::parallel_state_root: pre-calculating storage roots len=341
2024-07-31T14:51:13.970550Z DEBUG blockchain_tree::chain: Validated state root number=20427245 hash=0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5 elapsed=145.503894ms
2024-07-31T14:51:13.970598Z DEBUG pruner: Minimum pruning interval reached previous_tip_block_number=Some(20427239) tip_block_number=20427244
2024-07-31T14:51:13.970605Z DEBUG consensus::engine::hooks: Polled next hook hook="Prune" result=PolledHook { name: "Prune", event: Started, db_access_level: ReadWrite }
2024-07-31T14:51:13.970611Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:51:13.970641Z  INFO reth_node_events::node: Block added to canonical chain number=20427245 hash=0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5 peers=3 txs=157 gas=19.18 Mgas gas_throughput=98.31 Mgas/second full=63.9% base_fee=15.07gwei blobs=5 excess_blobs=3 elapsed=195.089929ms
2024-07-31T14:51:13.970641Z DEBUG pruner: Pruner started tip_block_number=20427244
2024-07-31T14:51:13.970648Z DEBUG pruner: Segment pruning started segment=Headers purpose=StaticFile to_block=20427160 prune_mode=Before(20427161)
2024-07-31T14:51:13.970654Z  INFO reth_node_events::node: Pruner started tip_block_number=20427244
2024-07-31T14:51:13.970655Z DEBUG pruner: Segment pruning finished segment=Headers purpose=StaticFile to_block=20427160 prune_mode=Before(20427161) segment_output.pruned=0
2024-07-31T14:51:13.970657Z DEBUG pruner: Segment pruning started segment=Transactions purpose=StaticFile to_block=20427160 prune_mode=Before(20427161)
2024-07-31T14:51:13.970667Z DEBUG pruner: Segment pruning finished segment=Transactions purpose=StaticFile to_block=20427160 prune_mode=Before(20427161) segment_output.pruned=0
2024-07-31T14:51:13.970668Z DEBUG pruner: Segment pruning started segment=Receipts purpose=StaticFile to_block=20427160 prune_mode=Before(20427161)
2024-07-31T14:51:13.970670Z DEBUG pruner: Segment pruning finished segment=Receipts purpose=StaticFile to_block=20427160 prune_mode=Before(20427161) segment_output.pruned=0
2024-07-31T14:51:13.970672Z DEBUG pruner: Pruner finished tip_block_number=20427244 elapsed=25.167µs deleted_entries=0 limiter=PruneLimiter { deleted_entries_limit: Some(PruneDeletedEntriesLimit { limit: 20000, deleted: 0 }), time_limit: Some(PruneTimeLimit { limit: 100ms, start: Instant { tv_sec: 545584, tv_nsec: 978109736 } }) } output=PrunerOutput { progress: Finished, segments: [(Headers, SegmentOutput { progress: Finished, pruned: 0, checkpoint: None }), (Transactions, SegmentOutput { progress: Finished, pruned: 0, checkpoint: None }), (Receipts, SegmentOutput { progress: Finished, pruned: 0, checkpoint: None })] } stats=[]
2024-07-31T14:51:13.970692Z DEBUG storage::db::mdbx: Commit total_duration=10.169µs commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 0, audit: 0, write: 0, sync: 0, ending: 0, whole: 1, gc_cputime: 0, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:51:13.970696Z  INFO reth_node_events::node: Pruner finished tip_block_number=20427244 elapsed=25.167µs stats=[]
2024-07-31T14:51:13.970703Z DEBUG consensus::engine::hooks: Polled running hook with db write access hook="Prune" result=PolledHook { name: "Prune", event: Finished(Ok(())), db_access_level: ReadWrite }
2024-07-31T14:51:13.970812Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:51:14.059949Z DEBUG blockchain_tree: Committing new canonical chain: [BlockNumHash { number: 20427245, hash: 0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5 }]
2024-07-31T14:51:14.061444Z DEBUG blockchain_tree: Using cached trie updates blocks=[(20427245, 0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5)]
2024-07-31T14:51:14.093253Z DEBUG providers::db: Inserted block block_number=20427245 actions=[(InsertCanonicalHeaders, 68.008µs), (InsertHeaders, 23.864µs), (InsertHeaderNumbers, 52.969µs), (GetParentTD, 321ns), (InsertHeaderTerminalDifficulties, 11.211µs), (GetNextTxNum, 4.478µs), (InsertTransactionSenders, 110.675µs), (InsertTransactions, 784.346µs), (InsertTransactionHashNumbers, 30.583585ms), (InsertBlockWithdrawals, 37.49µs), (InsertBlockBodyIndices, 34.315µs), (InsertTransactionBlocks, 34.174µs)]
2024-07-31T14:51:14.241658Z DEBUG providers::db: Appended blocks range=20427245..=20427245 actions=[(InsertBlock, 31.785229ms), (InsertState, 17.239011ms), (InsertHashes, 70.943275ms), (InsertHistoryIndices, 60.19592ms), (UpdatePipelineStages, 15.92µs)]
2024-07-31T14:51:14.287004Z DEBUG storage::db::mdbx: Commit total_duration=45.32869ms commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 15, audit: 0, write: 0, sync: 2946, ending: 0, whole: 2963, gc_cputime: 0, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:51:14.287037Z DEBUG blockchain_tree: Canonicalization finished actions=[(CloneOldBlocks, 21.079µs), (FindCanonicalHeader, 15.75µs), (SplitChain, 1.703µs), (SplitChainForks, 551ns), (MergeAllChains, 311ns), (UpdateCanonicalIndex, 2.574µs), (RetrieveStateTrieUpdates, 1.504388ms), (CommitCanonicalChainToDatabase, 225.567316ms)]
2024-07-31T14:51:14.287055Z DEBUG consensus::engine: Canonicalized new head hash=0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5 number=20427245
2024-07-31T14:51:14.287083Z DEBUG consensus::engine::hooks: Next hook is not ready hook="Prune"
2024-07-31T14:51:14.287305Z  INFO reth_node_events::node: Canonical chain committed number=20427245 hash=0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5 elapsed=227.151373ms
2024-07-31T14:51:25.162543Z DEBUG blockchain_tree: Appending block to canonical chain head=0xb3c92b7c2f76e40b78f6c188993221024fae71c08ad2f393866a1996031bd923 parent=BlockNumHash { number: 20427245, hash: 0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5 }
2024-07-31T14:51:25.206735Z DEBUG trie::parallel_state_root: pre-calculating storage roots len=371
2024-07-31T14:51:25.380317Z DEBUG blockchain_tree::chain: Validated state root number=20427246 hash=0xb3c92b7c2f76e40b78f6c188993221024fae71c08ad2f393866a1996031bd923 elapsed=174.053484ms
2024-07-31T14:51:25.380367Z DEBUG consensus::engine::hooks: Next hook is not ready hook="StaticFile"
2024-07-31T14:51:25.380772Z  INFO reth_node_events::node: Block added to canonical chain number=20427246 hash=0xb3c92b7c2f76e40b78f6c188993221024fae71c08ad2f393866a1996031bd923 peers=3 txs=176 gas=14.90 Mgas gas_throughput=68.03 Mgas/second full=49.7% base_fee=15.60gwei blobs=6 excess_blobs=5 elapsed=219.002854ms
2024-07-31T14:51:25.470920Z DEBUG blockchain_tree: Committing new canonical chain: [BlockNumHash { number: 20427246, hash: 0xb3c92b7c2f76e40b78f6c188993221024fae71c08ad2f393866a1996031bd923 }]
2024-07-31T14:51:25.472824Z DEBUG blockchain_tree: Using cached trie updates blocks=[(20427246, 0xb3c92b7c2f76e40b78f6c188993221024fae71c08ad2f393866a1996031bd923)]
2024-07-31T14:51:25.507692Z DEBUG providers::db: Inserted block block_number=20427246 actions=[(InsertCanonicalHeaders, 52.879µs), (InsertHeaders, 23.705µs), (InsertHeaderNumbers, 66.514µs), (GetParentTD, 611ns), (InsertHeaderTerminalDifficulties, 11.923µs), (GetNextTxNum, 4.348µs), (InsertTransactionSenders, 121.843µs), (InsertTransactions, 609.528µs), (InsertTransactionHashNumbers, 33.806243ms), (InsertBlockWithdrawals, 37.72µs), (InsertBlockBodyIndices, 35.156µs), (InsertTransactionBlocks, 28.383µs)]
2024-07-31T14:51:25.644491Z DEBUG providers::db: Appended blocks range=20427246..=20427246 actions=[(InsertBlock, 34.842645ms), (InsertState, 16.44271ms), (InsertHashes, 64.960311ms), (InsertHistoryIndices, 55.366587ms), (UpdatePipelineStages, 16.801µs)]
2024-07-31T14:51:25.688214Z DEBUG storage::db::mdbx: Commit total_duration=43.701954ms commit_latency=Some(CommitLatency(MDBX_commit_latency { preparation: 0, gc_wallclock: 13, audit: 0, write: 0, sync: 2849, ending: 0, whole: 2863, gc_cputime: 0, gc_prof: MDBX_commit_latency__bindgen_ty_1 { wloops: 0, coalescences: 0, wipes: 0, flushes: 0, kicks: 0, work_counter: 0, work_rtime_monotonic: 0, work_xtime_cpu: 0, work_rsteps: 0, work_xpages: 0, work_majflt: 0, self_counter: 0, self_rtime_monotonic: 0, self_xtime_cpu: 0, self_rsteps: 0, self_xpages: 0, self_majflt: 0 } })) is_read_only=false
2024-07-31T14:51:25.688248Z DEBUG blockchain_tree: Canonicalization finished actions=[(CloneOldBlocks, 19.487µs), (FindCanonicalHeader, 15.559µs), (SplitChain, 2.004µs), (SplitChainForks, 551ns), (MergeAllChains, 11.201µs), (UpdateCanonicalIndex, 3.316µs), (RetrieveStateTrieUpdates, 1.913583ms), (CommitCanonicalChainToDatabase, 215.395579ms)]
2024-07-31T14:51:25.688265Z DEBUG consensus::engine: Canonicalized new head hash=0xb3c92b7c2f76e40b78f6c188993221024fae71c08ad2f393866a1996031bd923 number=20427246
2024-07-31T14:51:25.688296Z DEBUG consensus::engine::hooks: Next hook is not ready hook="Prune"
2024-07-31T14:51:25.688326Z  INFO reth_node_events::node: Canonical chain committed number=20427246 hash=0xb3c92b7c2f76e40b78f6c188993221024fae71c08ad2f393866a1996031bd923 elapsed=217.400623ms
2024-07-31T14:51:26.942530Z DEBUG net::session: pending session timed out remote_addr=185.24.122.181:30303 direction=Outgoing(0xb5b019597dedc564582cc6dc0fe98695f4e4b39e82aa29294ddba0412fb721a9fd155b9262688f4aaf3ba06d064c410024c2fdbdfaa8c93d2a24d37ebc2f26b3)
2024-07-31T14:51:27.031203Z DEBUG net: Session established remote_addr=50.21.173.102:30303 client_version=Nethermind/v1.27.1+d2d5d4ae/linux-x64/dotnet8.0.7 peer_id=0x53b0c687ef633cf0af5c73137236c4df49de7c0b91d33bf27bf8d3faa3a4358b7f94ea420e476bdb279de68b0d5c5e3280b9d76b65128f121deb53f3a242f573 total_active=4 kind=outgoing peer_enode=enode://53b0c687ef633cf0af5c73137236c4df49de7c0b91d33bf27bf8d3faa3a4358b7f94ea420e476bdb279de68b0d5c5e3280b9d76b65128f121deb53f3a242f573@50.21.173.102:30303
2024-07-31T14:51:27.486316Z DEBUG net: Session established remote_addr=167.179.75.28:30303 client_version=Geth/v1.13.14-stable/linux-amd64/go1.22.4 peer_id=0x46948128c35a1d9b2d05067f70882873f517075dd7709e78f19601244a3741c2d9be34169f67764b42019dbc6ce24dbaa4210ec4f57225df30f04b10f30f59a8 total_active=5 kind=outgoing peer_enode=enode://46948128c35a1d9b2d05067f70882873f517075dd7709e78f19601244a3741c2d9be34169f67764b42019dbc6ce24dbaa4210ec4f57225df30f04b10f30f59a8@167.179.75.28:30303

Journalctl logs:
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.883453Z  INFO Initialized tracing, debug log directory: /home/node/.reth/logs/mainnet
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.884293Z  INFO Starting reth version="1.0.3 (390f30aa)"
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.884866Z  INFO Opening database path="/home/node/.reth/data/db"
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.924091Z  INFO Configuration loaded path="/home/node/.reth/data/reth.toml"
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.937323Z  INFO Verifying storage consistency.
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.939587Z  INFO Database opened
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.939593Z  INFO Starting metrics endpoint addr=127.0.0.1:5005
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.939707Z  INFO
Jul 31 14:50:31 omont3 reth[176719]: Pre-merge hard forks (block based):
Jul 31 14:50:31 omont3 reth[176719]: - Frontier                         @0
Jul 31 14:50:31 omont3 reth[176719]: - Homestead                        @1150000
Jul 31 14:50:31 omont3 reth[176719]: - Dao                              @1920000
Jul 31 14:50:31 omont3 reth[176719]: - Tangerine                        @2463000
Jul 31 14:50:31 omont3 reth[176719]: - SpuriousDragon                   @2675000
Jul 31 14:50:31 omont3 reth[176719]: - Byzantium                        @4370000
Jul 31 14:50:31 omont3 reth[176719]: - Constantinople                   @7280000
Jul 31 14:50:31 omont3 reth[176719]: - Petersburg                       @7280000
Jul 31 14:50:31 omont3 reth[176719]: - Istanbul                         @9069000
Jul 31 14:50:31 omont3 reth[176719]: - MuirGlacier                      @9200000
Jul 31 14:50:31 omont3 reth[176719]: - Berlin                           @12244000
Jul 31 14:50:31 omont3 reth[176719]: - London                           @12965000
Jul 31 14:50:31 omont3 reth[176719]: - ArrowGlacier                     @13773000
Jul 31 14:50:31 omont3 reth[176719]: - GrayGlacier                      @15050000
Jul 31 14:50:31 omont3 reth[176719]: Merge hard forks:
Jul 31 14:50:31 omont3 reth[176719]: - Paris                            @58750000000000000000000 (network is known to be merged)
Jul 31 14:50:31 omont3 reth[176719]: Post-merge hard forks (timestamp based):
Jul 31 14:50:31 omont3 reth[176719]: - Shanghai                         @1681338455
Jul 31 14:50:31 omont3 reth[176719]: - Cancun                           @1710338135
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.939920Z  INFO Transaction pool initialized
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.941229Z  INFO StaticFileProducer initialized
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.941448Z  INFO Pruner initialized prune_config=PruneConfig { block_interval: 5, segments: PruneModes { sender_recovery: None, transaction_lookup: None, receipts: None, account_history: None, storage_history: None, receipts_log_filter: ReceiptsLogPruneConfig({}) } }
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.941562Z  INFO Consensus engine initialized
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.941590Z  INFO Engine API handler initialized
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.942777Z  INFO RPC auth server started url=127.0.0.1:8551
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.942979Z  INFO RPC IPC server started path=/tmp/reth.ipc
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.942984Z  INFO RPC HTTP server started url=127.0.0.1:8545
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.942987Z  INFO RPC WS server started url=127.0.0.1:8546
Jul 31 14:50:31 omont3 reth[176719]: 2024-07-31T14:50:31.942996Z  INFO Starting consensus engine
Jul 31 14:50:32 omont3 reth[176719]: 2024-07-31T14:50:32.811022Z  INFO Block is already canonical, ignoring. block_hash=0x6a7d2cd7b0267a04385db6a9434108c15c7e9657e5a4a2043ee13648c88e8be9
Jul 31 14:50:32 omont3 reth[176719]: 2024-07-31T14:50:32.812011Z  INFO Forkchoice updated head_block_hash=0x6a7d2cd7b0267a04385db6a9434108c15c7e9657e5a4a2043ee13648c88e8be9 safe_block_hash=0x01ae9862d88ce36323e62137ec15e1a4d364c47ede94d0c481c4f184754d3644 finalized_block_hash=0x534c7d09401ac2f63b73f99bed43bd6353665ac760844163b47997875580f1f7
Jul 31 14:50:32 omont3 reth[176719]: 2024-07-31T14:50:32.812041Z  INFO Pruner started tip_block_number=20427239
Jul 31 14:50:32 omont3 reth[176719]: 2024-07-31T14:50:32.812118Z  INFO Pruner finished tip_block_number=20427239 elapsed=54.692µs stats=[]
Jul 31 14:50:34 omont3 reth[176719]: 2024-07-31T14:50:34.098766Z  INFO Block added to canonical chain number=20427240 hash=0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1 peers=0 txs=148 gas=10.54 Mgas gas_throughput=46.17 Mgas/second full=35.1% base_fee=15.96gwei blobs=0 excess_blobs=3 elapsed=228.239903ms
Jul 31 14:50:34 omont3 reth[176719]: 2024-07-31T14:50:34.384559Z  INFO Canonical chain committed number=20427240 hash=0x6bc97c5b7b8675b86ac364d2e31768db58b4971621d8aa8f0995980ec43627c1 elapsed=196.320342ms
Jul 31 14:50:34 omont3 reth[176719]: 2024-07-31T14:50:34.773108Z  INFO Block added to canonical chain number=20427241 hash=0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c peers=0 txs=178 gas=14.92 Mgas gas_throughput=60.66 Mgas/second full=49.7% base_fee=15.37gwei blobs=2 excess_blobs=0 elapsed=245.974833ms
Jul 31 14:50:35 omont3 reth[176719]: 2024-07-31T14:50:35.088353Z  INFO Canonical chain committed number=20427241 hash=0x34c538260e85fd13f2f0f490c807c2467be73fc0e307a9ae81cdacd2c297c46c elapsed=221.838576ms
Jul 31 14:50:37 omont3 reth[176719]: 2024-07-31T14:50:37.642199Z  INFO Block added to canonical chain number=20427242 hash=0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb peers=1 txs=177 gas=15.18 Mgas gas_throughput=74.81 Mgas/second full=50.6% base_fee=15.36gwei blobs=0 excess_blobs=0 elapsed=202.889844ms
Jul 31 14:50:37 omont3 reth[176719]: 2024-07-31T14:50:37.939694Z  INFO Canonical chain committed number=20427242 hash=0x6f1524e8c0e58749e67ebddc95947aa1a6a278d0d26b4958b17dd4f040af39fb elapsed=205.850257ms
Jul 31 14:50:48 omont3 reth[176719]: 2024-07-31T14:50:48.891399Z  INFO Block added to canonical chain number=20427243 hash=0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2 peers=3 txs=168 gas=12.56 Mgas gas_throughput=61.18 Mgas/second full=41.9% base_fee=15.38gwei blobs=0 excess_blobs=0 elapsed=205.311859ms
Jul 31 14:50:49 omont3 reth[176719]: 2024-07-31T14:50:49.175557Z  INFO Canonical chain committed number=20427243 hash=0xde2feb0a71690aab3dc5109d150e2d24d239ec38f192d85e54da902dfd5918f2 elapsed=194.819592ms
Jul 31 14:51:00 omont3 reth[176719]: 2024-07-31T14:51:00.847261Z  INFO Block added to canonical chain number=20427244 hash=0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df peers=3 txs=177 gas=15.03 Mgas gas_throughput=66.45 Mgas/second full=50.1% base_fee=15.07gwei blobs=6 excess_blobs=0 elapsed=226.13478ms
Jul 31 14:51:01 omont3 reth[176719]: 2024-07-31T14:51:01.166885Z  INFO Canonical chain committed number=20427244 hash=0xd05066aeec147a3f32d650558b4a1dbc7e819871902f766fcece48478a5682df elapsed=228.742382ms
Jul 31 14:51:13 omont3 reth[176719]: 2024-07-31T14:51:13.970625Z  INFO Block added to canonical chain number=20427245 hash=0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5 peers=3 txs=157 gas=19.18 Mgas gas_throughput=98.31 Mgas/second full=63.9% base_fee=15.07gwei blobs=5 excess_blobs=3 elapsed=195.089929ms
Jul 31 14:51:13 omont3 reth[176719]: 2024-07-31T14:51:13.970652Z  INFO Pruner started tip_block_number=20427244
Jul 31 14:51:13 omont3 reth[176719]: 2024-07-31T14:51:13.970690Z  INFO Pruner finished tip_block_number=20427244 elapsed=25.167µs stats=[]
Jul 31 14:51:14 omont3 reth[176719]: 2024-07-31T14:51:14.287293Z  INFO Canonical chain committed number=20427245 hash=0x7b0867b271b90e5e4f2e7615fe7f0d31c3ed194a4718cec245195b7d1917e1e5 elapsed=227.151373ms
Jul 31 14:51:25 omont3 reth[176719]: 2024-07-31T14:51:25.380756Z  INFO Block added to canonical chain number=20427246 hash=0xb3c92b7c2f76e40b78f6c188993221024fae71c08ad2f393866a1996031bd923 peers=3 txs=176 gas=14.90 Mgas gas_throughput=68.03 Mgas/second full=49.7% base_fee=15.60gwei blobs=6 excess_blobs=5 elapsed=219.002854ms
Jul 31 14:51:25 omont3 reth[176719]: 2024-07-31T14:51:25.688312Z  INFO Canonical chain committed number=20427246 hash=0xb3c92b7c2f76e40b78f6c188993221024fae71c08ad2f393866a1996031bd923 elapsed=217.400623ms
Jul 31 14:51:27 omont3 reth[176719]: error: reth interrupted by SIGSEGV, printing backtrace
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x20d26e6)[0x5d554df016e6]
Jul 31 14:51:27 omont3 reth[176719]: /lib/x86_64-linux-gnu/libc.so.6(+0x45320)[0x7e3ab2845320]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x22183be)[0x5d554e0473be]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x2218255)[0x5d554e047255]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x2266690)[0x5d554e095690]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x227bff5)[0x5d554e0aaff5]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x2478c2f)[0x5d554e2a7c2f]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x2479326)[0x5d554e2a8326]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x2711ede)[0x5d554e540ede]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x271b394)[0x5d554e54a394]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x2704025)[0x5d554e533025]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x2703d6a)[0x5d554e532d6a]
Jul 31 14:51:27 omont3 reth[176719]: /home/node/reth/target/maxperf/reth(+0x26dbf2b)[0x5d554e50af2b]
Jul 31 14:51:27 omont3 reth[176719]: /lib/x86_64-linux-gnu/libc.so.6(+0x9ca94)[0x7e3ab289ca94]
Jul 31 14:51:27 omont3 reth[176719]: /lib/x86_64-linux-gnu/libc.so.6(+0x129c3c)[0x7e3ab2929c3c]
Jul 31 14:51:27 omont3 reth[176719]: note: we would appreciate a report at https://github.com/paradigmxyz/reth
Jul 31 14:51:27 omont3 reth[176718]: /home/node/start_reth.sh: line 16: 176719 Segmentation fault      (core dumped) RUST_LOG=info /home/node/reth/target/maxperf/reth node --datadir=/home/node/.reth/data --chain=mainnet --port=30303 --authrpc.jwtsecret /home/node/.secrets/jwt.hex --authrpc.addr 127.0.0.1 --authrpc.port 8551 --rpc-max-connections 500 --http --http.api "debug,eth,net,trace,txpool,web3,rpc" --ws --ws.api "debug,eth,net,trace,txpool,web3,rpc" --metrics=5005 --log.file.directory=/home/node/.reth/logs --max-outbound-peers 400 --max-inbound-peers 200

Platform(s)

Linux (x86)

What version/commit are you on?

reth Version: 1.0.3 Commit SHA: 390f30aadebcdd509e72cc04327c3b854de076a6 Build Timestamp: 2024-07-25T07:56:29.407408899Z Build Features: jemalloc Build Profile: maxperf

What database version are you on?

Current database version: 2 Local database version: 2

Which chain / network are you on?

Eth mainnet

What type of node are you running?

Archive (default)

What prune config do you use, if any?

No response

If you've built Reth from source, provide the full command you used

RUSTFLAGS="-C target-cpu=native" cargo build --profile maxperf

Code of Conduct

CitizenSearcher commented 1 month ago

After some experimentation, I found when compiling without RUSTFLAGS="-C target-cpu=native", the segfaults stop.

dallonby commented 1 month ago

same issue, same solution. I'm also running on AMD CPU.

eierina commented 3 weeks ago

Few details on this issue from my side:

rust-lldb /mnt/eth/store/reth-src/target/maxperf-debug/deps/reth-ac3b809190595c73 /tmp/core-tokio-runtime-w-11-1000-1000-202748-1724080468
(lldb) bt
* thread #1, name = 'reth', stop reason = signal SIGSEGV: invalid address
  * frame #0: 0x00007fec1eb8000d libc.so.6`__memmove_avx512_unaligned_erms + 13
    frame #1: 0x0000562207b4c67d reth-ac3b809190595c73`_$LT$alloc..vec..Vec$LT$u8$GT$$u20$as$u20$bytes..buf..buf_mut..BufMut$GT$::put_slice::hebe8c90fc75baf6a [inlined] core::intrinsics::copy_nonoverlapping::h6b441d860ac4e652 at intrinsics.rs:2959:14
    frame #2: 0x0000562207b4c677 reth-ac3b809190595c73`_$LT$alloc..vec..Vec$LT$u8$GT$$u20$as$u20$bytes..buf..buf_mut..BufMut$GT$::put_slice::hebe8c90fc75baf6a [inlined] alloc::vec::Vec$LT$T$C$A$GT$::append_elements::h4cb784e1421b060c(self=0x00007fec0e3fd7d8, other=*const [u8] @ 0x00000000369e0ff0) at mod.rs:2147:18
    frame #3: 0x0000562207b4c658 reth-ac3b809190595c73`_$LT$alloc..vec..Vec$LT$u8$GT$$u20$as$u20$bytes..buf..buf_mut..BufMut$GT$::put_slice::hebe8c90fc75baf6a [inlined] _$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$alloc..vec..spec_extend..SpecExtend$LT$$RF$T$C$core..slice..iter..Iter$LT$T$GT$$GT$$GT$::spec_extend::h261c12bfbd9ed9be(self=0x00007fec0e3fd7d8, iterator=<unavailable>) at spec_extend.rs:55:18
    frame #4: 0x0000562207b4c658 reth-ac3b809190595c73`_$LT$alloc..vec..Vec$LT$u8$GT$$u20$as$u20$bytes..buf..buf_mut..BufMut$GT$::put_slice::hebe8c90fc75baf6a [inlined] alloc::vec::Vec$LT$T$C$A$GT$::extend_from_slice::h4fa86c5faa78e1bf(self=0x00007fec0e3fd7d8, other=size=1060) at mod.rs:2591:9
    frame #5: 0x0000562207b4c658 reth-ac3b809190595c73`_$LT$alloc..vec..Vec$LT$u8$GT$$u20$as$u20$bytes..buf..buf_mut..BufMut$GT$::put_slice::hebe8c90fc75baf6a(self=0x00007fec0e3fd7d8, src=size=1060) at buf_mut.rs:1628:9
    frame #6: 0x000056220827b0ee reth-ac3b809190595c73`reth_primitives::transaction::legacy::TxLegacy::encode_fields::h4467f863b49f5f72 [inlined] _$LT$$u5b$u8$u5d$$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::h92e325f31777a58d(self=size=1060, out=&mut dyn bytes::buf::buf_mut::BufMut @ 0x00000000380373b0) at encode.rs:91:9
    frame #7: 0x000056220827b087 reth-ac3b809190595c73`reth_primitives::transaction::legacy::TxLegacy::encode_fields::h4467f863b49f5f72 [inlined] _$LT$bytes..bytes..Bytes$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::he5497625d03f6d9e at encode.rs:220:17
    frame #8: 0x000056220827b07d reth-ac3b809190595c73`reth_primitives::transaction::legacy::TxLegacy::encode_fields::h4467f863b49f5f72(self=<unavailable>, out=&mut dyn bytes::buf::buf_mut::BufMut @ 0x00000000383ffb00) at legacy.rs:82:22
    frame #9: 0x000056220827eb45 reth-ac3b809190595c73`reth_primitives::transaction::legacy::TxLegacy::encode_with_signature::hf626b7f6627e7213(self=0x00007feb5e19a440, signature=0x00007feb5e19a4f0, out=&mut dyn bytes::buf::buf_mut::BufMut @ 0x000000003840b180) at legacy.rs:97:9
    frame #10: 0x0000562208053707 reth-ac3b809190595c73`_$LT$reth_eth_wire_types..message..EthMessage$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::hd6a1184fd4cc3499 [inlined] _$LT$reth_primitives..transaction..pooled..PooledTransactionsElement$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::h9d9d018da0673fbe(self=0x00007feb5e19a440, out=&mut dyn bytes::buf::buf_mut::BufMut @ 0x000000003877cdd0) at pooled.rs:482:17
    frame #11: 0x00005622080536d7 reth-ac3b809190595c73`_$LT$reth_eth_wire_types..message..EthMessage$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::hd6a1184fd4cc3499 [inlined] alloy_rlp::encode::encode_list::h7b7eb7f8e0b4ec5e(values=size=0, out=&mut dyn bytes::buf::buf_mut::BufMut @ 0x00000000383ffe20) at encode.rs:334:9
    frame #12: 0x000056220805365c reth-ac3b809190595c73`_$LT$reth_eth_wire_types..message..EthMessage$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::hd6a1184fd4cc3499 [inlined] _$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::h1e509aa6d47fae90 at encode.rs:205:9
    frame #13: 0x000056220805365c reth-ac3b809190595c73`_$LT$reth_eth_wire_types..message..EthMessage$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::hd6a1184fd4cc3499 [inlined] reth_eth_wire_types::transactions::_::_$LT$impl$u20$alloy_rlp..encode..Encodable$u20$for$u20$reth_eth_wire_types..transactions..PooledTransactions$GT$::encode::hb2fb9bfc4ebbac85(self=<unavailable>, out=&mut dyn bytes::buf::buf_mut::BufMut @ 0x0000000038851390) at transactions.rs:41:5
    frame #14: 0x000056220805365c reth-ac3b809190595c73`_$LT$reth_eth_wire_types..message..EthMessage$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::hd6a1184fd4cc3499 [inlined] _$LT$reth_eth_wire_types..message..RequestPair$LT$T$GT$$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::h43516c5463a7fee0(self=<unavailable>, out=&mut dyn bytes::buf::buf_mut::BufMut @ 0x0000000038830130) at message.rs:458:9
    frame #15: 0x0000562208053581 reth-ac3b809190595c73`_$LT$reth_eth_wire_types..message..EthMessage$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::hd6a1184fd4cc3499(self=<unavailable>, out=&mut dyn bytes::buf::buf_mut::BufMut @ 0x00000000388300b0) at message.rs:259:55
    frame #16: 0x000056220812d2e2 reth-ac3b809190595c73`alloy_rlp::encode::encode::h8258f546e74a0419 [inlined] _$LT$reth_eth_wire_types..message..ProtocolMessage$u20$as$u20$alloy_rlp..encode..Encodable$GT$::encode::hb9b13ca53cf9b0d8(self=0x00007fec0e3fdcc0, out=&mut dyn bytes::buf::buf_mut::BufMut @ 0x000000003886f2a0) at message.rs:124:9
    frame #17: 0x000056220812d2c9 reth-ac3b809190595c73`alloy_rlp::encode::encode::h8258f546e74a0419(value=ProtocolMessage @ 0x00007fec0e3fdcc0) at encode.rs:294:5
    frame #18: 0x0000562208142db4 reth-ac3b809190595c73`_$LT$reth_network..session..active..ActiveSession$u20$as$u20$core..future..future..Future$GT$::poll::hd93fab6f73483dcc [inlined] _$LT$reth_eth_wire..ethstream..EthStream$LT$S$GT$$u20$as$u20$futures_sink..Sink$LT$reth_eth_wire_types..message..EthMessage$GT$$GT$::start_send::h4d0be6fc373cbd50(self=Pin<&mut reth_eth_wire::ethstream::EthStream<reth_eth_wire::p2pstream::P2PStream<reth_ecies::stream::ECIESStream<tokio::net::tcp::stream::TcpStream>>>> @ scalar, item=EthMessage @ 0x00007fec0e3fe788) at ethstream.rs:321:37
    frame #19: 0x0000562208142d34 reth-ac3b809190595c73`_$LT$reth_network..session..active..ActiveSession$u20$as$u20$core..future..future..Future$GT$::poll::hd93fab6f73483dcc [inlined] futures_sink::if_alloc::_$LT$impl$u20$futures_sink..Sink$LT$Item$GT$$u20$for$u20$alloc..boxed..Box$LT$S$GT$$GT$::start_send::h3a5efa773515909c(self=<unavailable>, item=EthMessage @ 0x00007fec0e3fe788) at lib.rs:223:13
    frame #20: 0x0000562208142d34 reth-ac3b809190595c73`_$LT$reth_network..session..active..ActiveSession$u20$as$u20$core..future..future..Future$GT$::poll::hd93fab6f73483dcc [inlined] _$LT$reth_network..session..conn..EthRlpxConnection$u20$as$u20$futures_sink..Sink$LT$reth_eth_wire_types..message..EthMessage$GT$$GT$::start_send::h0fb04eaf634a5d92(self=Pin<&mut reth_network::session::conn::EthRlpxConnection> @ 0x00007fec0e3fd838, item=EthMessage @ 0x00007fec0e3fe788) at conn.rs:108:37
    frame #21: 0x0000562208142d30 reth-ac3b809190595c73`_$LT$reth_network..session..active..ActiveSession$u20$as$u20$core..future..future..Future$GT$::poll::hd93fab6f73483dcc [inlined] futures_util::sink::SinkExt::start_send_unpin::hcea34e508539f1ac at mod.rs:315:9
    frame #22: 0x0000562208142d30 reth-ac3b809190595c73`_$LT$reth_network..session..active..ActiveSession$u20$as$u20$core..future..future..Future$GT$::poll::hd93fab6f73483dcc(self=Pin<&mut reth_network::session::active::ActiveSession> @ 0x00007fec0e3fd838, cx=0x00007fec0e3fe958) at active.rs:557:64
    frame #23: 0x0000562208344a0f reth-ac3b809190595c73`_$LT$tracing_futures..Instrumented$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hb9fef2010165e349 [inlined] _$LT$core..pin..Pin$LT$P$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h79d027fa4210745f(self=<unavailable>, cx=0x00007fec0e3fe958) at future.rs:123:9
    frame #24: 0x0000562208344a09 reth-ac3b809190595c73`_$LT$tracing_futures..Instrumented$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hb9fef2010165e349 [inlined] _$LT$core..pin..Pin$LT$P$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hfdf3213835eba131(self=<unavailable>, cx=0x00007fec0e3fe958) at future.rs:123:9
    frame #25: 0x0000562208344a02 reth-ac3b809190595c73`_$LT$tracing_futures..Instrumented$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hb9fef2010165e349 [inlined] futures_util::future::future::FutureExt::poll_unpin::h2865d935cb7e2759(self=<unavailable>, cx=0x00007fec0e3fe958) at mod.rs:558:9
    frame #26: 0x0000562208344a02 reth-ac3b809190595c73`_$LT$tracing_futures..Instrumented$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hb9fef2010165e349 [inlined] _$LT$futures_util..future..select..Select$LT$A$C$B$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hdb60ddc838c52d12(self=Pin<&mut futures_util::future::select::Select<reth_tasks::shutdown::Shutdown, core::pin::Pin<&mut core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=()> + core::marker::Send), alloc::alloc::Global>>>>> @ scalar, cx=0x00007fec0e3fe958) at select.rs:118:35
    frame #27: 0x00005622083449e9 reth-ac3b809190595c73`_$LT$tracing_futures..Instrumented$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hb9fef2010165e349 [inlined] reth_tasks::TaskExecutor::spawn_task_as::_$u7b$$u7b$closure$u7d$$u7d$::h80116c8aff2237e3((null)=0x00007fec0e3fe958) at lib.rs:341:50
    frame #28: 0x000056220834497b reth-ac3b809190595c73`_$LT$tracing_futures..Instrumented$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::hb9fef2010165e349(self=Pin<&mut tracing_futures::Instrumented<reth_tasks::{impl#5}::spawn_task_as::{async_block_env#0}<core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=()> + core::marker::Send), alloc::alloc::Global>>>>> @ scalar, cx=0x00007fec0e3fe958) at lib.rs:283:9
    frame #29: 0x0000562208345167 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::hc7c3e61697480e04(ptr=0x00007febb2c49030) at core.rs:328:17
    frame #30: 0x000056220834515f reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] tokio::loom::std::unsafe_cell::UnsafeCell$LT$T$GT$::with_mut::hf1dd6beefa615389 at unsafe_cell.rs:16:9
    frame #31: 0x000056220834515f reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::h0c4d1cfe5edf34d9(self=0x00007febb2c49020, cx=Context @ 0x00007fec0e3fe958) at core.rs:317:30
    frame #32: 0x000056220834515f reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] tokio::runtime::task::harness::poll_future::_$u7b$$u7b$closure$u7d$$u7d$::hb03321bd01310786 at harness.rs:485:19
    frame #33: 0x000056220834515f reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h79ba8d93cb17f81b(self=AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tracing_futures::Instrumented<reth_tasks::{impl#5}::spawn_task_as::{async_block_env#0}<core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=()> + core::marker::Send), alloc::alloc::Global>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::handle::Handle, alloc::alloc::Global>>> @ 0x0000000038bdab60, (null)=<unavailable>) at unwind_safe.rs:272:9
    frame #34: 0x000056220834515f reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] std::panicking::try::do_call::h35103aa86090761b(data=<unavailable>) at panicking.rs:559:40
    frame #35: 0x000056220834515f reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] std::panicking::try::hebc18fe529387dcb(f=AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tracing_futures::Instrumented<reth_tasks::{impl#5}::spawn_task_as::{async_block_env#0}<core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=()> + core::marker::Send), alloc::alloc::Global>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::handle::Handle, alloc::alloc::Global>>> @ 0x0000000038bd2b90) at panicking.rs:523:19
    frame #36: 0x000056220834515f reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] std::panic::catch_unwind::hab2a4f18000fd1e1 at panic.rs:149:14
    frame #37: 0x000056220834515f reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] tokio::runtime::task::harness::poll_future::he7a58faf51d1d5f9(core=0x00007febb2c49020, cx=Context @ 0x0000000038be27e0) at harness.rs:473:18
    frame #38: 0x000056220834515f reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll_inner::h944fdaa1d5efcc25(self=<unavailable>) at harness.rs:208:27
    frame #39: 0x0000562208345041 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83 [inlined] tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll::h2e9cb744752b1ea4(self=Harness<tracing_futures::Instrumented<reth_tasks::{impl#5}::spawn_task_as::{async_block_env#0}<core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=()> + core::marker::Send), alloc::alloc::Global>>>>, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::handle::Handle, alloc::alloc::Global>> @ scalar) at harness.rs:153:15
    frame #40: 0x0000562208345041 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h996ea32e7c2a1b83(ptr=NonNull<tokio::runtime::task::core::Header> @ scalar) at raw.rs:271:5
    frame #41: 0x00005622085e66ee reth-ac3b809190595c73`tokio::runtime::scheduler::multi_thread::worker::Context::run_task::ha53fe4bc40e719d2 [inlined] tokio::runtime::task::raw::RawTask::poll::h204794a7e5dbc5af(self=RawTask @ scalar) at raw.rs:201:18
    frame #42: 0x00005622085e66e5 reth-ac3b809190595c73`tokio::runtime::scheduler::multi_thread::worker::Context::run_task::ha53fe4bc40e719d2 [inlined] tokio::runtime::task::LocalNotified$LT$S$GT$::run::h761f925724fe2b86 at mod.rs:427:9
    frame #43: 0x00005622085e66e5 reth-ac3b809190595c73`tokio::runtime::scheduler::multi_thread::worker::Context::run_task::ha53fe4bc40e719d2 [inlined] tokio::runtime::scheduler::multi_thread::worker::Context::run_task::_$u7b$$u7b$closure$u7d$$u7d$::h6e56c687f8a5d5ed at worker.rs:657:22
    frame #44: 0x00005622085e66b3 reth-ac3b809190595c73`tokio::runtime::scheduler::multi_thread::worker::Context::run_task::ha53fe4bc40e719d2 [inlined] tokio::runtime::coop::with_budget::h2cdc906c51382a2b(budget=Budget @ 0x0000000038881d60, f={closure_env#0} @ 0x0000000038c10840) at coop.rs:107:5
    frame #45: 0x00005622085e6655 reth-ac3b809190595c73`tokio::runtime::scheduler::multi_thread::worker::Context::run_task::ha53fe4bc40e719d2 [inlined] tokio::runtime::coop::budget::haff08ba62e6f716f at coop.rs:73:5
    frame #46: 0x00005622085e6655 reth-ac3b809190595c73`tokio::runtime::scheduler::multi_thread::worker::Context::run_task::ha53fe4bc40e719d2(self=0x00007fec0e3feb98, task=<unavailable>, core=<unavailable>) at worker.rs:593:9
    frame #47: 0x00005622085ee774 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::scheduler::multi_thread::worker::Context::run::hd51ae32d4aea713e(self=<unavailable>, core=0x00007fec1e47d870) at worker.rs:544:24
    frame #48: 0x00005622085ee126 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::scheduler::multi_thread::worker::run::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h9bd6823d173f1bdc at worker.rs:509:21
    frame #49: 0x00005622085ee126 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::context::scoped::Scoped$LT$T$GT$::set::h2bbaca5cc8368045(self=<unavailable>, t=0x00007fec0e3feb90, f={closure_env#0} @ 0x0000000038d8e590) at scoped.rs:40:9
    frame #50: 0x00005622085ee126 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::context::set_scheduler::_$u7b$$u7b$closure$u7d$$u7d$::h2078cf9f612b0f7d(c=<unavailable>) at context.rs:180:26
    frame #51: 0x00005622085ee126 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] std::thread::local::LocalKey$LT$T$GT$::try_with::h7b5a8fd93790dca6(self=<unavailable>, f={closure_env#0}<(), tokio::runtime::scheduler::multi_thread::worker::run::{closure#0}::{closure_env#0}> @ 0x0000000038d92fd0) at local.rs:283:12
    frame #52: 0x00005622085ee126 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] std::thread::local::LocalKey$LT$T$GT$::with::h7618fd6cd037f433 at local.rs:260:9
    frame #53: 0x00005622085ee126 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::context::set_scheduler::hd7ddf45cb2ddf4ad(v=0x00007fec0e3feb90, f={closure_env#0} @ 0x0000000038d97580) at context.rs:180:17
    frame #54: 0x00005622085ee126 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::scheduler::multi_thread::worker::run::_$u7b$$u7b$closure$u7d$$u7d$::h9cd378f49ab972dd((null)=<unavailable>) at worker.rs:504:9
    frame #55: 0x00005622085ee126 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::context::runtime::enter_runtime::h7b7c9c2ff88830e7(handle=0x00007fec0e3fec48, allow_block_in_place=true, f={closure_env#0} @ 0x00007fec0e3feca0) at runtime.rs:65:16
    frame #56: 0x00005622085ee126 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::scheduler::multi_thread::worker::run::h534414400693b4e3(worker=<unavailable>) at worker.rs:496:5
    frame #57: 0x00005622085ed7db reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::scheduler::multi_thread::worker::Launch::launch::_$u7b$$u7b$closure$u7d$$u7d$::h510bbd4037d79fbb at worker.rs:462:45
    frame #58: 0x00005622085ed7db reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] _$LT$tokio..runtime..blocking..task..BlockingTask$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h726d388b15eed0f3(self=Pin<&mut tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>> @ scalar, _cx=<unavailable>) at task.rs:42:21
    frame #59: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::h45de1fdbec32353a(ptr=0x00007fec1de71a28) at core.rs:328:17
    frame #60: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::loom::std::unsafe_cell::UnsafeCell$LT$T$GT$::with_mut::h3d7a235f5c139091 at unsafe_cell.rs:16:9
    frame #61: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::hefc5bc8973490de4(self=0x00007fec1de71a20, cx=<unavailable>) at core.rs:317:30
    frame #62: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::task::harness::poll_future::_$u7b$$u7b$closure$u7d$$u7d$::h8a25f0824cf6d7c7 at harness.rs:485:19
    frame #63: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h6fc0016b3109f4ee(self=AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::BlockingSchedule>> @ 0x0000000038dc2800, (null)=<unavailable>) at unwind_safe.rs:272:9
    frame #64: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] std::panicking::try::do_call::hdc8c5013fa89a8d8(data=<unavailable>) at panicking.rs:559:40
    frame #65: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] std::panicking::try::h13995931d2bcf98d(f=AssertUnwindSafe<tokio::runtime::task::harness::poll_future::{closure_env#0}<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::BlockingSchedule>> @ 0x0000000038bab2c0) at panicking.rs:523:19
    frame #66: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] std::panic::catch_unwind::h21566643c8c062f7 at panic.rs:149:14
    frame #67: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::task::harness::poll_future::h18450587c12e0c32(core=0x00007fec1de71a20, cx=Context @ 0x0000000038baaec0) at harness.rs:473:18
    frame #68: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll_inner::h78af2d89a87bd2ac(self=<unavailable>) at harness.rs:208:27
    frame #69: 0x00005622085ed783 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e [inlined] tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll::hc932ed76504125a2(self=Harness<tokio::runtime::blocking::task::BlockingTask<tokio::runtime::scheduler::multi_thread::worker::{impl#0}::launch::{closure_env#0}>, tokio::runtime::blocking::schedule::BlockingSchedule> @ 0x00007fec0e3feb68) at harness.rs:153:15
    frame #70: 0x00005622085ed5d6 reth-ac3b809190595c73`tokio::runtime::task::raw::poll::h338c68276c7a9f6e(ptr=NonNull<tokio::runtime::task::core::Header> @ 0x00007fec0e3feb68) at raw.rs:271:5
    frame #71: 0x00005622085d8806 reth-ac3b809190595c73`std::sys_common::backtrace::__rust_begin_short_backtrace::h6bb251a963994b37 [inlined] tokio::runtime::task::raw::RawTask::poll::h204794a7e5dbc5af(self=RawTask @ scalar) at raw.rs:201:18
    frame #72: 0x00005622085d87fd reth-ac3b809190595c73`std::sys_common::backtrace::__rust_begin_short_backtrace::h6bb251a963994b37 [inlined] tokio::runtime::task::UnownedTask$LT$S$GT$::run::hc671d601bc0da937(self=UnownedTask<tokio::runtime::blocking::schedule::BlockingSchedule> @ scalar) at mod.rs:464:9
    frame #73: 0x00005622085d87fd reth-ac3b809190595c73`std::sys_common::backtrace::__rust_begin_short_backtrace::h6bb251a963994b37 [inlined] tokio::runtime::blocking::pool::Task::run::hd772d58076da1e55(self=Task @ 0x0000000038e23d30) at pool.rs:160:9
    frame #74: 0x00005622085d87fd reth-ac3b809190595c73`std::sys_common::backtrace::__rust_begin_short_backtrace::h6bb251a963994b37 [inlined] tokio::runtime::blocking::pool::Inner::run::h5fbf111f0eae7dd2(self=0x00007fec1e433d10, worker_thread_id=23) at pool.rs:518:17
    frame #75: 0x00005622085d873e reth-ac3b809190595c73`std::sys_common::backtrace::__rust_begin_short_backtrace::h6bb251a963994b37 [inlined] tokio::runtime::blocking::pool::Spawner::spawn_thread::_$u7b$$u7b$closure$u7d$$u7d$::h8ffb425f1a0f312e at pool.rs:476:13
    frame #76: 0x00005622085d8691 reth-ac3b809190595c73`std::sys_common::backtrace::__rust_begin_short_backtrace::h6bb251a963994b37(f={closure_env#0} @ 0x00007fec0e3fee20) at backtrace.rs:155:18
    frame #77: 0x00005622085d853a reth-ac3b809190595c73`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he51a83795cc1e3b4 [inlined] std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hdcf0271f63f78494 at mod.rs:542:17
    frame #78: 0x00005622085d8535 reth-ac3b809190595c73`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he51a83795cc1e3b4 [inlined] _$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h6d6de407146ce250(self=AssertUnwindSafe<std::thread::{impl#0}::spawn_unchecked_::{closure#2}::{closure_env#0}<tokio::runtime::blocking::pool::{impl#6}::spawn_thread::{closure_env#0}, ()>> @ 0x00007fec0e3fee20, (null)=<unavailable>) at unwind_safe.rs:272:9
    frame #79: 0x00005622085d8535 reth-ac3b809190595c73`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he51a83795cc1e3b4 [inlined] std::panicking::try::do_call::h3778df1caefaaccb(data=<unavailable>) at panicking.rs:559:40
    frame #80: 0x00005622085d852a reth-ac3b809190595c73`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he51a83795cc1e3b4 [inlined] std::panicking::try::h155f307a8218e1d9(f=<unavailable>) at panicking.rs:523:19
    frame #81: 0x00005622085d852a reth-ac3b809190595c73`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he51a83795cc1e3b4 [inlined] std::panic::catch_unwind::hb65135f432bc80e7 at panic.rs:149:14
    frame #82: 0x00005622085d852a reth-ac3b809190595c73`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he51a83795cc1e3b4 [inlined] std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::h95659dcc1295b20c at mod.rs:541:30
    frame #83: 0x00005622085d845e reth-ac3b809190595c73`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::he51a83795cc1e3b4((null)=0x00007fec1e50b5c0, (null)=<unavailable>) at function.rs:250:5
    frame #84: 0x00005622085aa45b reth-ac3b809190595c73`std::sys::pal::unix::thread::Thread::new::thread_start::hb85dbfa54ba503d6 [inlined] _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::hdf5fcef8be77a431 at boxed.rs:2063:9
    frame #85: 0x00005622085aa453 reth-ac3b809190595c73`std::sys::pal::unix::thread::Thread::new::thread_start::hb85dbfa54ba503d6 [inlined] _$LT$alloc..boxed..Box$LT$F$C$A$GT$$u20$as$u20$core..ops..function..FnOnce$LT$Args$GT$$GT$::call_once::h8e8c5ceee46ee198 at boxed.rs:2063:9
    frame #86: 0x00005622085aa44c reth-ac3b809190595c73`std::sys::pal::unix::thread::Thread::new::thread_start::hb85dbfa54ba503d6 at thread.rs:108:17
    frame #87: 0x00007fec1ea916d7 libc.so.6`start_thread + 903
    frame #88: 0x00007fec1eb1560c libc.so.6`__clone3 + 44
(lldb)
eierina commented 3 weeks ago

By using nightly build the SIGSEGV does not present.

SeeSoftware commented 3 weeks ago

i got the same thing with v1.0.5

crash at __memcpy_avx512_unaligned_erms () 265 VMOVU (%rsi), %VMM(0) reth_primitives::transaction::legacy::TxLegacy::encode_fields () reth_primitives::transaction::legacy::TxLegacy::encode_with_signature () ...

using RUSTFLAGS="-C target-cpu=native" on AMD cpu rustc 1.80.1 (3f5fd8dd4 2024-08-06)

Rjected commented 2 weeks ago

AMD cpu

@SeeSoftware which AMD cpu specifically?

SeeSoftware commented 2 weeks ago

AMD cpu

@SeeSoftware which AMD cpu specifically?

@Rjected AMD EPYC 9554

jonathanykh commented 1 week ago

same problem on my mini node with amd ryzen 5 4650g. reth v1.0.5, built from source did not use RUSTFLAGS="-C target-cpu=native".

I never had this problem at 1.0.5 before until today I set the priority to Very high on ubuntu's task manager. Will run it with normal priority again to see if it run into such problem again.

update: still encountered segfault after resetting to normal priority and paused livesync by making consensus engine offline. While the node is running i was spamming rpc with cryo.

update2: i think for me, the segfault happens if i do not limit the concurrent requests in cryo, so it seems like spamming rpc could cause this happen. also the rpc i am calling is the trace replay block method. it wasn't like that before in beta/ alpha?

error: reth interrupted by SIGSEGV, printing backtrace

reth(+0x23a1486)[0x561905ee9486]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f48e3642520]
reth(+0x1887705)[0x5619053cf705]
reth(+0x1081491)[0x561904bc9491]
reth(+0xde7f0a)[0x56190492ff0a]
reth(+0xf5861c)[0x561904aa061c]
reth(+0xdfaa36)[0x561904942a36]
reth(+0xeacded)[0x5619049f4ded]
reth(+0x1ebe245)[0x561905a06245]
reth(+0x1dd5e78)[0x56190591de78]
reth(+0x18e728e)[0x56190542f28e]
reth(+0x43a790)[0x561903f82790]
reth(+0x96ec1b)[0x5619044b6c1b]
reth(+0x97480a)[0x5619044bc80a]
reth(+0x97239f)[0x5619044ba39f]
reth(+0x2ac8a8b)[0x561906610a8b]
/lib/x86_64-linux-gnu/libc.so.6(+0x94ac3)[0x7f48e3694ac3]
/lib/x86_64-linux-gnu/libc.so.6(+0x126850)[0x7f48e3726850]

note: we would appreciate a report at https://github.com/paradigmxyz/reth
Segmentation fault (core dumped)
scheminpete commented 2 days ago

Ran into the same issue (and posted my own issue before finding this thread like an idiot).

Also running with an AMD CPU (Threadripper 7960x), same behavior (mainnet, archive, Ubuntu 24.04.1, not running any options besides metrics). Not sure if the AMD CPU is the cause, but the issue started when I updated from 1.0.1 to 1.0.6.

I noticed that the 1.0.2 update includes this merge: chore: move sigsegv handler to reth-cli-util crate #9421. Could be something there.

reth.log