Skip to content

Need help with 1.10.22 regression, in 1.10.23 I get Unhandled trie error: missing trie node #25589

@Sajjon

Description

@Sajjon

Hey, this morning I started using the 1.10.22 version this morning for maybe 1 hour, and then I saw that there were reports about regression bug with it. So I followed the instructions in the release notes for 1.10.23 to use debug.setHead with a blocknumber older than when I moved from 1.10.21 to 1.10.22. I used block number 15400840 from 8 hours ago. 0d15400840 is 0xEAFF88 in hex, so I did this command

> debug.setHead("0xEAFF88")

which looked like it hanged, and then after maybe a minute, I got this error output.:

Error: Post "http://localhost:3334": EOF
	at web3.js:6365:9(45)
	at send (web3.js:5099:62(34))
	at <eval>:1:14(4)

Then I wanted to know which block I was at and if I was syncing:

> eth.syncing
{
  currentBlock: 15371819,
  healedBytecodeBytes: 0,
  healedBytecodes: 0,
  healedTrienodeBytes: 0,
  healedTrienodes: 0,
  healingBytecode: 0,
  healingTrienodes: 0,
  highestBlock: 15402202,
  startingBlock: 15402191,
  syncedAccountBytes: 0,
  syncedAccounts: 0,
  syncedBytecodeBytes: 0,
  syncedBytecodes: 0,
  syncedStorage: 0,
  syncedStorageBytes: 0
}
> eth.syncing.highestBlock - eth.syncing.currentBlock
30383

So it looks like it used some other block number than what I specified, because currentBlock was set to 15371819 and not 15400840 as I specified, which was weird.

Now I see a crazy amount of errors in log

