This is because you did unnecessary steps.
You already identified the issue which is just a corrupted file in your UTXO set.
All you had to do is start Bitcoin Core with --reindex-chainstate command line arg and it'll rebuild it from your existing block files.
But if your node is in prune mode, it'll have to redo IBD anyways.
Hello, thank you for your reply.
"Just a corrupted file", is indeed what it was.
But this shouldn't happen in a system running without hardly any error.
(In my 40+ years of working with windows systems the odd hangup is usually contributed to bad software so I've become desensitized to blaming the hardware. Which it ultimately turned out to be.)
I have tried
-reindex-chainstate multiple times. Yet still, after a couple of hours, the error would come up again.
Hence the steps I took.
After that everything
seemed to be ok.
Seemed ...
Until I found out that when verifying a backup (of unrelated data) errors also emanated.
(a single bit in about 2TB worth of data)
This made me run memtest86 again, and again and again.
Only after the third pass, errors started occurring.
Always the same memory range, always the same bits.
(Which lead me to think one chip is failing.)
When I turned of XMP (or D.O.C.P in AMD parlance) in the BIOS and ran memtest86 again three times in a row, the errors no longer occurred.
::
So, to conclude:
- It was/is a hardware problem after all, but because it only showed up under certain conditions very difficult to pinpoint.
The next step is to replace the memory (reseating won't work, since it is clearly a single chip that is at fault and not a bad connection.)
Anyway, again, thanks for your reply.