init.cpp:1635 prints mapBlockIndex.size() without cs_main. This is technically a race (though it is rather inconsequential). At some point someone should fix this so tsan stops complaining.
{
    if (!tx.IsCoinBase())
    {
        if (!Consensus::CheckTxInputs(tx, state, inputs, GetSpendHeight(inputs)))
            return false;
        if (pvChecks)
            pvChecks->reserve(tx.vin.size());
        
        
        
        
        
        
        
        
        if (fScriptChecks) {