Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Crash at start #5

Open
nateless opened this issue May 4, 2023 · 4 comments
Open

Crash at start #5

nateless opened this issue May 4, 2023 · 4 comments

Comments

@nateless
Copy link

nateless commented May 4, 2023

Hey,

Tried to run it, and it crashes:

2023-05-04 11:39:28,543 INFO [main] Starting bitcoind-observer using /usr/local/bin/bitcoind ...
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: EnableUSDTProbe', src/main.rs:43:10

Am I doing something wrong?

@0xB10C
Copy link
Owner

0xB10C commented May 4, 2023

fwiw: this project is quite experimental and I don't recommend running it if you don't know what you're doing.

That said, what Bitcoin Core version do you run? Are the tracepoints compiled in?

@nateless
Copy link
Author

nateless commented May 4, 2023

We are using 24.0.1, I've double checked right now. Even though we provided --enable-usdt its not enabled and built without it, it seems..

Options used to compile and link:
  ...
  use asm         = yes
  USDT tracing    = no
  ...

Not sure why, and I can't find any errors or missing libraries during configuration process.

@0xB10C
Copy link
Owner

0xB10C commented May 4, 2023

See the "User-Space, Statically Defined Tracing (USDT) dependencies" part in Linux Distribution Specific Build Instructions. You're probably missing the systemtap headers.

@0xB10C
Copy link
Owner

0xB10C commented May 4, 2023

Also see https://github.com/bitcoin/bitcoin/blob/master/doc/tracing.md#listing-available-tracepoints for methods to check if your binary contains tracepoints.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants