reddcoin-project / reddcoin-3.10

Reddcoin: the digital social currency
http://www.reddcoin.com
MIT License
287 stars 114 forks source link

19 June 2019 Core Wallet issue Win 10 OS Build 17134.829 #140

Closed Dan-Rdd closed 5 years ago

Dan-Rdd commented 5 years ago

Randomly crashes with below error 2019-06-19 12:01:36 *** System error: CDB : Error -30974, can't open database wallet.dat 2019-06-19 12:01:36 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:37 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:38 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:39 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:40 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:41 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:42 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:43 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:44 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:45 ReddcoinStaker : Wallet is locked. 2019-06-19 12:01:46 ERROR: ProcessBlock() : AcceptBlock FAILED 2019-06-19 12:01:46 Requesting shutdown 2019-06-19 12:01:46 Running Shutdown in thread 2019-06-19 12:01:46 addcon thread interrupt 2019-06-19 12:01:46 opencon thread interrupt 2019-06-19 12:01:46 msghand thread interrupt 2019-06-19 12:01:46 dumpaddr thread stop 2019-06-19 12:01:46 net thread interrupt 2019-06-19 12:01:46 Shutdown : In progress... 2019-06-19 12:01:46 StopNode() 2019-06-19 12:01:46 ReddcoinStaker terminated 2019-06-19 12:01:46 UPNP_DeletePortMapping() returned : 0 2019-06-19 12:01:46 upnp thread interrupt 2019-06-19 12:01:46


EXCEPTION: St13runtime_error
CDB : Error -30974, can't open database wallet.dat
C:\Program Files\Reddcoin\reddcoin-qt.exe in Runaway exception

2019-06-19 12:02:02 CDBEnv::EnvShutdown : Error -30974 shutting down database environment: DB_RUNRECOVERY: Fatal error, run database recovery Requesting initialize Running AppInit2 in thread 2019-06-19 12:07:46

reddink commented 5 years ago

this error

2019-06-19 12:01:36 *** System error: CDB : Error -30974, can't open database wallet.dat would indicate that the wallet dat file has become corrupt.

If you havent done so already make a backup of the wallet.dat file and keep it safe (while it may be broken, need to have something to come back to if needs be.

To resolve the issue, the best thing to do is to attempt to recover the private keys in the current wallet.dat file and import them into a new wallet.

There are a number of different ways to do this.

for option 1, using the wallet

depending on the size, it could take a while to import as it will scan the blockchain to recover all known tx's for all known addresses if the original wallet.dat is not too damaged, this proceedure should recover all reachable private keys.

But please check wallet balance matches.

Else, will need to get into more details with you

Dan-Rdd commented 5 years ago

Hmm Strange i have had no issues for years, I already have a backup of my wallet i will try using that and see if that fixes the issue.

reddink commented 5 years ago

Please let me know if everything is ok after restoring wallet. In the past, usually found antivirus or power failures to be the main culprit.

I will close the ticket, but feel free to reopen if the issue is not resolved

Dan-Rdd commented 5 years ago

Fixed the issue thanks :)