Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: OT: old farts slum_code enforcement
Date: Tue, 16 Sep 2014 14:08:26
Message-Id: lv9g7r$lru$1@ger.gmane.org
In Reply to: Re: [gentoo-user] OT: old farts slum_code enforcement by Alan McKinnon
1 On 2014-09-15, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2
3 > My favourite Fortran story:
4 >
5 > One of the Mariner spacecraft yonks ago was sent a routine regular
6 > course correction. It flew off at some wild angle and was never seen
7 > again, and because the antenna was pointing in the wrong direction
8 > comms could not be re-established. Oops. Expensive spacecraft down
9 > the drain....
10 >
11 > The bug was eventually trace to a comma instead of a period in some
12 > Fortran code (made a huge difference). Note that many code reviews
13 > missed the bug, and the compiler accepted it as valid syntax
14
15 While that is a good story, Wikipedia refers to it as "a
16 legend", and NASA explicitly identifies a different cause.
17 According to NASA failure was caused by faulty beacon equipment
18 combined with an omitted hyphen in a data editing program.
19
20 http://nssdc.gsfc.nasa.gov/nmc/spacecraftDisplay.do?id=MARIN1:
21
22 The failure was apparently caused by a combination of two factors.
23 Improper operation of the Atlas airborne beacon equipment resulted
24 in a loss of the rate signal from the vehicle for a prolonged
25 period. The airborne beacon used for obtaining rate data was
26 inoperative for four periods ranging from 1.5 to 61 seconds in
27 duration. Additionally, the Mariner 1 Post Flight Review Board
28 determined that the omission of a hyphen in coded computer
29 instructions in the data-editing program allowed transmission of
30 incorrect guidance signals to the spacecraft. During the periods
31 the airborne beacon was inoperative the omission of the hyphen in
32 the data-editing program caused the computer to incorrectly accept
33 the sweep frequency of the ground receiver as it sought the vehicle
34 beacon signal and combined this data with the tracking data sent to
35 the remaining guidance computation. This caused the computer to
36 swing automatically into a series of unnecessary course corrections
37 with erroneous steering commands which finally threw the spacecraft
38 off course.
39
40 --
41 Grant Edwards grant.b.edwards Yow! I want the presidency
42 at so bad I can already taste
43 gmail.com the hors d'oeuvres.