litecoin-project/litecoin

DisconnectBlock(): Failed to disconnect MWEB block

IvanKodak opened this issue · 2 comments

When I run Litecoin Core I get an error:
[0%]...ERROR: DisconnectBlock(): Failed to disconnect MWEB block

Could someone explain what is the reason, please?

Logs that I have

2024-04-16T13:36:20Z Opening LevelDB in /opt/litecoin/.litecoin/testnet4/chainstate
2024-04-16T13:36:20Z Opened LevelDB successfully
2024-04-16T13:36:20Z Using obfuscation key for /opt/litecoin/.litecoin/testnet4/chainstate: 5caec41878ec7266
2024-04-16T13:36:22Z Loaded best chain: hashBestChain=5a957b6c849a263b4ab89ec796d44cf94a954d186908e722cec57d7c2989ea51 height=3233601 date=2024-04-15T10:14:08Z progress=0.999197
2024-04-16T13:36:22Z init message: Rewinding blocks...
2024-04-16T13:36:23Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) started
2024-04-16T13:36:23Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) completed (0.04s)
2024-04-16T13:36:23Z init message: Verifying blocks...
2024-04-16T13:36:23Z Verifying last 24 blocks at level 3
2024-04-16T13:36:23Z [0%]...ERROR: DisconnectBlock(): Failed to disconnect MWEB block
2024-04-16T13:36:23Z ERROR: VerifyDB(): *** irrecoverable inconsistency in block data at 3233601, hash=5a957b6c849a263b4ab89ec796d44cf94a954d186908e722cec57d7c2989ea51
2024-04-16T13:36:23Z : Corrupted block database detected.
Please restart with -reindex or -reindex-chainstate to recover.

Same issue

Same here:
ERROR: DisconnectBlock(): Failed to disconnect MWEB block
ERROR: VerifyDB(): *** irrecoverable inconsistency in block data at 2669051, hash=84879db2444209a6ce99d9cd28941edb1e85334f844f49e4839eb35049a6f2d7

I did run:

e2fsck -c -f /dev/sdb
e2fsck 1.46.2 (28-Feb-2021)
Checking for bad blocks (read-only test): done
/dev/sdb: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Inode 13897565 extent tree (at level 1) could be shorter. Optimize? yes
Pass 1E: Optimizing extent trees
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/sdb: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdb: 4197/15114240 files (44.3% non-contiguous), 43867632/60427264 blocks

Did not make any differents..