DB_RUNRECOVERY: Fatal error, run database recovery #29026

issue prusnak openend this issue on December 7, 2023
  1. prusnak commented at 10:31 pm on December 7, 2023: contributor

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    We are experiencing the build failures in NixPkgs both on x86_64-darwin and aarch64-darwin:

    0> 2023-12-07T14:45:33.311681Z [test] [wallet/bdb.cpp:189] [Open] BerkeleyEnvironment::Open: Error -30974 opening database environment: DB_RUNRECOVERY: Fatal error, run database recovery
    1> make[3]: *** [Makefile:22524: wallet/test/wallet_tests.cpp.test] Error 1
    

    The full log is available from here: https://logs.ofborg.org/?key=nixos/nixpkgs.272548&attempt_id=8f5f1aaa-a3f7-4292-a194-57f85c49959a

    I can reproduce the issue locally on my Macbook M1.

    At first, the issue looks like a duplicate of #26869 but this time the issue is in wallet/test/wallet_tests.cpp.test not in test/functional/wallet_backwards_compatibility.py

    Expected behaviour

    The test does not fail

    Steps to reproduce

    1. install nix
    2. git clone https://github.com/nixos/nixpkgs.git
    3. cd nixpkgs
    4. git fetch origin pull/272548/head:pr-272548
    5. git checkout pr-272548
    6. nix-shell -I nixpkgs=$(pwd) -p bitcoin

    Relevant log output

    https://logs.ofborg.org/?key=nixos/nixpkgs.272548&attempt_id=8f5f1aaa-a3f7-4292-a194-57f85c49959a

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    26.0

    Operating system and version

    macOS 13

    Machine specifications

    No response

  2. maflcko added the label Wallet on Dec 8, 2023
  3. maflcko added the label macOS on Dec 8, 2023


prusnak

Labels
Wallet macOS


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-12-21 15:12 UTC

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