In 2011 the Mars-bound Russian Fobos-Grunt failed because of a programming error which led to a simultaneous reboot of two working channels of an onboard computer, leaving the craft parked in low-Earth orbit and eventually uncontrolled re-entry over the Pacific Ocean.
In 1999 NASA's Mars Climate Orbiter disintegrated in the Martian upper atmosphere due to ground based computer software which produced output in non-SI units of pound-seconds (lbf×s) instead of the metric units of newton-seconds (N×s) specified in the contract between NASA and Lockheed.