pull down to refresh
0 sats \ 8 replies \ @alexbit 5 Jul \ on: Satonomics - A FOSS on-chain data suite of tools (aka free Glassnode) bitcoin
Tried to run the parser, but ended up with this error. What could it be?
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
./run.sh: line 25: 1954942 Aborted (core dumped) cargo run -r -- "$HOME/.bitcoin/"
reply
reply
So basically the default stack size allowed is too small for all the different things that are needed in the program. (the structs tree is an absolute monster !)
If you open the run.sh there is a hack for that but I only enabled it for Mac OS as I didn't know how it would react on Linux.
What you can do is try
ulimit -n 1000000 && ./run.sh
(or just move the line inside the run.sh file) and see if it helps, otherwise don't hesitate to ping mereply
reply
reply
Apparently I cannot go further 2024-07-05 in the parser, due to the lack of price data:
`2024-07-08 14:28:19 - Processing 2024-07-05 (height: 850735)...
2024-07-08 14:28:19 - fetch kraken daily
2024-07-08 14:32:44 - kraken: fetch 1mn
2024-07-08 14:32:44 - binance: fetch 1mn
2024-07-08 14:32:45 - binance: read har file
The application panicked (crashed).
Message: Can't find price for 850839 - 1720211220 - 2024-07-05, please update binance.har file
Location: src/datasets/price/mod.rs:306
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.`
reply