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

Wallet Fails To Close #4

Open
ReddyFreddy opened this issue Mar 24, 2022 · 4 comments
Open

Wallet Fails To Close #4

ReddyFreddy opened this issue Mar 24, 2022 · 4 comments
Assignees
Labels
investigating Needs more info

Comments

@ReddyFreddy
Copy link

ReddyFreddy commented Mar 24, 2022

Wallet failed to shut down. No error message. Typical shutdown/"do not close this window" message appeared but wallet didn't close. Waited several hours.

2022-03-24T00:07:53Z VerifyHashTarget - hashProof 00005c663889834286ba63778bc6dc07fd70ddb1376b2541adde6077b0a74d44 / nBits 1c0395ed
2022-03-24T00:07:53Z - PoSV rewards 11662917.66961904 in last interval.
2022-03-24T00:07:53Z - Inflation = 2.3654.
2022-03-24T00:07:53Z - Inflation Bound Adjustment = 2.1138. Using Max 5 | Min 0.5 thresholds
2022-03-24T00:07:53Z fInflationAdjustment=2.1138
2022-03-24T00:07:53Z GetProofOfStakeReward(): nSubsidy=1551.05481178 nCoinAge=5360111 nFees=0.00 fInflationAdjustment=2.1138
2022-03-24T00:07:53Z fInflationAdjustment=2.1138 nCalculatedStakeReward2=155105481178
2022-03-24T00:07:53Z UpdateTip: new best=60113f4a2ba4b7c1858b912546b0a98a3580066fe144130080f035666736b59a height=90721 version=0x00000005 log2_work=53.536996 tx=180006 date='2022-03-24T00:07:53Z' progress=1.000000 cache=40.4MiB(259817txo)
2022-03-24T00:17:37Z Potential stale tip detected, will try using extra outbound peer (last tip update: 584 seconds ago)
2022-03-24T00:28:07Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1214 seconds ago)
2022-03-24T00:38:37Z Potential stale tip detected, will try using extra outbound peer (last tip update: 1844 seconds ago)
2022-03-24T00:49:07Z Potential stale tip detected, will try using extra outbound peer (last tip update: 2474 seconds ago)
2022-03-24T00:59:37Z Potential stale tip detected, will try using extra outbound peer (last tip update: 3104 seconds ago)
2022-03-24T01:10:07Z Potential stale tip detected, will try using extra outbound peer (last tip update: 3734 seconds ago)
2022-03-24T01:20:37Z Potential stale tip detected, will try using extra outbound peer (last tip update: 4364 seconds ago)
2022-03-24T01:31:07Z Potential stale tip detected, will try using extra outbound peer (last tip update: 4994 seconds ago)
2022-03-24T01:41:39Z Potential stale tip detected, will try using extra outbound peer (last tip update: 5626 seconds ago)
2022-03-24T01:52:09Z Potential stale tip detected, will try using extra outbound peer (last tip update: 6256 seconds ago)
2022-03-24T02:02:39Z Potential stale tip detected, will try using extra outbound peer (last tip update: 6886 seconds ago)
2022-03-24T02:13:09Z Potential stale tip detected, will try using extra outbound peer (last tip update: 7516 seconds ago)
2022-03-24T02:23:39Z Potential stale tip detected, will try using extra outbound peer (last tip update: 8146 seconds ago)
2022-03-24T02:34:09Z Potential stale tip detected, will try using extra outbound peer (last tip update: 8776 seconds ago)
2022-03-24T02:44:39Z Potential stale tip detected, will try using extra outbound peer (last tip update: 9406 seconds ago)
2022-03-24T02:55:10Z Potential stale tip detected, will try using extra outbound peer (last tip update: 10037 seconds ago)
2022-03-24T03:05:40Z Potential stale tip detected, will try using extra outbound peer (last tip update: 10667 seconds ago)
2022-03-24T03:16:10Z Potential stale tip detected, will try using extra outbound peer (last tip update: 11297 seconds ago)
2022-03-24T03:26:40Z Potential stale tip detected, will try using extra outbound peer (last tip update: 11927 seconds ago)
2022-03-24T03:37:10Z Potential stale tip detected, will try using extra outbound peer (last tip update: 12557 seconds ago)
2022-03-24T03:47:40Z Potential stale tip detected, will try using extra outbound peer (last tip update: 13187 seconds ago)

[manual shut down]
[restart wallet]

Upon re-opening wallet, had to sync again from the beginning.

When syncing caught up with the last previously downloaded block, syncing froze and stopped and did not proceed. Stuck on last previously downloaded block:

2022-03-24T04:09:24Z UpdateTip: new best=213dacec337a33637daa94d54d628b900d3bb26e981489860ae111583d8ed03c height=90692 version=0x00000005 log2_work=53.536009 tx=179948 date='2022-03-23T23:52:19Z' progress=0.999144 cache=40.4MiB(259715txo)
2022-03-24T04:09:24Z - PoSV rewards 11636905.73476662 in last interval.
2022-03-24T04:09:24Z - Inflation = 2.36014.
2022-03-24T04:09:24Z - Inflation Bound Adjustment = 2.11852. Using Max 5 | Min 0.5 thresholds
2022-03-24T04:09:24Z fInflationAdjustment=2.11852
2022-03-24T04:09:24Z GetProofOfStakeReward(): nSubsidy=217.91015705 nCoinAge=751375 nFees=0.00 fInflationAdjustment=2.11852
2022-03-24T04:09:24Z fInflationAdjustment=2.11852 nCalculatedStakeReward2=21791015705
2022-03-24T04:09:24Z UpdateTip: new best=ecf3e83986ebb340b72955fd75cdac9d21fd7fad7b11cc6fdbf3a4e527f3bc18 height=90693 version=0x00000005 log2_work=53.536041 tx=179950 date='2022-03-23T23:52:28Z' progress=0.999144 cache=40.4MiB(259719txo)
2022-03-24T04:09:24Z Failed to open mempool file from disk. Continuing anyway.
2022-03-24T04:09:24Z loadblk thread exit
2022-03-24T04:09:25Z Leaving InitialBlockDownload (latching to false)
2022-03-24T04:12:13Z tor: Thread interrupt
2022-03-24T04:12:13Z ThreadStakeMinter interrupted
2022-03-24T04:12:13Z torcontrol thread exit

@ReddyFreddy
Copy link
Author

issue persists. can't get a clean shut down.

@reddink
Copy link
Member

reddink commented Mar 28, 2022

ok, a couple of things happening here.

  • testnet block chain decided to break... investigating
  • forcing the wallet to terminate could cause already downloaded blocks to rewind, and download again (appreciate you had waited a few hours already - normally, it should at worse be a couple of minutes)

@reddink
Copy link
Member

reddink commented Mar 28, 2022

Update,

  • testnet was reset to the point where it stopped working, and most nodes appear operational - still investigating the cause

@reddink reddink self-assigned this Mar 28, 2022
@reddink reddink added this to In progress in Reddcoin Migration 4.22 Mar 28, 2022
@reddink reddink added the investigating Needs more info label Mar 28, 2022
@lateminer
Copy link
Contributor

This issue might be related to the bug in current staking thread code that sometimes prevents wallet from closing.
The bug is supposed to be fixed by this PR: #56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating Needs more info
Development

No branches or pull requests

3 participants