-
Notifications
You must be signed in to change notification settings - Fork 992
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
Failed to find one of the right cookies. Core dumped #2110
Comments
I found it's croaring https://github.com/RoaringBitmap/CRoaring/blob/master/src/roaring_array.c#L767 |
We corrupted one of the Oof. |
was this before or after antioch's fix for safely writing files before
stopping grin?
|
My fix won't help with a server reboot, only on "clean" shutdown via the grin node itself. |
ok. |
Saw another report in gitter. I predict it may be a problem when we get enough nodes. |
Good prediction. One issue I think is that on other storages (LMDB, MMRs), we have a way to get back to a previous snapshot (the chain head) so if a write didn't really work out we can easily find a workable checkpoint. It doesn't seem as easy with croaring but might not be too hard to add? |
Just so there is no confusion here - there is zero persistence in the croaring library, all of this is on us, we literally just write the bytes to a file. I believe we use a temp file to make things reasonably atomic but we have not put a lot of thought into doing this really robustly. |
Memory-mapped file could help, unfortunately it's not yet supported by croaring (but supported by java and go versions) RoaringBitmap/CRoaring#74 |
Was there ever a resolution to this? I just ran an Nvidia graphics driver update on my PC. Somewhere during the update, it crashed my Virtual Box machine, which was running my node. Now, I am unable to restart my node.. Is there a workaround to get this back up and running, or should I destroy this machine, make a new one, and import the old wallet? |
@Jimmy24651 sure, the workaround is in the issue text, |
@hashmap is this an issue anymore? |
@Kargakis I think it's still an issue, a server could be stopped abruptly by power outage or the process be killed by |
Issue still exists on grin 2.0.0 |
I have a node installed on my mining rig because of solo mining and after every third power outage I have to do |
Issue still exists on grin 3.0. The power went out on my computer and I recieved the following error when I tried to restart grin 'I failed to find one of the right cookies. Found 3497651248 |
Grin was running when my server was rebooted. After that any attempt to start grin failed with the message above. Removal of
chain_data
helped.The text was updated successfully, but these errors were encountered: