Flight chaos caused by software defect, says air traffic control body The failure led to more than 2,000 flights being cancelled and hundreds of thousands of passengers affected.