Skip to content
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

LND v0.14.2-beta fails to startup completely #6638

Closed
juscamarena opened this issue Jun 12, 2022 · 7 comments
Closed

LND v0.14.2-beta fails to startup completely #6638

juscamarena opened this issue Jun 12, 2022 · 7 comments

Comments

@juscamarena
Copy link
Contributor

Background

Describe your issue here.

LND fails to start up completely and deadlocks at some point without having any active channels.

I can't stop LND cleanly with stop unless I force kill it as well.

Your environment

  • version of lnd
    0.14.2-beta commit=v0.14.2-beta

  • which operating system (uname -a on *Nix)
    x86_64 GNU/Linux

  • version of btcd, bitcoind, or other backend
    bitcoind v22.0.0

  • any other relevant environment details

Steps to reproduce

Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.

goroutine.out.txt
lnd.log

Expected behaviour

Tell us what should happen

LND startups fully.

Actual behaviour

Tell us what happens instead

@juscamarena
Copy link
Contributor Author

juscamarena commented Jun 12, 2022

Here's the heap dump as well.
heap.out.txt

profile001
profile002

@juscamarena
Copy link
Contributor Author

I updated to 0.15 rc6 and the node fully starts up now. ¯_(ツ)_/¯

@guggero
Copy link
Collaborator

guggero commented Jun 13, 2022

The goroutine dump, is that from after you issue the shutdown command? It looks like it to me since there are only very few goroutines active. It would've been useful to get a goroutine dump from the moment when you suspected it to have deadlocked. But since you updated already we won't know which bugfix in 0.15 fixed the issue for you...

@juscamarena
Copy link
Contributor Author

The goroutine dump, is that from after you issue the shutdown command? It looks like it to me since there are only very few goroutines active. It would've been useful to get a goroutine dump from the moment when you suspected it to have deadlocked. But since you updated already we won't know which bugfix in 0.15 fixed the issue for you...

hmm. I'm not sure. I don't remember.

Yeah, well I had ~900 channels active and users were asking us when we'd we be back online as all that liquidity went offline. I assume it's something fixed in the new update in any case?

@guggero
Copy link
Collaborator

guggero commented Jun 13, 2022

Yes, I totally understand that you needed the problem to be solved ASAP.
It just would've been interesting to see where the deadlock actually happened to make sure it isn't just a fluke that it now works with 0.15. But I guess we have to assume that one of the many bug fixes in 0.15 also took care of this specific problem.

@Crypt-iQ
Copy link
Collaborator

did you have any breach closes

@Crypt-iQ
Copy link
Collaborator

This is fixed #6214 , logs show channel arbitrator starting in state StateContractClosed and then no log outputs after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants