My brother in law works in aerospace, he worked on a project which involved a mars mission - the catastrophic error was that part of the software worked in metric and part of it worked in imperial measures. Each independantly worked in factory testing, but together the imperial readings threw the metric system (it was just a number) - or vice versa - no one caught the error