Bitcoin-qt.exe suddenly stopped working. The symptom looked like #14447, an "assertion failed" error message popped up. debug.log said:
ERROR: ReadRawBlockFromDisk: Read from block file failed: CAutoFile::read: end of file: iostream error for CBlockDiskPos(nFile=0, nPos=16830050)
Bitcoin Core v0.17.0.1 x64 Windows 10 17763 x64
Running Electrum Personal Server with Cygwin x64.
bitcoin.conf:
txindex=1
server=1
addresstype=p2sh-segwit
rpcbind=127.0.0.1:8332
rpcuser=USERNAME
rpcpassword=PASSWORD
rpcallowip=127.0.0.1
zmqpubrawblock=tcp://127.0.0.1:18501
zmqpubrawtx=tcp://127.0.0.1:18501
externalip=DDNS_DOMAIN_NAME
discover=1
Specified -blocksdir by command line to migrate block storage to HDD.