-
Notifications
You must be signed in to change notification settings - Fork 106
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
getchaintips broken, crashed daemon #883
Comments
I ran this on |
FYI EMC2 has the same issue, as well as GAME. I believe this issue is related to notarizations. For some reason, Hush does not have this problem. |
I wonder if VRSC has it too... |
I have a VRSC node on master at e59d53d which successfully gave me getchaintips output. It took 9 minutes to complete and generated 1GB of JSON 😕 Perhaps the coredump is due to the size of the returned data in KMD. I already have a |
I have an improved |
I have a full backtrace of this coredump on dev branch commit 01ba6d, the error is triggered by rpcserver.cpp line 728, which is the code that tries to invoke the |
yes that is what I found. I put in printouts to see the failure and sometimes it gets farther. I tried a custom mutex, but nothing worked. It seems the iterator just fails for some reason |
A few more datapoints from my debugging: This does not happen in regtest mode by default (which only starts off with a genesis block):
That makes this an even sneakier bug, because a simple regtest chain with a few hundred blocks most likely won't trigger this bug. I will try to make a longer regtest chain to see if I can reproduce there. My tests with AXO showed that many thousands of blocks are compared by CompareBlocksByHeight before the coredump occurs, and from what I read on similar-looking boost bugs, memory-corruption might be happening somehow. |
reported by siddhartha on discord
I also tested this on PIRATE and it crashed my daemon, nothing interesting in debug.log
The text was updated successfully, but these errors were encountered: