Software Glitch Caused Crash of Airbus A400M Military Transport Aircraft
An anonymous reader writes: A software glitch caused the crash of an Airbus A400M military transport aircraft, claims German newspaper Der Spiegel (Google translation). The accident, which happened in Seville on the vehicle's first production test flight on 9 May, killed four crew members. Airbus is investigating the system controlling the aircraft's engines. The early suspicions are that it was an installation problem, rather than a design problem.
ONE_IN_FAILURE_RATE = 50000000; //Ted: reduce by 10 every time management claims they need to increase reliabilty
//TODO: Ted, MAKE SURE YOU REMOVE THIS BEFORE SOMEONE ACTUALLY FLIES.
if(left_engine_running && (rand()%FAILURE_RATE == 0))
Since it was the first flight, the EULA popped up, and the crew made the mistake of hitting "decline" instead of "accept"?