216k155 / lux

THIS REPO IS CLOSED, WE MOVED TO https://github.com/lux-core/lux
https://luxcore.io
GNU Affero General Public License v3.0
4 stars 2 forks source link

LUX Wallet 4.2.0.0 no sync #118

Closed ghost closed 6 years ago

ghost commented 6 years ago

LUX Core version v4.2.0.0-160ec8d (32-bit) Hi. My LUX wallet basically doesn't sync. It stays at "21 weeks behind" and no further movement. Please help. Thank you. cmlpc

nguyenhoangtran11 commented 6 years ago

Please send me debug.log at C:\Users\\AppData\Roaming\LUX for further investigation

ghost commented 6 years ago

debug.log Hi. Here is the debug.log. After some time it crashes with a fatal error. Can't put this wallet to work. Appreciate your support. Thanks.

ghost commented 6 years ago

Any news???

nguyenhoangtran11 commented 6 years ago

Hi,

Could you please use the private key import/export procedure to create a new wallet.dat (or find a backup that does not crash)?

ghost commented 6 years ago

It is not that wallet.dat in particular. I've tried in different computers, different wallets, the same result.... Using Win10 64. Everything is normal. I use a lot of wallets. This one is the only one with issues....

nguyenhoangtran11 commented 6 years ago

I'm not sure which issue you are facing. However, from the debug.log, it seems that you are facing with "wallet.dat" issue.

Could you please try with another thing: "Rename your Lux folder to any name; then start the app again"?

ghost commented 6 years ago

Like described before, and on the logs, the issue is "Synchronizing from the network" very slowly, almost stopped. It stucks at around 21 / 20 weeks behind and crashes. I've tried in 2 different computers with new wallets. The same result: not working. And finnaly, it crashes.

ghost commented 6 years ago

I've tried what you recomend, but exactly the same result: nothing new...

ghost commented 6 years ago

I made it!! It is working, but seems very unstabble - shows an error any time we close the wallet.

ghost commented 6 years ago

image

