Originally Posted by
Tourist
Fortunately, rarely triggered bugs are rarely triggered, so you have time to patch the software before the second smoking hole.
Unless it's something like a leap second bug, which happens all across the world at the same time, and affects every aircraft in the air at that time. There are many things that don't happen very often, but could affect multiple aircraft when they do.
Besides which, just debugging it may be extremely difficult if triggering it requires some complex set of circumstances that weren't properly logged on the aircraft that crashed.
And if it's hardware... oh dear. There's a few billion dollars gone to replace it all.