Assertion failed in table/table_builder.cc:97 #4097

issue dkaparis openend this issue on April 26, 2014
  1. dkaparis commented at 7:10 pm on April 26, 2014: none

    Under Windows Vista x64, SP2, the program gives an assertion fault message box a short time after starting up, while displaying the splash screen at the “Verifying blocks…” stage, before showing the main window. It’s a new install of Bitcoin Core that’s been in use for a couple of days after completely synchronizing with the block chain. The assertion fault occurs after every startup, thereby completely blocking use of the client and access to the wallet. The complete message follows:

     0---------------------------
     1MinGW Runtime Assertion
     2---------------------------
     3Assertion failed!
     4
     5Program: C:\Program Files\Bitcoin\bitcoin-qt.exe
     6File: table/table_builder.cc, Line 97
     7
     8Expression: r->options.comparator->Compare(key, Slice(r->last_key)) > 0
     9---------------------------
    10Abort   Retry   Ignore   
    11---------------------------
    
  2. dkaparis commented at 8:49 pm on April 26, 2014: none
    It appears that deleting the .lock file in the AppData/Roaming/Bitcoin directory solves the problem. I have a copy of the complete directory at the state causing the issue if needed.
  3. laanwj commented at 11:13 am on April 27, 2014: member
    Normally this message is caused by a database corruption, necessitating a -reindex. Strange that just deleting the lock seemed to solve it.
  4. ghost commented at 4:38 am on June 9, 2014: none

    I get the same problem with 0.9.1-beta from Git.

    0uname -a
    1Linux raspberry 3.12.19+ [#681](/bitcoin-bitcoin/681/) PREEMPT Fri May 9 16:36:10 BST 2014 armv6l GNU/Linux
    

    On my system deleting the .lock didn’t help, it still dies instantly after restart.

    0bitcoind: table/table_builder.cc:97: void leveldb::TableBuilder::Add(const leveldb::Slice&, const leveldb::Slice&): Assertion `r->options.comparator->Compare(key, Slice(r->last_key)) > 0' failed.
    

    I chose to reindex blockchain and that’s still going on.

  5. laanwj commented at 8:10 am on July 31, 2014: member
    Problem seems solved, closing.
  6. laanwj closed this on Jul 31, 2014

  7. 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: 2024-11-17 15:12 UTC

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