debug.log when I closed yesterday with error, and today when opened, with error: 2018-03-24 23:48:52 ProcessNewBlock: ACCEPTED 213065 812bfdc72d6e26258ef2cb49b19d22b6bd51021cd8e8faad72d808495e3a1a7d (pos) 2018-03-24 23:51:22 UpdateTip: new best=000000000000211c4bf2efc4f2dd15ed43c601bfe4ca2b3958600c8399f900f9 height=213066 log2_work=63.803637 tx=393416 date=2018-03-24 23:50:42 progress=0.194842 cache=30254 2018-03-24 23:51:22 ProcessNewBlock: ACCEPTED 213066 000000000000211c4bf2efc4f2dd15ed43c601bfe4ca2b3958600c8399f900f9 (pow) 2018-03-24 23:51:22 ProcessNewBlock: ACCEPTED 213066 000000000000211c4bf2efc4f2dd15ed43c601bfe4ca2b3958600c8399f900f9 (pow) 2018-03-24 23:51:23 ProcessNewBlock: ACCEPTED 213066 000000000000211c4bf2efc4f2dd15ed43c601bfe4ca2b3958600c8399f900f9 (pow) 2018-03-24 23:51:23 ProcessNewBlock: ACCEPTED 213066 000000000000211c4bf2efc4f2dd15ed43c601bfe4ca2b3958600c8399f900f9 (pow) 2018-03-24 23:51:23 ProcessNewBlock: ACCEPTED 213066 000000000000211c4bf2efc4f2dd15ed43c601bfe4ca2b3958600c8399f900f9 (pow) 2018-03-24 23:54:05 opencon thread interrupt 2018-03-24 23:54:05 dumpaddr thread stop 2018-03-24 23:54:05 addcon thread interrupt 2018-03-24 23:54:05 msghand thread interrupt 2018-03-24 23:54:05 net thread interrupt 2018-03-24 23:54:05 PrepareShutdown: In progress... 2018-03-24 23:54:05 StopNode() 2018-03-24 23:54:06 *** System error while flushing: CDB : Error -30974, can't open database 2018-03-24 23:54:10 CDBEnv::EnvShutdown : Error -30974 shutting down database environment: DB_RUNRECOVERY: Fatal error, run database recovery 2018-03-24 23:54:10 Shutdown: done GUI: setGeometry: Unable to set geometry 5x13+320+252 on QWidgetWindow/'QLabelClassWindow'. Resulting geometry: 120x13+320+252 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215). 2018-03-25 08:19:48 GUI: "registerShutdownBlockReason: Successfully registered: Luxcore didn't yet exit safely..." 2018-03-25 08:19:48 2018-03-25 08:19:48 LUX version v4.2.0.0-160ec8d (2018-02-24 04:19:04 +1100) 2018-03-25 08:19:48 Using OpenSSL version OpenSSL 1.0.1k 8 Jan 2015 2018-03-25 08:19:48 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2018-03-25 08:19:48 Default data directory C:\Users\Utilizador\AppData\Roaming\LUX 2018-03-25 08:19:48 Using data directory C:\Users\Utilizador\AppData\Roaming\LUX 2018-03-25 08:19:48 Using config file C:\Users\Utilizador\AppData\Roaming\LUX\lux.conf 2018-03-25 08:19:48 Using at most 125 connections (2048 file descriptors available) 2018-03-25 08:19:48 Using 4 threads for script verification 2018-03-25 08:19:48 Using wallet wallet.dat 2018-03-25 08:19:48 init message: Verifying wallet... 2018-03-25 08:19:48 CDBEnv::Open: LogDir=C:\Users\Utilizador\AppData\Roaming\LUX\database ErrorFile=C:\Users\Utilizador\AppData\Roaming\LUX\db.log 2018-03-25 08:19:48 Bound to [::]:26868 2018-03-25 08:19:48 Bound to 0.0.0.0:26868 2018-03-25 08:19:48 init message: Loading block index... 2018-03-25 08:19:48 Opening LevelDB in C:\Users\Utilizador\AppData\Roaming\LUX\blocks\index 2018-03-25 08:19:48 Opened LevelDB successfully 2018-03-25 08:19:48 Opening LevelDB in C:\Users\Utilizador\AppData\Roaming\LUX\chainstate 2018-03-25 08:19:49 Opened LevelDB successfully 2018-03-25 08:19:55 LoadBlockIndexDB: last block file = 2 2018-03-25 08:19:55 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=25776, size=74675621, heights=187291...213066, time=2018-02-21...2018-03-24) 2018-03-25 08:19:55 Checking all blk files are present... 2018-03-25 08:19:55 LoadBlockIndexDB: Last shutdown was prepared: true 2018-03-25 08:19:55 LoadBlockIndexDB: transaction index enabled 2018-03-25 08:19:55 LoadBlockIndexDB: hashBestChain=000000000000211c4bf2efc4f2dd15ed43c601bfe4ca2b3958600c8399f900f9 height=213066 date=2018-03-24 23:50:42 progress=0.194502 2018-03-25 08:19:55 init message: Verifying blocks... 2018-03-25 08:19:55 Verifying last 500 blocks at level 3 2018-03-25 08:19:56 No coin database inconsistencies in last 501 blocks (1204 transactions) 2018-03-25 08:19:56 block index 7626ms 2018-03-25 08:19:56 init message: Loading wallet... 2018-03-25 08:19:56 nFileVersion = 4020000 2018-03-25 08:19:56 Keys: 1002 plaintext, 0 encrypted, 1002 w/ metadata, 1002 total 2018-03-25 08:19:56 wallet 21ms 2018-03-25 08:19:56 init message: Rescanning... 2018-03-25 08:19:56 Rescanning last 198121 blocks (from block 14945)... 2018-03-25 08:19:56 AddToWallet 8f42fcf2ccf593ad7e330a22fcc35291e58ebbc943113f06f4d1bb91ae02e8d2 new 2018-03-25 08:19:56


EXCEPTION: St13runtime_error
CWalletDB::ListAccountCreditDebit() : cannot create DB cursor
C:\Users\Utilizador\Desktop\Wallets\LUX Wallet\lux-qt.exe in Runaway exception

ghost commented 6 years ago

It is working after opening wallet again. But you guys should look at these unstability.

nguyenhoangtran11 commented 6 years ago

Hi, This issue should be fixed in the commit https://github.com/216k155/lux/commit/ee8f9a4db800f905f904998e1b3bbe79f1c620f5 now.

Therefore, I'd like to close this issue

ghost commented 6 years ago

Now I lost my wallet: image Cannot open backups....