<!-- This issue tracker is only for technical issues related to Bitcoin Core.

General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com.

For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/.

If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

<!-- Describe the issue -->

Bitcoind takes up 100% cpu, log file not written to. Even bitcoind --help isn't working.

**Expected behavior**

Run normally
<!--- What behavior did you expect? -->

**Actual behavior**

100% cpu usage, no output
<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

**To reproduce**

Compile current master and try to run bitcoind
<!--- How reliably can you reproduce the issue, what are the steps to do so? -->


**System information**

<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
latest master
<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->
Debian Buster
VM with 28 Xeon Platinum cores, 64GB RAM, SSD storage

<!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

<!-- Any extra information that might be useful in the debugging process. -->
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

Compiled  from  v0.19.0.1 tag and it's working.
for (uint32_t leaf = 1; leaf <= max; ++leaf) {
        uint32_t maxsub = 0;
        for (uint32_t subleaf = 0;; ++subleaf) {
            AddCPUID(hasher, leaf, subleaf, ax, bx, cx, dx);
            
            if (leaf == 4) {
                if ((ax & 0x1f) == 0) break;
            } else if (leaf == 7) {
                if (subleaf == 0) maxsub = ax;
                if (subleaf == maxsub) break;
            } else if (leaf == 11) {
                if ((cx & 0xff00) == 0) break;
            } else if (leaf == 13) {
                if (ax == 0 && bx == 0 && cx == 0 && dx == 0) break;
            } else {
                
                break;
            }
        }
    }
    
    AddCPUID(hasher, 0x80000000, 0, ax, bx, cx, dx); 
    uint32_t ext_max = ax;
    for (uint32_t leaf = 0x80000001; leaf <= ext_max; ++leaf) {
        AddCPUID(hasher, leaf, 0, ax, bx, cx, dx);
    }
}
#endif
} 
void RandAddDynamicEnv(CSHA512& hasher)