lbrycrdd crashes on after update new release package #278
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
Epic
good first issue
hacktoberfest
hard fork
help wanted
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
soft fork
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
work in progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbrycrd#278
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We got below error message from terminal after update the v0.12.4.1 package.
lbrycrdd: main.cpp:2124: bool DisconnectBlock(const CBlock&, CValidationState&, const CBlockIndex*, CCoinsViewCache&, CClaimTrieCache&, bool*): Assertion `pindex->GetBlockHash() == trieCache.getBestBlock()' failed.
Aborted (core dumped)
we have tried -reindex. but not working properly.
Kindly guide how to resolve this issue.
What version were you running before?
What OS are you on?
You're using an official build or you compiled it yourself?
Do you have anything in the wallet associated with that instance (or would it be okay to lose that wallet)?
What block number failed?
Does it fail on restart now?
Can you get the output of the getchaintips RPC call?
Or can you find that error in the ~/.lbrycrd/debug.log file? Such that you could trim it down to a few KB of context and post that here?
Also, how much memory is available on the server? LBRYcrd requires around 4GB to run currently.
Also, if you upgraded from a pre-hardfork version, you'll need to clear out the data/banned list (excluding the wallet) and re-sync. See https://lbry.com/news/hf1903
@BrannonKing
What version were you running before? - 12.2.0
What OS are you on? - ubuntu 16.04
You're using an official build or you compiled it yourself? - lbrycrd-linux.zip - v0.12.4.1
What block number failed? - after 450000
@tzarebczan
we have used 16GB of memory in instance.
Kindly share how to clear the data/banned list from the wallet.
Yes, sounds like you were on the old chain and need to clear out. The link I shared before has this information. You pretty much want to clear out everything in the lbrycrd folder except for your wallet, and configuration file.
0.12.4.0 contained a hard-fork that went live at the end of March. That means you've been on the wrong chain for two months. Sure it was failing on 450000 rather than 540000 ?
@tzarebczan we have tried. but same issue occurred again.
How to resolve this issue.
We don't have enough information to solve this at the moment. I need some log files. Can you upload them somewhere and put a link here?
Hereby i have attached debug.log file for your reference.
debug.log
Thanks for the log file. Here's what I get from the log file: the last time that your older version was ran it wasn't clean killed. I.e. it was killed with SIGKILL rather than SIGTERM or SIGINT. Hence, the database was not in a clean state, it was probably corrupted. After that, I see many attempts to run that all crash in a similar manner. It's possible that they are crashing on corrupt data in the database. However, it's more likely that the OS is terminating them for too much RAM usage or you're out of disk space.
@BrannonKing Kindly share how to overcome this issue.
@osiztechnologies have you followed the directions above (https://github.com/lbryio/lbrycrd/issues/278#issuecomment-494837854) or on https://lbry.com/news/hf1903 ?
Shoot me a DM on chat.lbry.com (@jiggytom) if you need help with this process. Closing the issue for now as it seems to be upgrade related.