ERROR[08-24|12:21:26.881] Unhandled trie error: missing trie node b4fd295a8de6d22dd1009b7e281451681c13a04a122d7de37a89617859548089 (path 08070a) <nil>
ERROR[08-24|12:21:26.946] Unhandled trie error: missing trie node f330119795ef1ffb240126b5cf53d34db7a4ba45f051f804b35830af25ccfb05 (path 09010904) <nil>
ERROR[08-24|12:21:26.946] Unhandled trie error: missing trie node f330119795ef1ffb240126b5cf53d34db7a4ba45f051f804b35830af25ccfb05 (path 09010904) <nil>
ERROR[08-24|12:21:27.181] Unhandled trie error: missing trie node 1e4d3aa7ac49b97d1e1bfd8f2e02be05d7627341ad14e25e9e10f82e42704f7e (path 0f0b0103) <nil>
ERROR[08-24|12:21:27.181] Unhandled trie error: missing trie node 1e4d3aa7ac49b97d1e1bfd8f2e02be05d7627341ad14e25e9e10f82e42704f7e (path 0f0b0103) <nil>
ERROR[08-24|12:21:27.274] Unhandled trie error: missing trie node d0dac8813869164c560910aee54856c50b85177ab7499601d69d6923f356373a (path 050c0c00) <nil>
ERROR[08-24|12:21:27.274] Unhandled trie error: missing trie node d0dac8813869164c560910aee54856c50b85177ab7499601d69d6923f356373a (path 050c0c00) <nil>
ERROR[08-24|12:21:27.303] Unhandled trie error: missing trie node 1e5c54aece0093e0be2eda6116dd958062f3523b2bf12b416f4668abd6e7134a (path 050e01) <nil>
ERROR[08-24|12:21:27.303] Unhandled trie error: missing trie node 1e5c54aece0093e0be2eda6116dd958062f3523b2bf12b416f4668abd6e7134a (path 050e01) <nil>
ERROR[08-24|12:21:27.346] Unhandled trie error: missing trie node 0e6f00399370f7d4b177e4deac666b54c1b146e40dc14bfafefbdfbad1ab96e2 (path 0105060b) <nil>
ERROR[08-24|12:21:27.346] Unhandled trie error: missing trie node 0e6f00399370f7d4b177e4deac666b54c1b146e40dc14bfafefbdfbad1ab96e2 (path 0105060b) <nil>
ERROR[08-24|12:21:27.418] Unhandled trie error: missing trie node 0e6f00399370f7d4b177e4deac666b54c1b146e40dc14bfafefbdfbad1ab96e2 (path 0105060b) <nil>
ERROR[08-24|12:21:27.418] Unhandled trie error: missing trie node 0e6f00399370f7d4b177e4deac666b54c1b146e40dc14bfafefbdfbad1ab96e2 (path 0105060b) <nil>
ERROR[08-24|12:21:27.490] Unhandled trie error: missing trie node f330119795ef1ffb240126b5cf53d34db7a4ba45f051f804b35830af25ccfb05 (path 09010904) <nil>
ERROR[08-24|12:21:27.490] Unhandled trie error: missing trie node f330119795ef1ffb240126b5cf53d34db7a4ba45f051f804b35830af25ccfb05 (path 09010904) <nil>
ERROR[08-24|12:21:27.514] Unhandled trie error: missing trie node 7922024350a418118480a9a08345cd717476146e5f7c68ada7399b5de05d8d36 (path 0c030b0b) <nil>
ERROR[08-24|12:21:27.514] Unhandled trie error: missing trie node 7922024350a418118480a9a08345cd717476146e5f7c68ada7399b5de05d8d36 (path 0c030b0b) <nil>
ERROR[08-24|12:21:27.547] Unhandled trie error: missing trie node 881d144514a217e25338ab52f8ae41830c149b8daa9c8e7543116af7393ed162 (path 0d020307) <nil>
ERROR[08-24|12:21:27.547] Unhandled trie error: missing trie node 881d144514a217e25338ab52f8ae41830c149b8daa9c8e7543116af7393ed162 (path 0d020307) <nil>
ERROR[08-24|12:21:27.550] Unhandled trie error: missing trie node 881d144514a217e25338ab52f8ae41830c149b8daa9c8e7543116af7393ed162 (path 0d020307) <nil>
ERROR[08-24|12:21:27.550] Unhandled trie error: missing trie node 881d144514a217e25338ab52f8ae41830c149b8daa9c8e7543116af7393ed162 (path 0d020307) <nil>
INFO [08-24|12:21:27.581] Imported new chain segment               blocks=16    txs=1791      mgas=191.093 elapsed=5.423s      mgasps=35.233  number=15,376,561 hash=99400b..d401ac age=4d1h56m  dirty=1018.49MiB
INFO [08-24|12:21:27.960] Importing heavy sidechain segment        blocks=811   start=15,376,562 end=15,377,372
INFO [08-24|12:21:28.094] Unindexed transactions                   blocks=821   txs=130,461   tail=13,026,562 elapsed=512.120ms
INFO [08-24|12:21:36.485] Imported new chain segment               blocks=13    txs=3571      mgas=242.603 elapsed=8.525s      mgasps=28.456  number=15,376,574 hash=9e3069..6e85de age=4d1h54m  dirty=1023.51MiB
INFO [08-24|12:21:44.997] Imported new chain segment               blocks=20    txs=3720      mgas=298.215 elapsed=8.511s      mgasps=35.036  number=15,376,594 hash=8d8539..b0b388 age=4d1h48m  dirty=1023.18MiB
INFO [08-24|12:21:53.875] Imported new chain segment               blocks=17    txs=4552      mgas=325.808 elapsed=8.877s      mgasps=36.699  number=15,376,611 hash=f72b3b..206d5e age=4d1h44m  dirty=1022.29MiB
ERROR[08-24|12:22:22.498] Unhandled trie error: missing trie node 17cae2616b12b1f7032d041d2a2b0e681a1416506ffed502d46b51ab48c0f3f0 (path 0e0c0107) <nil>
ERROR[08-24|12:22:22.498] Unhandled trie error: missing trie node 17cae2616b12b1f7032d041d2a2b0e681a1416506ffed502d46b51ab48c0f3f0 (path 0e0c0107) <nil>
ERROR[08-24|12:22:23.028] Unhandled trie error: missing trie node 17cae2616b12b1f7032d041d2a2b0e681a1416506ffed502d46b51ab48c0f3f0 (path 0e0c0107) <nil>
ERROR[08-24|12:22:23.029] Unhandled trie error: missing trie node 17cae2616b12b1f7032d041d2a2b0e681a1416506ffed502d46b51ab48c0f3f0 (path 0e0c0107) <nil>
ERROR[08-24|12:22:24.629] Unhandled trie error: missing trie node f9d725c99e120e0f6c1f8dc9cb3d7bab497ed646c6f8bccb6b4b9123840dc44c (path 010f0404) <nil>
ERROR[08-24|12:22:24.629] Unhandled trie error: missing trie node f9d725c99e120e0f6c1f8dc9cb3d7bab497ed646c6f8bccb6b4b9123840dc44c (path 010f0404) <nil>
ERROR[08-24|12:22:24.693] Unhandled trie error: missing trie node e5b7e37abe5e439ef607018e93729940fab123238920988e548f669d02d14eec (path 0d0b09) <nil>
ERROR[08-24|12:22:24.693] Unhandled trie error: missing trie node e5b7e37abe5e439ef607018e93729940fab123238920988e548f669d02d14eec (path 0d0b09) <nil>
ERROR[08-24|12:22:24.736] Unhandled trie error: missing trie node e5b7e37abe5e439ef607018e93729940fab123238920988e548f669d02d14eec (path 0d0b09) <nil>
ERROR[08-24|12:22:24.736] Unhandled trie error: missing trie node e5b7e37abe5e439ef607018e93729940fab123238920988e548f669d02d14eec (path 0d0b09) <nil>
ERROR[08-24|12:22:25.281] Unhandled trie error: missing trie node f9d725c99e120e0f6c1f8dc9cb3d7bab497ed646c6f8bccb6b4b9123840dc44c (path 010f0404) <nil>
ERROR[08-24|12:22:25.281] Unhandled trie error: missing trie node f9d725c99e120e0f6c1f8dc9cb3d7bab497ed646c6f8bccb6b4b9123840dc44c (path 010f0404) <nil>
ERROR[08-24|12:22:25.342] Unhandled trie error: missing trie node e5b7e37abe5e439ef607018e93729940fab123238920988e548f669d02d14eec (path 0d0b09) <nil>
ERROR[08-24|12:22:25.342] Unhandled trie error: missing trie node e5b7e37abe5e439ef607018e93729940fab123238920988e548f669d02d14eec (path 0d0b09) <nil>
ERROR[08-24|12:22:25.381] Unhandled trie error: missing trie node 10731524a3e6d4e99017a9a2245cde3acf639007ae150f77b1bb640df5e7506b (path 040f0a03) <nil>
ERROR[08-24|12:22:25.381] Unhandled trie error: missing trie node 10731524a3e6d4e99017a9a2245cde3acf639007ae150f77b1bb640df5e7506b (path 040f0a03) <nil>
ERROR[08-24|12:22:25.391] Unhandled trie error: missing trie node 6d683e09199f2e85ba9b700db06305ac344f21a2ffccb1fe2cdd8f62275dd2dc (path 050e07) <nil>
ERROR[08-24|12:22:25.391] Unhandled trie error: missing trie node 6d683e09199f2e85ba9b700db06305ac344f21a2ffccb1fe2cdd8f62275dd2dc (path 050e07) <nil>
ERROR[08-24|12:22:25.703] Unhandled trie error: missing trie node 984fc8385f7111d46c03ad478f4f433d2c01b16da4fc2102892035121c845252 (path 040a09) <nil>
ERROR[08-24|12:22:25.730] Unhandled trie error: missing trie node b7e1d3b67cd6c6e72625b629a7ea410626722cd0c3e6c5d6dea02a00e9db77b3 (path 0b0c05) <nil>
ERROR[08-24|12:22:25.730] Unhandled trie error: missing trie node b7e1d3b67cd6c6e72625b629a7ea410626722cd0c3e6c5d6dea02a00e9db77b3 (path 0b0c05) <nil>
ERROR[08-24|12:22:25.730] Unhandled trie error: missing trie node b7e1d3b67cd6c6e72625b629a7

Maybe not relevant, I also saw:

WARN [08-24|12:24:54.078] Merge is configured, but previously seen beacon client is offline. Please ensure it is operational before the transition arrives! eta=3w1d1h

But lighthouse is not running now, because of cannot start it sigp/lighthouse#3500

So what does this ocean of Unhandled trie error: missing trie node mean? Am I f**ked, do I have to do a clean sync from start (7 days)? Or is this normal, i.e. these errors will disappear onces eth.syncing goes to false? Because when checking, it looks that I'm making progress:

> eth.syncing.highestBlock - eth.syncing.currentBlock
27981
> eth.syncing.highestBlock - eth.syncing.currentBlock
27584
> eth.syncing.highestBlock - eth.syncing.currentBlock
27399
> eth.syncing.highestBlock - eth.syncing.currentBlock
27034
> eth.syncing.highestBlock - eth.syncing.currentBlock
25933
> eth.syncing.highestBlock - eth.syncing.currentBlock
24759

But I don't remember having seen Unhandled trie error: missing trie node before!

Please please help <3

System information

Geth version: 1.10.23
OS & Version: macOS Monterey 12.5.1 (21G83)

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Backtrace

[backtrace]

When submitting logs: please submit them as text and not screenshots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions