Again problem with ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize() #14999

issue hiddenvs opened this issue on December 18, 2018
  1. hiddenvs commented at 11:24 PM on December 18, 2018: none

    Again after some time of normal behavior problem with ReadBlockFromDisk...

    12-core CPU 128GB RAM 4TB HDD Bitcoin Core Daemon version v0.17.99.0-5f23460c7

    I tried it on clean installed Ubuntu Server 18.04 and just needed dependencies installed. I wanna sync and got this (I tried it twice to be sure that I can repeat that behavior):

    2018-12-18T23:15:08Z ERROR: ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize(): size too large: iostream error at CDiskBlockPos(nFile=4, nPos=81537654) 2018-12-18T23:15:08Z *** Failed to read block 2018-12-18T23:15:08Z Error: Error: A fatal internal error occurred, see debug.log for details Error: Error: A fatal internal error occurred, see debug.log for details 2018-12-18T23:15:08Z ERROR: ProcessNewBlock: ActivateBestChain failed (Failed to read block (code 0)) 2018-12-18T23:15:08Z tor: Thread interrupt 2018-12-18T23:15:08Z Shutdown: In progress... 2018-12-18T23:15:08Z opencon thread exit 2018-12-18T23:15:08Z torcontrol thread exit 2018-12-18T23:15:08Z addcon thread exit 2018-12-18T23:15:08Z net thread exit 2018-12-18T23:15:08Z msghand thread exit 2018-12-18T23:15:08Z scheduler thread interrupt 2018-12-18T23:15:08Z Dumped mempool: 2e-06s to copy, 0.002529s to dump 2018-12-18T23:15:13Z Shutdown: done

    Any one with some idea or solution how to finish successfully sync and have local blockchain ?

  2. hiddenvs commented at 11:27 PM on December 18, 2018: none

    I tried also older stable version, but result was the same. Sync started normally and after a while it comes to similar error with ReadBlockFromDisk, even I tried it with no blockchain data (aka first start).

  3. hiddenvs commented at 12:12 AM on December 19, 2018: none

    2018-12-19T00:10:21Z UpdateTip: new best=000000000000009e7920bf122324f1a6d69e3ee3f5f0d6b1ae9d913bed0ddebb height=143982 version=0x00000001 log2_work=66.495923 **tx=1442871 **date='2011-09-05T01:52:14Z'**** progress=0.003999 cache=152.8MiB(1103622txo) 2018-12-19T00:10:21Z ERROR: ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize(): size too large: iostream error at CBlockDiskPos(nFile=4, nPos=37735457) 2018-12-19T00:10:21Z *** Failed to read block 2018-12-19T00:10:21Z Error: Error: A fatal internal error occurred, see debug.log for details 2018-12-19T00:10:21Z ERROR: ProcessNewBlock: ActivateBestChain failed (Failed to read block (code 0)) 2018-12-19T00:10:21Z ERROR: ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize(): size too large: iostream error at CBlockDiskPos(nFile=4, nPos=37735457) 2018-12-19T00:10:21Z *** Failed to read block 2018-12-19T00:10:21Z Error: Error: A fatal internal error occurred, see debug.log for details 2018-12-19T00:10:21Z ERROR: ProcessNewBlock: ActivateBestChain failed (Failed to read block (code 0)) 2018-12-19T00:10:21Z tor: Thread interrupt 2018-12-19T00:10:21Z Shutdown: In progress... 2018-12-19T00:10:21Z addcon thread exit 2018-12-19T00:10:21Z torcontrol thread exit 2018-12-19T00:10:21Z opencon thread exit 2018-12-19T00:10:21Z net thread exit 2018-12-19T00:10:21Z msghand thread exit 2018-12-19T00:10:21Z scheduler thread interrupt 2018-12-19T00:10:21Z Dumped mempool: 1e-06s to copy, 0.002551s to dump 2018-12-19T00:10:26Z [default wallet] Releasing wallet 2018-12-19T00:10:26Z Shutdown: done

  4. MarcoFalke commented at 11:17 AM on December 19, 2018: member

    What linux kernel version are you running?

    Also, you might want to check your hardware for defects.

    • memtest86 to check your RAM
    • to check the CPU behaviour under load, use linpack or Prime95
    • to test your storage device use smartctl or CrystalDiskInfo

    Source: https://bitcoin.stackexchange.com/a/12206

  5. MarcoFalke closed this on Apr 27, 2020

  6. anoane commented at 7:57 PM on May 7, 2020: none

    same here, ram is ok

    2020-05-07T14:37:01Z ERROR: ReadBlockFromDisk: Deserialize or I/O error - ReadCompactSize(): size too large: iostream error at FlatFilePos(nFile=2057, nPos=72442822) 2020-05-07T14:37:01Z *** Failed to read block 2020-05-07T14:37:01Z Error: A fatal internal error occurred, see debug.log for details

  7. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-04 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me