-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
block_parser update terminated calling std::bad_alloc #444
Comments
Just thought I'd add my experience here as well. Not sure if it's the same issue but the update procedure segfaults shortly after processing block 368451/658270 (after it fetches block headers), and this happened several times. Found this in my kernel log: Nov 29 22:01:40 blocknode kernel: [1981112.841197] blocksci_parser[22384]: segfault at 38 ip 000055a12ecf8c34 sp 00007fe9697f96d0 error 6 in blocksci_parser[55a12ec66000+5bf000] I used Bitcoin Core version 0.20.1 , 24 GB of memory, and Ubuntu 18.04. It had no problem parsing the Litecoin blockchain, I used Litecoin version 0.18.1, so I'm going to downgrade Bitcoin Core to 0.18.1 and see what happens. |
Hey @kaykurokawa, have you had success with the parser after downgrading Bitcoin Core to 0.18.1? |
two years later and same problem. |
I am using BlockSci right now. I was able to install it on Ubuntu 20.04, installing the exact library versions below and using
It is a shame to let such a good library die this way. I volunteer to maintain it as long as I am capable (only python code). If there is anyone capable of coding in C/C++ I think it is worth to update the code to make it work/recognize the new taproot addresses and transactions. |
Those crashes we encountered seem to be memory issues. After assign >40GB RAM to the VM running the code it runs smooth. |
My results: Of course the blocksci_parser takes ages. After power-loss (quite usual here every few days) it restarts from scratch. So it is recommended to parse smaller chunks of about 50000 Blocks each (for the bitcoin blockchain) using the "-xxxxx" parameter in the .cfg file and backup (snapshot the VM) between. Change parameter and run "update" again to start at last parsed block. |
@tyramisoux What parameters should I change to start at last parsed block?Looking forward to your reply,thank you. |
Please provide a clear and concise description of the problem.
Hello, has anyone stumbled upon a similar problem?
block_parser conf.json update outputs:
Reproduction Steps
Clean install of ubuntu 18.04
All steps for installing BlockSci for ubuntu 18.04 in the documentaion including raising the file limit to 64000 and setting time to UTC.
System Information
Using AMI: no
BlockSci version: master
Blockchain: Bitcoin
Parser: tried both Disk/RPC
Total memory: 859 GB
The text was updated successfully, but these errors were encountered: