Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Probable deadlock after UnlinkedAncientBlockChain #10793

Closed
dvdplm opened this issue Jun 26, 2019 · 0 comments
Closed

Probable deadlock after UnlinkedAncientBlockChain #10793

dvdplm opened this issue Jun 26, 2019 · 0 comments
Assignees
Labels
F2-bug 🐞 The client fails to follow expected behavior. Q3-medium A fair chunk of work, not necessarily very hard but not trivial either

Comments

@dvdplm
Copy link
Collaborator

dvdplm commented Jun 26, 2019

If snapshot restoration fails with a UnlinkedAncientBlockChain (and you see Encountered error during snapshot restoration: Snapshot error Unlinked ancient blocks chain in the console) the client is stuck and Ctrl+c is not enough to shut down properly.

The error can be returned only from two places in this method.

Shutting down prints the expected Finishing work, please wait... (from here) but the unclean exit handling code in wait_for_drop() does not run. This is an indication that we have a deadlock when in this state.

@dvdplm dvdplm added F2-bug 🐞 The client fails to follow expected behavior. Q3-medium A fair chunk of work, not necessarily very hard but not trivial either labels Jun 26, 2019
@dvdplm dvdplm self-assigned this Jun 28, 2019
@dvdplm dvdplm closed this as completed Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F2-bug 🐞 The client fails to follow expected behavior. Q3-medium A fair chunk of work, not necessarily very hard but not trivial either
Projects
None yet
Development

No branches or pull requests

1 participant