Users report parallel compiling is causing segfault on Ryzen Linux
Computer science-y question.<p>Initially this question was going to be &quot;can we log executed instructions&quot; but I rapidly realized that not even DDR5 could keep up with such a logging system - it would slow things down too much and likely mask the bug (not to mention the TBs of space that would be needed).<p>Rethinking a bit, my 2nd take is to see if it&#x27;s possible to somehow repeatedly synthesize workloads from (presumably smaller, more manageable amounts of) seed data.<p>One of the users in the AMD forum thread (I don&#x27;t seem to be able to get a permalink) mentions that they&#x27;re experiencing gcc crashes on Ubuntu inside VMWare on Win10! This means that the bug fits inside <i>two</i> kernels&#x27; preemptation&#x2F;task scheduling <i>and</i> a hypervisor! Interesting.<p>What stumps me is that some users are experiencing gcc segfaults, while others are getting faults in `sh`.<p>...yeah this has me stumped. CPUs are so fast, and we have no idea where the problem is.<p>EDIT: This comment is interesting: <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;6f08mb&#x2F;compiling_with_ryzen_cpus_on_linux_causing_random&#x2F;dieuoad&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;6f08mb&#x2F;compili...</a>