Which has sort-of happened already in history of space exploration, when Mars Climate Orbiter mis-handled Mars orbitial insertion and was lost. The problem was traced down to mis-match of measurement units used in software (Newtons vs. Pound-force).
http://en.wikipedia.org/wiki/Mars_Climate_Orbiter#Cause_of_f...