⚠️ Fix: Use APFS instead of ExFAT disk format ⚠️
Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
Both bitcoind
and Bitcoin Core
crash in various way, sometimes it’s a corrupted block, other times there are issues with the indexes or the chain state. Tried reindexing without success.
Tried on different computers one on 14.0 and the other on 14.1.
It seem to only crash when using external storage, I didn’t run it for very long since I don’t have the space for but it worked without issue when leaving the default datadir
.
Tried with Bitcoin Core 24.1, 25.0, and bitcoind 25.0 and built from source, reindexing and restarting from scratch. It seems to always fail around mid 2012
It worked perfectly on both machines with Mac OS Ventura (13.X) and Bitcoin Core 24.1 with the same external SSD
Expected behaviour
I expect the software to run without crashing
Steps to reproduce
Update a Mac to Sonoma (14.X)
Select an external SSD as storage for datadir
Run bitcoind
until it crashes
Relevant log output
Here’s the most common type of errors
0date='2012-06-05T09:58:55Z' progress=0.004282 cache=229.8MiB(1876048txo)
12023-09-29T19:49:36Z UpdateTip: new best=00000000000007656ea41bf3b7157b4852d548dad3353aed95803230c4c371fd height=183104 version=0x00000001 log2_work=68.224759 tx=3756934 date='2012-06-05T10:22:50Z' progress=0.004283 cache=229.8MiB(1876231txo)
22023-09-29T19:49:36Z UpdateTip: new best=00000000000007f347d5d728664c21f549494207e4b94a0b6a89c2be6e327255 height=183105 version=0x00000001 log2_work=68.224787 tx=3757624 date='2012-06-05T10:30:01Z' progress=0.004283 cache=229.8MiB(1876500txo)
32023-09-29T19:49:36Z ERROR: ReadBlockFromDisk: Errors in block header at FlatFilePos(nFile=12, nPos=948913)
42023-09-29T19:49:36Z *** Failed to read block
52023-09-29T19:49:36Z Error: A fatal internal error occurred, see debug.log for details
6Error: A fatal internal error occurred, see debug.log for details
72023-09-29T19:49:36Z ERROR: ProcessNewBlock: ActivateBestChain failed (Failed to read block)
82023-09-29T19:49:36Z tor: Thread interrupt
92023-09-29T19:49:36Z Shutdown: In progress...
102023-09-29T19:49:36Z msghand thread exit
112023-09-29T19:49:36Z addcon thread exit
122023-09-29T19:49:36Z torcontrol thread exit
132023-09-29T19:49:36Z net thread exit
142023-09-29T19:49:37Z opencon thread exit
152023-09-29T19:49:38Z DumpAnchors: Flush 0 outbound block-relay-only peer addresses to anchors.dat started
162023-09-29T19:49:38Z DumpAnchors: Flush 0 outbound block-relay-only peer addresses to anchors.dat completed (0.01s)
172023-09-29T19:49:38Z scheduler thread exit
182023-09-29T19:49:38Z Writing 0 unbroadcast transactions to disk.
192023-09-29T19:49:38Z Dumped mempool: 0.00129013s to copy, 0.00299875s to dump
202023-09-29T19:49:41Z Shutdown: done
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
25.0
Operating system and version
MacOS Sonoma 14.1
Machine specifications
Mac mini / MBP Mac OS 14.X M1 External SSD (Samsung T7 Shield)