<p>Check this file: ErrorFile=d:\btdata\db.log</p>
<p>Errors are logged in there. You are viewing the debug logs which will not print any error.</p>

CC BY-SA 4.0
2021-02-11T13:50:17.493Z
Thanks, checked that file however it's empty as mentioned in my question.
Oğuzhan Filizlibay
CC BY-SA 4.0
2021-02-16T06:20:23.860Z
Did you try reindex and rescan option ?
Gladiator9120
CC BY-SA 4.0
2021-02-16T18:29:24.500Z
I tried rescan but not reindex, will try that..
Oğuzhan Filizlibay
CC BY-SA 4.0
2021-02-17T06:30:57.293Z
--rescan --reindex allowed me to load the wallet. Thank you!
Oğuzhan Filizlibay
CC BY-SA 4.0
2021-02-10T11:05:55.517Z
2021-02-10T11:05:55.517Z
Gladiator9120
<p>When trying to load a wallet I last used in 2017 December, in bitcoin core wallet 0.21.0 x64, the UI exits abruptly, last few lines in the debug.log shows the following:</p>
<pre><code>2021-02-10T07:20:22Z Using wallet d:\btdata\dijitalparaciklar.dat
2021-02-10T07:20:22Z BerkeleyEnvironment::Open: LogDir=d:\btdata\database ErrorFile=d:\btdata\db.log
2021-02-10T07:20:22Z init message: Loading wallet...
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Wallet File Version = 130000
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Keys: 0 plaintext, 214 encrypted, 214 w/ metadata, 214 total. Unknown wallet records: 0
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Wallet completed loading in 175ms
2021-02-10T07:20:23Z init message: Rescanning...
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Rescanning last 173423 blocks (from block 496540)...
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Rescan started from block 0000000000000000009e546a2183eb90aea183bd153f2d7b3c34f67b4aa6abc5...
2021-02-10T07:20:23Z [dijitalparaciklar.dat] AddToWallet 0f1162a63b3ae14a3bc8907f8edbb57e392fc5dfadfe866de0eb5d470f7504df 
2021-02-10T07:20:25Z New outbound peer connected: version: 70015, blocks=669964, peer=2 (full-relay)
</code></pre>
<p>Windows records the crash as follows:</p>
<p>Faulting application name: bitcoin-qt.exe, version: 0.21.0.0, time stamp: 0x00000000
Faulting module name: bitcoin-qt.exe, version: 0.21.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x000000000038ca40
Faulting process id: 0x5128
Faulting application start time: 0x01d6ff7aa101f703
Faulting application path: D:\Bitcoin\bitcoin-qt.exe
Faulting module path: D:\Bitcoin\bitcoin-qt.exe
Report Id: 49909fad-f4bd-4f8c-9423-a585cbeaba86
Faulting package full name:
Faulting package-relative application ID:</p>
<p>Any ideas why this could be happening? db.log is empty btw..</p>

CC BY-SA 4.0
2021-02-15T20:17:11.793Z
I am having the same problem (with different dates and using the cli version). [My post](https://bitcoin.stackexchange.com/questions/102659/upgrading-converting-bitcoin-core-wallet-between-platforms). Your situation seems to indicate that the problem I am having is not related to platform or gui vs cli, which is helpful (at least to me). So thanks.
memtha
<wallet.dat>
Loading wallet crashes bitcoin core wallet
Oğuzhan Filizlibay
# Loading wallet crashes bitcoin core wallet

(Asked by: username_0 on 2021-02-10)

When trying to load a wallet I last used in 2017 December, in bitcoin core wallet 0.21.0 x64, the UI exits abruptly, last few lines in the debug.log shows the following:
2021-02-10T07:20:22Z Using wallet d:\btdata\dijitalparaciklar.dat
2021-02-10T07:20:22Z BerkeleyEnvironment::Open: LogDir=d:\btdata\database ErrorFile=d:\btdata\db.log
2021-02-10T07:20:22Z init message: Loading wallet...
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Wallet File Version = 130000
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Keys: 0 plaintext, 214 encrypted, 214 w/ metadata, 214 total. Unknown wallet records: 0
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Wallet completed loading in 175ms
2021-02-10T07:20:23Z init message: Rescanning...
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Rescanning last 173423 blocks (from block 496540)...
2021-02-10T07:20:23Z [dijitalparaciklar.dat] Rescan started from block 0000000000000000009e546a2183eb90aea183bd153f2d7b3c34f67b4aa6abc5...
2021-02-10T07:20:23Z [dijitalparaciklar.dat] AddToWallet 0f1162a63b3ae14a3bc8907f8edbb57e392fc5dfadfe866de0eb5d470f7504df 
2021-02-10T07:20:25Z New outbound peer connected: version: 70015, blocks=669964, peer=2 (full-relay)

Windows records the crash as follows:
Faulting application name: bitcoin-qt.exe, version: 0.21.0.0, time stamp: 0x00000000
Faulting module name: bitcoin-qt.exe, version: 0.21.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x000000000038ca40
Faulting process id: 0x5128
Faulting application start time: 0x01d6ff7aa101f703
Faulting application path: D:\Bitcoin\bitcoin-qt.exe
Faulting module path: D:\Bitcoin\bitcoin-qt.exe
Report Id: 49909fad-f4bd-4f8c-9423-a585cbeaba86
Faulting package full name:
Faulting package-relative application ID:
Any ideas why this could be happening? db.log is empty btw..

**Tags:** wallet.dat

> **Comments:**
> **username_1**: I am having the same problem (with different dates and using the cli version). [My post](https://bitcoin.stackexchange.com/questions/102659/upgrading-converting-bitcoin-core-wallet-between-platforms). Your situation seems to indicate that the problem I am having is not related to platform or gui vs cli, which is helpful (at least to me). So thanks.  

---

## 1 answers

### Answer by username_2 on 2021-02-10. Score: 1 | Accepted answer

Check this file: ErrorFile=d:\btdata\db.log

Errors are logged in there. You are viewing the debug logs which will not print any error.

> **Comments:**
> **username_0**: Thanks, checked that file however it's empty as mentioned in my question.  
> **username_2**: Did you try reindex and rescan option ?  
> **username_0**: I tried rescan but not reindex, will try that..  
> **username_0**: --rescan --reindex allowed me to load the wallet. Thank you!  

---

