terminate called after throwing an instance of 'DbRunRecoveryException' #1048

issue drak01 opened this issue on April 5, 2012
  1. drak01 commented at 11:48 PM on April 5, 2012: none

    I'm running Ubuntu 11.10 x86_64. I first started getting this error with the bitcoin-qt in ubuntu's ppa repository, but when I tried the code from this git I get the same issue.

    xxx@XXX:~/workspace/bitcoin$ ./bitcoin-qt

    (bitcoin-qt:21295): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", terminate called after throwing an instance of 'DbRunRecoveryException' what(): DbEnv::txn_checkpoint: DB_RUNRECOVERY: Fatal error, run database recovery Aborted

    And when I run it through gdb I get this:

    xxx@XXX:~/workspace/bitcoin$ gdb ./bitcoin-qt GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://bugs.launchpad.net/gdb-linaro/... Reading symbols from /home/xxx/workspace/bitcoin/bitcoin-qt...(no debugging symbols found)...done. (gdb) run Starting program: /home/xxx/workspace/bitcoin/bitcoin-qt [Thread debugging using libthread_db enabled]

    (bitcoin-qt:21316): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", [New Thread 0x7fffe7ec4700 (LWP 21319)] [New Thread 0x7fffe74c0700 (LWP 21320)] terminate called after throwing an instance of 'DbRunRecoveryException' what(): DbEnv::txn_checkpoint: DB_RUNRECOVERY: Fatal error, run database recovery

    Program received signal SIGABRT, Aborted. 0x00007ffff48f53a5 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) quit A debugging session is active.

    Inferior 1 [process 21316] will be killed.
    

    Quit anyway? (y or n) y

    I tried removing the .bitcoin directory and repopulating, but I still get the error.

  2. luke-jr commented at 11:56 PM on April 5, 2012: member

    Can you bisect it?

  3. sipa commented at 12:12 AM on April 6, 2012: member

    This happens without anything in the bitcoin data directory?

  4. drak01 commented at 12:35 AM on April 6, 2012: none
    This happens without anything in the bitcoin data directory?
    

    Everything except the .wallet file.

    Can you bisect it?
    

    I'm bisecting it now. I should have the culprit soon.

  5. drak01 commented at 1:29 AM on April 6, 2012: none

    xxx@TOWERLIN:~/workspace/bitcoin$ git bisect good Bisecting: 0 revisions left to test after this (roughly 0 steps) [7993454a927f3c4cf5ac935c613afeeb68f35f0a] Document strlcpy.h in assets-attribution.txt since it isn't MIT-licensed

    xxx@TOWERLIN:~/workspace/bitcoin$ git show commit 7993454a927f3c4cf5ac935c613afeeb68f35f0a Author: Luke Dashjr luke-jr+git@utopios.org Date: Thu Apr 5 18:58:20 2012 -0400

    Document strlcpy.h in assets-attribution.txt since it isn't MIT-licensed
    

    diff --git a/doc/assets-attribution.txt b/doc/assets-attribution.txt index 8d23f7e..ffaec44 100644 --- a/doc/assets-attribution.txt +++ b/doc/assets-attribution.txt @@ -1,3 +1,7 @@ +Code: src/strlcpy.h +Author: Todd C. Miller Todd.Miller@courtesan.com +License: ISC + Icon: src/qt/res/icons/clock_.png, src/qt/res/icons/tx_.png, src/qt/res/src/*.svg Designer: Wladimir van der Laan

  6. luke-jr commented at 1:39 AM on April 6, 2012: member

    Not possible, I don't think that was even committed when you reported the bug :p

    Maybe try again, more carefully...

  7. drak01 commented at 2:00 AM on April 6, 2012: none

    Strange. I git reset --hard master to try the master again, but no more error. It loads up fine.

  8. drak01 commented at 2:10 AM on April 6, 2012: none

    I just tried git reset --hard v0.6.0 . Still no more error. Somehow it resolved itself ..

  9. gavinandresen closed this on Apr 12, 2012

  10. suprnurd referenced this in commit 2b3478387c on Dec 5, 2017
  11. sanch0panza referenced this in commit e0f17b765c on May 17, 2018
  12. lateminer referenced this in commit 1cb55b4822 on Oct 30, 2019
  13. Bushstar referenced this in commit 938734cab5 on Dec 5, 2019
  14. bitcoin locked this on Sep 8, 2021
Contributors

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:56 UTC