wizardsardine / liana

The missing safety net for your coins
https://wizardsardine.com/liana
BSD 3-Clause "New" or "Revised" License
295 stars 49 forks source link

Windows 11 - Crashes / bitcoind error #705

Open kloaec opened 10 months ago

kloaec commented 10 months ago

I am trying to extensively debug the Windows application, but I do not have much expertise.

Here are some issues I found, that seem related.

A) Launching 2 instances of Liana, let's say Mainnet and Testnet, will crash one of them during syncronization. The bug goes as far as crashing my OS, so there is a possibility that there is a hardware issue on my end, but I can reproduce it often enough that I am dismissing this possibility for now.

B) Fresh install of Liana, without trying to trigger the prior bug. I launch Liana on Testnet, and during the IBD (after headers sync) I close it. I wait long enough (5 min+) to make sure it's not some remnant process. I launch Liana on Mainnet, it refuses to connect. Transient Error when sending request to bitcoind: Bitcoin RPC server error: Transport error: minreq: no connection could be made because the target machine actively refused it (os error 10061) I click "retry", it goes through but then hangs. Rebooting the computer (to make sure it's not a process in memory) does NOT fix the issue. Only deleting the bitcoin folder in Liana lets me sync again.

C) Sync is sometime EXTREMELY slow on Windows. I am still trying to find the reason or at least some reproducibility of this bug as it's not always as slow.

D) Sometimes, the Liana-Gui shows the "syncing the wallet with the blockchain..." without any other information. The log file shows some sync happening, until it actually crash and show an error transport error: http (status: 401, body: ) in the logs. Liana then hangs.

kloaec commented 10 months ago

I am trying to reproduce those on Linux but so far no success. It seems Windows related.

pythcoiner commented 10 months ago

C) Sync is sometime EXTREMELY slow on Windows. I am still trying to find the reason or at least some reproducibility of this bug as it's not always as slow.

experience same issue on mainnet on a Win10 laptop (I7-10750H CPU + 8Go Ram + SSD ), from 70% to 73% in 24h, it seems to have started to really slow down after 65%

so i go to an other machine: Win10 station (I7-12700KF + 64Go Ram + SSD) => IBD done in around 24h

note: both machines on the same internet connexion (Starlink w/ 200M/200M)

note2: i notice on the second machine that after closing liana-gui (10min+), bitcoind was still running

pythcoiner commented 10 months ago

A) Launching 2 instances of Liana, let's say Mainnet and Testnet, will crash one of them during syncronization. The bug goes as far as crashing my OS, so there is a possibility that there is a hardware issue on my end, but I can reproduce it often enough that I am dismissing this possibility for now.

I've tryed to reproduce this on Win10, no crash during IBD (mainnet/signet) but connexion to bitcoind lost right after IBD ended.