bitcoin-qt.exe fatal error - NSt8ios_base7faillureE - ReadCompactSize() #1513

issue nanpanman opened this issue on June 24, 2012
  1. nanpanman commented at 10:37 AM on June 24, 2012: none

    When running the windows client 0.62 I get the following error shortly after the ''Loading Block Index...' screen:

    A fatal error occured. Bitcoin can no longer continue safely and will quit.

    EXCEPTION: NSt8ios_base7faillureE ReadCompactSize(): size too large

    Problem signature: Problem Event Name: APPCRASH Application Name: bitcoin-qt.exe Application Version: 0.0.0.0 Application Timestamp: 4d44aa00 Fault Module Name: bitcoin-qt.exe Fault Module Version: 0.0.0.0 Fault Module Timestamp: 4d44aa00 Exception Code: 40000015 Exception Offset: 00ef4e1a OS Version: 6.1.7601.2.1.0.768.3 Locale ID: 6153 Additional Information 1: c4bb Additional Information 2: c4bb9ef13a8851680a056abd266bba35 Additional Information 3: 1095 Additional Information 4: 109595c20661a244f0b8c7c7a7fb1aa5

    Running 0.62 on Win7, can send debug.log over if needed.

  2. gavinandresen commented at 6:44 PM on July 5, 2012: contributor

    Your blk0001.dat or blkindex.dat file got corrupted somehow (did you run out of disk space perhaps?). To recover, backup your wallet.dat file, remove everything except for wallet.dat from the bitcoin data directory, and re-run.

    Keeping this bug open, because it would be good to at least report a helpful error message in cases like this, and even better if bitcoin could recover itself. Pieter and Mike have both been working on complete re-writes of the block database, though, so spending time working on the current way we're doing things might be a waste of time.

  3. nanpanman commented at 6:59 PM on July 5, 2012: none

    Thanks Gavin.

    This error has been happening to me every couple of months going back to maybe September 2011. I've always upgraded to the latest version hoping the bug would be gone (including clean re-installs) but for some reason I always comes back. It is a pain since the only way to recover is to delete all the block-chain files and re-download. My wallet was never affected though.

    I don't think I ran out of space (although space is tight - I'm running on a 64GB SSD). Perhaps it has to do with the fact that I always send my laptop into 'sleep' mode while running the bitcoin client in the background?

    Good to hear a rewrite of the block db is on the way. Sounds like that might fix the issue.

  4. nanpanman commented at 7:59 PM on July 5, 2012: none

    Speaking of the devil - the bitcoin client just unexpectedly crashed on me again. I have 5.54GB Free space on my SSD.

    Debug.log:

    http://dl.dropbox.com/u/1007482/debug.log

    Error:

    Problem signature: Problem Event Name: APPCRASH Application Name: bitcoin-qt.exe Application Version: 0.0.0.0 Application Timestamp: 4d44aa00 Fault Module Name: bitcoin-qt.exe Fault Module Version: 0.0.0.0 Fault Module Timestamp: 4d44aa00 Exception Code: 40000015 Exception Offset: 00efd58a OS Version: 6.1.7601.2.1.0.768.3 Locale ID: 6153 Additional Information 1: e403 Additional Information 2: e403e395f61488c484a049fbfa26e55d Additional Information 3: fdd5 Additional Information 4: fdd5fe2be60a02ae15c676188e0d931d

    Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

    If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt

    I am able to restart the client without errors this time though, so it could be unrelated/different bug.

  5. burger2 commented at 10:52 PM on March 29, 2013: contributor

    @nanpanman still got the problem?

  6. nanpanman commented at 12:03 AM on March 30, 2013: none

    No. I moved to a new computer no issues since. The previous one had an SSD that got progressively more corrupted so that might have been the culprit. On Mar 29, 2013 3:53 PM, "Birger Hedman" notifications@github.com wrote:

    @nanpanman https://github.com/nanpanman still got the problem?

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/1513#issuecomment-15664454 .

  7. laanwj closed this on Nov 4, 2013

  8. Ambrose94 commented at 4:26 PM on January 30, 2017: none

    @nanpanman hello, today I also have the same problem, when I try to transfer the bitcoin, the software was crashed and reminded the "A fatal error occured. Bitcoin can no longer continue safely and will quit.",I have the wallet.dat file, could you tell me how did you solve the problem?thanks much

  9. suprnurd referenced this in commit 70eb83a5ce on Dec 5, 2017
  10. lateminer referenced this in commit 2ab8b61d05 on Jan 22, 2019
  11. lateminer referenced this in commit ae4fde3b3a on May 6, 2020
  12. MarcoFalke 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-04-17 09:16 UTC

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