<!-- Describe the issue -->
Expected behavior
Bitcoind either doesn't crash, or provides some error information in debug.log about the crash.
Actual behavior
About 10 seconds after starting bitcoind, it reliably crashes right after:
2022-03-05T23:47:40Z UpdateTip: new best=0000000000000000025faae44cda1e306fdfb468c30870a3731bbdadf24c5f
5f height=425259 version=0x20000000 log2_work=85.132165 tx=149305533 date='2016-08-15T01:43:46Z' progre
ss=0.211905 cache=0.1MiB(867txo)
2022-03-05T23:47:40Z UpdateTip: new best=00000000000000000287a137cfe12343e83667c5ab290f2c6ee75fe323a1c8
ec height=425260 version=0x20000000 log2_work=85.132195 tx=149307741 date='2016-08-15T02:03:56Z' progre
ss=0.211908 cache=1.2MiB(9061txo)
I'm currently stuck on block 425258 but that's after trying to run -reindex when this was happening more up towards the high 600000s, so I'm not sure if it's anything particular with this block or not.
To reproduce
This happens every time consistently for me.
System information
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
bitcoind --version
Bitcoin Core version v22.0
Originally tried with building my own, then tried again with the pre-build binary from bitcoincore.org to make sure I didn't do something wrong, same issue.
<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->
> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
> lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
CPU(s): 4
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz
...
> lsmem
lsmem
RANGE SIZE STATE REMOVABLE BLOCK
0x0000000000000000-0x000000008fffffff 2.3G online no 0-17
0x0000000100000000-0x000000046fffffff 13.8G online no 32-141
Memory block size: 128M
Total online memory: 16G
Total offline memory: 0B
> sudo smartctl --all /dev/sda
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Red
LU WWN Device Id: 5 0014ee 26488ca44
Firmware Version: 82.00A82
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
...
I put my debug.logs over in this gist, one default logging and one with debug=1: https://gist.github.com/wbobeirne/c32a5ef6d6778dc1ace63e74144dc0c5