Author

Topic: Bitcoin Core 25.0 cannot backup wallet in Win11 (Read 130 times)

newbie
Activity: 7
Merit: 9
September 02, 2023, 05:31:37 AM
#6
-snip-
Unfortunately, nothing in log tells the cause of the issue. That'll make things harder to check.

I can only suggest to test a few things:
Are those "test" and "test1" wallets created normally?
Is it crashing when backing up 'test1' wallet only or both?
Try to create another wallet and try if it'll also crash when you backup.
Try another directory to save the backup wallet file.

I succeeded when trying your last suggestion, I looked at the log, there were Chinese characters in my storage path, it turned out that Bitcoin Core did not recognize Chinese, thank you very much! Cheesy
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
-snip-
Unfortunately, nothing in log tells the cause of the issue. That'll make things harder to check.

I can only suggest to test a few things:
Are those "test" and "test1" wallets created normally?
Is it crashing when backing up 'test1' wallet only or both?
Try to create another wallet and try if it'll also crash when you backup.
Try another directory to save the backup wallet file.
newbie
Activity: 7
Merit: 9
Code:
2023-09-02T06:18:52Z Bitcoin Core version v25.0.0 (release build)
2023-09-02T06:18:52Z Qt 5.15.5 (static), plugin=windows (static)
2023-09-02T06:18:52Z Static plugins:
2023-09-02T06:18:52Z  QWindowsIntegrationPlugin, version 331520
2023-09-02T06:18:52Z  QWindowsVistaStylePlugin, version 331520
2023-09-02T06:18:52Z Style: windowsvista / QWindowsVistaStyle
2023-09-02T06:18:52Z System: Windows 10 Version 2009, x86_64-little_endian-llp64
2023-09-02T06:18:52Z Screen: \\.\DISPLAY1 1920x1080, pixel ratio=1.0
2023-09-02T06:18:52Z Using the 'x86_shani(1way,2way)' SHA256 implementation
2023-09-02T06:18:52Z Using RdSeed as an additional entropy source
2023-09-02T06:18:52Z Using RdRand as an additional entropy source
2023-09-02T06:18:52Z Default data directory C:\Users\****i\AppData\Roaming\Bitcoin
2023-09-02T06:18:52Z Using data directory D:\Users\****i\AppData\Roaming\Bitcoin
2023-09-02T06:18:52Z Config file: D:\Users\****i\AppData\Roaming\Bitcoin\bitcoin.conf
2023-09-02T06:18:52Z Setting file arg: wallet = ["test1","test"]
2023-09-02T06:18:52Z Using at most 125 automatic connections (2048 file descriptors available)
2023-09-02T06:18:52Z GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin Core 还没有安全退出..."
2023-09-02T06:18:52Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements
2023-09-02T06:18:52Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements
2023-09-02T06:18:52Z Script verification uses 15 additional threads
2023-09-02T06:18:52Z scheduler thread start
2023-09-02T06:18:52Z Using wallet directory D:\Users\****i\AppData\Roaming\Bitcoin\wallets
2023-09-02T06:18:52Z init message: 验证钱包...
2023-09-02T06:18:52Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2023-09-02T06:18:52Z Using wallet D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test1\wallet.dat
2023-09-02T06:18:52Z BerkeleyEnvironment::Open: LogDir=D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test1\database ErrorFile=D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test1\db.log
2023-09-02T06:18:52Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2023-09-02T06:18:52Z Using wallet D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test\wallet.dat
2023-09-02T06:18:52Z BerkeleyEnvironment::Open: LogDir=D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test\database ErrorFile=D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test\db.log
2023-09-02T06:18:52Z Using /16 prefix for IP bucketing
2023-09-02T06:18:52Z init message: 加载P2P地址...
2023-09-02T06:18:52Z Loaded 63457 addresses from peers.dat  94ms
2023-09-02T06:18:52Z init message: 加载封禁列表...
2023-09-02T06:18:52Z SetNetworkActive: true
2023-09-02T06:18:52Z Cache configuration:
2023-09-02T06:18:52Z * Using 2.0 MiB for block index database
2023-09-02T06:18:52Z * Using 8.0 MiB for chain state database
2023-09-02T06:18:52Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2023-09-02T06:18:52Z init message: 加载区块索引...
2023-09-02T06:18:52Z Assuming ancestors of block 000000000000000000035c3f0d31e71a5ee24c5aaf3354689f65bd7b07dee632 have valid signatures.
2023-09-02T06:18:52Z Setting nMinimumChainWork=000000000000000000000000000000000000000044a50fe819c39ad624021859
2023-09-02T06:18:52Z Opening LevelDB in D:\Users\****i\AppData\Roaming\Bitcoin\blocks\index
2023-09-02T06:18:52Z Opened LevelDB successfully
2023-09-02T06:18:52Z Using obfuscation key for D:\Users\****i\AppData\Roaming\Bitcoin\blocks\index: 0000000000000000
2023-09-02T06:18:54Z LoadBlockIndexDB: last block file = 3801
2023-09-02T06:18:54Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=43, size=72612941, heights=805768...805836, time=2023-09-01...2023-09-02)
2023-09-02T06:18:54Z Checking all blk files are present...
2023-09-02T06:18:55Z Initializing chainstate Chainstate [ibd] @ height -1 (null)
2023-09-02T06:18:55Z Opening LevelDB in D:\Users\****i\AppData\Roaming\Bitcoin\chainstate
2023-09-02T06:18:55Z Opened LevelDB successfully
2023-09-02T06:18:55Z Using obfuscation key for D:\Users\****i\AppData\Roaming\Bitcoin\chainstate: 5476571f7bd4b06b
2023-09-02T06:18:55Z Loaded best chain: hashBestChain=0000000000000000000080173eb74b9895187de8734ad86f5e5b68775c2f82be height=805814 date=2023-09-02T02:10:40Z progress=0.999938
2023-09-02T06:18:55Z [snapshot] allocating all cache to the IBD chainstate
2023-09-02T06:18:55Z Opening LevelDB in D:\Users\****i\AppData\Roaming\Bitcoin\chainstate
2023-09-02T06:18:55Z Opened LevelDB successfully
2023-09-02T06:18:55Z Using obfuscation key for D:\Users\****i\AppData\Roaming\Bitcoin\chainstate: 5476571f7bd4b06b
2023-09-02T06:18:55Z [Chainstate [ibd] @ height 805814 (0000000000000000000080173eb74b9895187de8734ad86f5e5b68775c2f82be)] resized coinsdb cache to 8.0 MiB
2023-09-02T06:18:55Z [Chainstate [ibd] @ height 805814 (0000000000000000000080173eb74b9895187de8734ad86f5e5b68775c2f82be)] resized coinstip cache to 440.0 MiB
2023-09-02T06:18:55Z init message: 验证区块...
2023-09-02T06:18:55Z Verifying last 6 blocks at level 3
2023-09-02T06:18:55Z Verification progress: 0%
2023-09-02T06:18:55Z Verification progress: 16%
2023-09-02T06:18:55Z Verification progress: 33%
2023-09-02T06:18:56Z Verification progress: 50%
2023-09-02T06:18:56Z Verification progress: 66%
2023-09-02T06:18:56Z Verification progress: 83%
2023-09-02T06:18:56Z Verification progress: 99%
2023-09-02T06:18:56Z Verification: No coin database inconsistencies in last 6 blocks (14425 transactions)
2023-09-02T06:18:56Z  block index            4143ms
2023-09-02T06:18:56Z init message: 加载钱包...
2023-09-02T06:18:56Z BerkeleyEnvironment::Open: LogDir=D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test1\database ErrorFile=D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test1\db.log
2023-09-02T06:18:56Z [test1] Wallet file version = 10500, last client version = 250000
2023-09-02T06:18:56Z [test1] Keys: 0 plaintext, 4002 encrypted, 4002 w/ metadata, 4002 total. Unknown wallet records: 0
2023-09-02T06:18:56Z [test1] Wallet completed loading in              31ms
2023-09-02T06:18:56Z [test1] setKeyPool.size() = 2000
2023-09-02T06:18:56Z [test1] mapWallet.size() = 0
2023-09-02T06:18:56Z [test1] m_address_book.size() = 0
2023-09-02T06:18:56Z init message: 加载钱包...
2023-09-02T06:18:56Z BerkeleyEnvironment::Open: LogDir=D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test\database ErrorFile=D:\Users\****i\AppData\Roaming\Bitcoin\wallets\test\db.log
2023-09-02T06:18:57Z [test] Wallet file version = 10500, last client version = 250000
2023-09-02T06:18:57Z [test] Keys: 2003 plaintext, 0 encrypted, 2003 w/ metadata, 2003 total. Unknown wallet records: 0
2023-09-02T06:18:57Z [test] Wallet completed loading in              31ms
2023-09-02T06:18:57Z [test] setKeyPool.size() = 2000
2023-09-02T06:18:57Z [test] mapWallet.size() = 0
2023-09-02T06:18:57Z [test] m_address_book.size() = 2
2023-09-02T06:18:57Z Setting NODE_NETWORK on non-prune mode
2023-09-02T06:18:57Z block tree size = 805838
2023-09-02T06:18:57Z nBestHeight = 805814
2023-09-02T06:18:57Z loadblk thread start
2023-09-02T06:18:57Z torcontrol thread start
2023-09-02T06:18:57Z Bound to 127.0.0.1:8334
2023-09-02T06:18:57Z Bound to [::]:8333
2023-09-02T06:18:57Z Bound to 0.0.0.0:8333
2023-09-02T06:18:57Z 0 block-relay-only anchors will be tried for connections.
2023-09-02T06:18:57Z init message: 启动网络线程...
2023-09-02T06:18:57Z net thread start
2023-09-02T06:18:57Z addcon thread start
2023-09-02T06:18:57Z opencon thread start
2023-09-02T06:18:57Z msghand thread start
2023-09-02T06:18:57Z dnsseed thread start
2023-09-02T06:18:57Z Waiting 300 seconds before querying DNS seeds.
2023-09-02T06:18:57Z UpdateTip: new best=00000000000000000004589e60735439420d68f7c947cf6c407bdf1278d4b8c5 height=805815 version=0x2f1fe000 log2_work=94.393699 tx=887572968 date='2023-09-02T02:25:56Z' progress=0.999942 cache=2.1MiB(15574txo)
2023-09-02T06:18:57Z UpdateTip: new best=000000000000000000040cd0c2b7147503beb50552468819d8c6c6c5accee166 height=805816 version=0x2fffe000 log2_work=94.393712 tx=887574745 date='2023-09-02T02:44:05Z' progress=0.999947 cache=3.8MiB(27992txo)
2023-09-02T06:18:57Z UpdateTip: new best=00000000000000000002f7f71d8ca63d49ef48c86a5292b70cd65d10ac4d19cc height=805817 version=0x20006000 log2_work=94.393725 tx=887577951 date='2023-09-02T02:48:58Z' progress=0.999948 cache=5.5MiB(40602txo)
2023-09-02T06:18:57Z UpdateTip: new best=00000000000000000001da54ade75cc3e85de584d3e2076eb0ceabb77f8e5b13 height=805818 version=0x31994000 log2_work=94.393739 tx=887581431 date='2023-09-02T02:51:10Z' progress=0.999948 cache=7.1MiB(49442txo)
2023-09-02T06:18:57Z UpdateTip: new best=00000000000000000001d69376b8ac4b375b59c5fa1f92284d405aaba1e4df76 height=805819 version=0x20e00000 log2_work=94.393752 tx=887583021 date='2023-09-02T03:06:00Z' progress=0.999952 cache=8.8MiB(62712txo)
2023-09-02T06:18:58Z UpdateTip: new best=00000000000000000001aae0a7843308edb7088108b132651491bca9a2627bba height=805820 version=0x20e00004 log2_work=94.393765 tx=887587374 date='2023-09-02T03:08:36Z' progress=0.999953 cache=9.7MiB(69863txo)
2023-09-02T06:18:58Z init message: 加载完成
2023-09-02T06:18:58Z GUI: Platform customization: "windows"
2023-09-02T06:18:58Z UpdateTip: new best=0000000000000000000354a2b6b61bfb03ade2429e05373c03bc75a918351f88 height=805821 version=0x2000e000 log2_work=94.393778 tx=887589981 date='2023-09-02T03:27:27Z' progress=0.999957 cache=10.9MiB(80289txo)
2023-09-02T06:18:58Z UpdateTip: new best=000000000000000000043fb56c636b9c03fa59f404feed828a2fae5ff2f19b02 height=805822 version=0x29498000 log2_work=94.393792 tx=887593252 date='2023-09-02T03:30:05Z' progress=0.999958 cache=13.4MiB(91598txo)
2023-09-02T06:18:58Z UpdateTip: new best=00000000000000000004e7fd9ba5b2f5b224619d0b52c44fc88422f0cb512eb1 height=805823 version=0x2a0ce000 log2_work=94.393805 tx=887595666 date='2023-09-02T03:53:09Z' progress=0.999964 cache=15.3MiB(106206txo)
2023-09-02T06:18:58Z UpdateTip: new best=00000000000000000002c038d5d2f287506510166e8f469f0f0458da3306c2f7 height=805824 version=0x2a06c000 log2_work=94.393818 tx=887597788 date='2023-09-02T04:07:58Z' progress=0.999967 cache=16.3MiB(114432txo)
2023-09-02T06:18:58Z UpdateTip: new best=00000000000000000002c12152e5c64c39b1b653d5f83249618b0974dc96bd87 height=805825 version=0x31e68000 log2_work=94.393831 tx=887603417 date='2023-09-02T04:10:55Z' progress=0.999968 cache=16.8MiB(119280txo)
2023-09-02T06:18:58Z UpdateTip: new best=00000000000000000004a1d054066508738dc9174733ff6899ece69277541998 height=805826 version=0x32ea6000 log2_work=94.393845 tx=887607016 date='2023-09-02T04:22:58Z' progress=0.999971 cache=18.0MiB(129485txo)
2023-09-02T06:18:58Z UpdateTip: new best=000000000000000000005629209a3bd4b99bb7b00889bb49a0546ae308fbb30f height=805827 version=0x20a00000 log2_work=94.393858 tx=887612240 date='2023-09-02T04:27:22Z' progress=0.999972 cache=18.2MiB(132130txo)
2023-09-02T06:18:59Z UpdateTip: new best=000000000000000000029bca3a72dde85f790005ddd4915ccd0771247294bff2 height=805828 version=0x3fff0000 log2_work=94.393871 tx=887615502 date='2023-09-02T04:35:59Z' progress=0.999974 cache=18.7MiB(136631txo)
2023-09-02T06:18:59Z UpdateTip: new best=000000000000000000029ab692f9f90595c215bbec6b4f6fb9c6823366e57fb1 height=805829 version=0x20002000 log2_work=94.393884 tx=887619343 date='2023-09-02T04:47:03Z' progress=0.999977 cache=19.4MiB(142965txo)
2023-09-02T06:18:59Z UpdateTip: new best=0000000000000000000089c799ad1498d545008e4f7cc24422c2163cf0e70250 height=805830 version=0x2003a000 log2_work=94.393898 tx=887622748 date='2023-09-02T04:52:00Z' progress=0.999978 cache=21.4MiB(155491txo)
2023-09-02T06:18:59Z UpdateTip: new best=0000000000000000000123dfcd75f0a382f3196b0a2167f4232d556baeb9d594 height=805831 version=0x3199c000 log2_work=94.393911 tx=887629533 date='2023-09-02T04:54:34Z' progress=0.999979 cache=22.5MiB(165007txo)
2023-09-02T06:18:59Z UpdateTip: new best=0000000000000000000463364ddc12a2a6f7bb5b94abc3395bc8d689298c8e74 height=805832 version=0x31936000 log2_work=94.393924 tx=887634360 date='2023-09-02T04:55:29Z' progress=0.999979 cache=25.6MiB(179000txo)
2023-09-02T06:18:59Z UpdateTip: new best=00000000000000000001c59c8fc1ef781b2b6ee5d0737f5f03973b7e74bf6550 height=805833 version=0x21ada000 log2_work=94.393937 tx=887636362 date='2023-09-02T05:04:17Z' progress=0.999981 cache=26.5MiB(187160txo)
2023-09-02T06:18:59Z UpdateTip: new best=00000000000000000000b06347530c788bfce2ea4d4cc6612d11adeb408c0c4c height=805834 version=0x270f4000 log2_work=94.393951 tx=887642980 date='2023-09-02T05:05:25Z' progress=0.999982 cache=26.6MiB(189451txo)
2023-09-02T06:18:59Z UpdateTip: new best=00000000000000000001f47f2530d7edc809b89dfe0d53f566294e1f9e5a12ac height=805835 version=0x2b494000 log2_work=94.393964 tx=887645837 date='2023-09-02T05:38:01Z' progress=0.999990 cache=28.2MiB(202462txo)
2023-09-02T06:18:59Z UpdateTip: new best=00000000000000000003f9422d4b8e9ccdf160e71848ad6e46836c5d80c0f11f height=805836 version=0x2faf6000 log2_work=94.393977 tx=887648917 date='2023-09-02T05:40:13Z' progress=0.999990 cache=29.9MiB(213510txo)
2023-09-02T06:18:59Z Leaving InitialBlockDownload (latching to false)
2023-09-02T06:18:59Z Imported mempool transactions from disk: 68 succeeded, 3101 failed, 0 expired, 0 already there, 0 waiting for initial broadcast
2023-09-02T06:18:59Z loadblk thread exit
2023-09-02T06:19:00Z New outbound peer connected: version: 70016, blocks=805836, peer=2 (outbound-full-relay)
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 12
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 12
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 12
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 14
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 14
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 14
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 11
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 11
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 11
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 32
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 32
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 32
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 18
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 18
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 18
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 19
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 19
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 19
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 13
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 13
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 13
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 20
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 20
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 20
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 16
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 16
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 16
2023-09-02T06:19:09Z GUI:   OpenType support missing for "SimSun", script 17
2023-09-02T06:19:09Z GUI:   OpenType support missing for "Arial", script 17
2023-09-02T06:19:09Z GUI:   OpenType support missing for "MS UI Gothic", script 17
2023-09-02T06:19:12Z New outbound peer connected: version: 70016, blocks=805836, peer=3 (outbound-full-relay)
2023-09-02T06:19:14Z New outbound peer connected: version: 70016, blocks=805836, peer=5 (outbound-full-relay)
2023-09-02T06:19:15Z New outbound peer connected: version: 70015, blocks=805836, peer=6 (outbound-full-relay)
2023-09-02T06:19:17Z New outbound peer connected: version: 70016, blocks=805836, peer=4 (outbound-full-relay)
2023-09-02T06:19:19Z P2P peers available. Skipped DNS seeding.
2023-09-02T06:19:19Z dnsseed thread exit
2023-09-02T06:19:23Z New outbound peer connected: version: 70016, blocks=805836, peer=8 (outbound-full-relay)
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
“A fatal error has occurred. Bitcoin Core can no longer continue to run safely and will soon exit” Huh
Check the logs if there's any related issue in the last few lines.
Or you can post it here inside [code][/code] tags for others to check,
You do not have to post the entire thing, just the latest session and you can remove PC username, etc. if you prefer.

You can find your debug.log file in %appdata%/bitcoin (paste to File Explorer) or in your custom data directory if set.
Open it as text to see the contents.

For now, you can manually backup your wallet by copying it from "wallets" folder inside bitcoin data directory.
Either the entire folder that has the same name as your wallet or the 'wallet.dat' inside it.
Make sure that Bitcoin Core isn't running while copying the wallet file.
sr. member
Activity: 910
Merit: 284
Most probable reason is your wallet.dat file corrupted. Replace the corrupted wallet.dat file with your backup.

Even if it persists after replacing wallet.dat file then try this
Go to the Bitcoin Core datadir (same place where you find the debug.log file). Then either edit or create a bitcoin.conf file. Add to that file the following line:
Code:
usehd=0
Then start Bitcoin Core and it should work.
newbie
Activity: 7
Merit: 9
“A fatal error has occurred. Bitcoin Core can no longer continue to run safely and will soon exit” Huh
Jump to: