TOCW in flight is a huge problem, usually as the result of faulty prox sensors. Aircraft believes it is on the ground in flight. T/O configuration horn sounds, believing flaps and slats / leading edge devices are not configured for T/O. Outflow valves open and pressurization is rapidly lost. Mode S lost due to aircraft believing it is on gdn. The list goes on.