Bitcoin-qt segfaults in Ubuntu Oneiric #1107

issue ubuntupunk opened this issue on April 15, 2012
  1. ubuntupunk commented at 9:57 PM on April 15, 2012: none

    EXCEPTION: NSt8ios_base7failureE
    CAutoFile::read : end of file
    bitcoin in Runaway exception

    terminate called after throwing an instance of 'std::ios_base::failure' what(): CAutoFile::read : end of file Aborted

  2. gmaxwell commented at 10:02 PM on April 15, 2012: contributor

    Is this a new install or an old one? Was it working before? If so what changed when it stopped? What version of bitcoin is this?

  3. sipa commented at 10:16 PM on April 15, 2012: member

    This looks like a corrupted blk0001.dat file.

  4. ubuntupunk commented at 8:15 AM on April 16, 2012: none

    It is a brand new install from the ubuntu ppa.

    If I mv blk0001.dat to blk0001.old the application starts but then quits with message: unable to open blk0001.dat

  5. rebroad commented at 8:35 AM on April 30, 2012: contributor

    This is happening for me also after bitcoin-qt SEGVed last night. Even after restoring the blk0001.dat and blkindex.dat back to a backup taken 2 weeks ago, it still does it.

    (Using Bitcoin version vCLIENT_VERSION_MAJOR.CLIENT_VERSION_MINOR.CLIENT_VERSION_REVISION.CLIENT_VERSION_BUILD-unk-beta (2012-04-13 12:20:17 +0100)

  6. Diapolo commented at 9:30 AM on April 30, 2012: none

    Your version string indicates an own build and not the last 0.6.1 RC1, right? @sipa How could a corrupt blk000x.dat be detected, to take care of this condition?

  7. rebroad commented at 3:51 PM on April 30, 2012: contributor

    Also tested on 0.6.1 RC1 and exists also. However, I've since discovered it was the addr.dat file it was objecting to, not the blk files. Deleted addr.dat, and now running fine.

  8. gavinandresen commented at 6:23 PM on June 29, 2012: contributor

    Closing this as "unreproduceable disk corruption problem."

  9. gavinandresen closed this on Jun 29, 2012

  10. rebroad commented at 7:26 PM on July 2, 2012: contributor

    This doesn't seem to be happening on 0.6.3

  11. suprnurd referenced this in commit 81502761b6 on Dec 5, 2017
  12. lateminer referenced this in commit eb7cd1d004 on Jan 22, 2019
  13. DrahtBot 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-13 18:16 UTC

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