Sorry, but that first one:<p><a href="http:&#x2F;&#x2F;nanxiao.me&#x2F;en&#x2F;an-experience-of-fixing-a-memory-corruption-bug&#x2F;" rel="nofollow">http:&#x2F;&#x2F;nanxiao.me&#x2F;en&#x2F;an-experience-of-fixing-a-memory-corrup...</a><p>is really dumb. The moral is that you don&#x27;t use global variables that are accessed by multiple threads (unless you&#x27;re very careful). That&#x27;s C programming 101.