"Read attempted past buffer limit" error while reindexing #6492

issue laanwj opened this issue on July 29, 2015
  1. laanwj commented at 6:23 PM on July 29, 2015: member

    It is possible that this is caused by local corruption, although this is not a system that is known to corrupt data:

    2015-07-29 18:13:35 Reindexing block file blk00201.dat...
    2015-07-29 18:13:38 LoadExternalBlockFile: Deserialize or I/O error - Read attempted past buffer limitReindexing block file blk00202.dat...
    

    At the least the fatal error should probably cancel the reindexing process (and be terminated with a newline).

    I'll try running the troubleshooting tool on the block files and db tomorrow.

  2. laanwj added the label Bug on Jul 29, 2015
  3. laanwj commented at 2:32 PM on July 31, 2015: member

    It shows two overlapping blocks:

    01400bb0-0142dd55 01400bb8 0000000000000000007a68c90b1926ff42418c73d7862dd8ac157ecc107105e5 332363 
    01427437-01449430 0142743f 00000000000000000e1fc013481b1d4c700f856d90efaa4982675a728eb9fb32 332197 Overlap with last block (01400bb0,0142dd55)
    01449430-014c6a68 01449438 000000000000000013c7ec167fb6346ea04bff43a2679abf9566df0773a92b36 332198 
    

    This is quite an old blocks directory so it's possible that this happened due to the reindex issue solved by #5864.

  4. laanwj closed this on Jul 31, 2015

  5. laanwj referenced this in commit 5d7fc47cf6 on Jul 31, 2015
  6. laanwj cross-referenced this on Jul 31, 2015 from issue Make sure LogPrintf strings are line-terminated by laanwj
  7. laanwj referenced this in commit f18b8ec7cf on Aug 3, 2015
  8. luke-jr referenced this in commit abbb3bf75d on Sep 20, 2015
  9. luke-jr referenced this in commit ac9cb8e950 on Sep 20, 2015
  10. luke-jr referenced this in commit bc59522175 on Sep 21, 2015
  11. luke-jr referenced this in commit 7ff9d122e4 on Sep 22, 2015
  12. prairiefalcon cross-referenced this on Mar 7, 2021 from issue Reindex subtly corrupts blknnnnn.dat files and causes subsequent deserialization errors by prairiefalcon
  13. bitcoin locked this on Sep 8, 2021

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-20 06:55 UTC