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 (pindex == pindexFirstNotTreeValid) pindexFirstNotTreeValid = nullptr;
            if (pindex == pindexFirstNotTransactionsValid) pindexFirstNotTransactionsValid = nullptr;
            if (pindex == pindexFirstNotChainValid) pindexFirstNotChainValid = nullptr;
            if (pindex == pindexFirstNotScriptsValid) pindexFirstNotScriptsValid = nullptr;
            
            CBlockIndex* pindexPar = pindex->pprev;
            
            std::pair<std::multimap<CBlockIndex*,CBlockIndex*>::iterator,std::multimap<CBlockIndex*,CBlockIndex*>::iterator> rangePar = forward.equal_range(pindexPar);
            while (rangePar.first->second != pindex) {
                assert(rangePar.first != rangePar.second); 
                rangePar.first++;
            }
            
            rangePar.first++;
            if (rangePar.first != rangePar.second) {
                
                pindex = rangePar.first->second;
                break;
            } else {
                
                pindex = pindexPar;
                nHeight--;
                continue;
            }
        }
    }
    
    assert(nNodes == forward.size());
}
std::string CBlockFileInfo::ToString() const