Issue Details
- Number
- 29026
- Title
- DB_RUNRECOVERY: Fatal error, run database recovery
- Description
- ### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current behaviour
We are experiencing the build failures in NixPkgs both on x86_64-darwin and aarch64-darwin:
```
> 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
> 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 https://github.com/bitcoin/bitcoin/issues/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_
- URL
-
https://github.com/bitcoin/bitcoin/issue/29026
- Closed by
-
Back to List