Skip to content

Failed to create chainstate manager options. #3

@Sjors

Description

@Sjors

On Intel macOS 14.6.1

Built Bitcoin Core from bitcoin/bitcoin#30595 @ acca9ee21652d8cffac14926511c2d7a3e40043d using:

mkdir ~/local-dev
cmake -B build -DBUILD_KERNEL_LIB=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=$HOME/local-dev -DBUILD_DAEMON=OFF -DBUILD_CLI=OFF -DBUILD_TX=OFF -DBUILD_UTIL=OFF -DENABLE_EXTERNAL_SIGNER=OFF -DBUILD_TESTS=OFF -DENABLE_WALLET=OFF
cmake --build build -j 17
cmake --install build

Built this repo master @ a4649f9 using:

PKG_CONFIG_PATH=$HOME/local-dev/lib/pkgconfig cargo b

And then run it:

RUST_BACKTRACE=1 PKG_CONFIG_PATH=$HOME/local-dev/lib/pkgconfig DYLD_LIBRARY_PATH=$HOME/local-dev/lib cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
     Running `target/debug/rust-bitcoinkernel`
[2024-09-13T12:47:04Z INFO  libbitcoinkernel] 2024-09-13T12:47:04Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
[2024-09-13T12:47:04Z INFO  libbitcoinkernel] 2024-09-13T12:47:04Z Using RdSeed as an additional entropy source
[2024-09-13T12:47:04Z INFO  libbitcoinkernel] 2024-09-13T12:47:04Z Using RdRand as an additional entropy source
thread 'main' panicked at src/main.rs:231:60:
called `Result::unwrap()` on an `Err` value: Internal("Failed to create chainstate manager options.")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
sjors@EzmjP43G rust-bitcoinkernel % RUST_BACKTRACE=1 PKG_CONFIG_PATH=$HOME/local-dev/lib/pkgconfig DYLD_LIBRARY_PATH=$HOME/local-dev/lib cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s
     Running `target/debug/rust-bitcoinkernel`
[2024-09-13T12:49:05Z INFO  libbitcoinkernel] 2024-09-13T12:49:05Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
[2024-09-13T12:49:05Z INFO  libbitcoinkernel] 2024-09-13T12:49:05Z Using RdSeed as an additional entropy source
[2024-09-13T12:49:05Z INFO  libbitcoinkernel] 2024-09-13T12:49:05Z Using RdRand as an additional entropy source
thread 'main' panicked at src/main.rs:231:60:
called `Result::unwrap()` on an `Err` value: Internal("Failed to create chainstate manager options.")
stack backtrace:
   0: rust_begin_unwind
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/std/src/panicking.rs:652:5
   1: core::panicking::panic_fmt
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/result.rs:1679:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/result.rs:1102:23
   4: rust_bitcoinkernel::main
             at ./src/main.rs:231:9
   5: core::ops::function::FnOnce::call_once
             at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions