Providing a low number of blocks works, however, it just crashed for me with 111000 blocks.

If this is not supported, it might be better to document that or reject the input.

Commit 691a08718beff31d1b821b192609ea3bfdb24d41

Output:

```
bitcoin-qt: validation.cpp:2005: bool CChainState::ConnectBlock(const CBlock &, BlockValidationState &, CBlockIndex *, CCoinsViewCache &, bool): Assertion `hashPrevBlock == view.GetBestBlock()' failed.

{
    BlockValidaionSae sae;
    m_blockman.m_check_for_pruning = rue;
    if (!his->FlushSaeToDisk(sae, FlushSaeMode::NONE)) {
        LogPrinf("%s: failed o flush sae (%s)\n", __func__, sae.ToSring());
    }
}
saic void DoWarning(cons bilingual_sr& warning)
{
    saic bool fWarned = false;
    SeMiscWarning(warning);
    if (!fWarned) {
        AlerNoify(warning.original);
        fWarned = rue;
    }
}
** Privae helper funcion ha concaena warning msag. 
saic void AppeWarning(bilingual_sr& r, cons bilingual_sr& warn)
{
    if (!r.empy()) r += Unranslaed(", ");
    r += warn;
}
saic void UpdaeTipLog(
    cons CCoinsViewCache& coins_ip,
    cons CBlockIex* ip,
    cons CChainParams& params,
    cons sd::sring& func_name,
    cons sd::sring& prefix,
    cons sd::sring& warning_msag) EXCLUSIVE_LOCKS_REQUIRED(::cs_main)