After 10 years of operation, the Mars Global Surveyor spacecraft may have succumbed to bad software.