Re:Patriot missile software failure, 28 soldiers died. Fix: ...
by ssp on Monday September 06, 2010 @05:37PM
(#1667463)
But then, how on earth did they manage to get this software certified if it did something as DailyWTF-worthy as using floating point for a clock?
[ Parent
| on HN ]
Re:Patriot missile software failure, 28 soldiers died. Fix: ...
by Dove on Monday September 06, 2010 @06:22PM
(#1667527)
Yeah. You should see some of the other stuff that makes it into production code.
I said there was a process. I didn't say the result was good software. ;)
Re:Patriot missile software failure, 28 soldiers died. Fix: ...
by gnaffle on Tuesday September 07, 2010 @09:30AM
(#1668810)
According to http://www.cs.unc.edu/~dm/UNC/COMP205/LECTURES/ERROR/lec23/n..., the system stored the time in integers, but it was converted to floating point when doing the conversions. This conversion contained a small error that accumulated over time.
Keep in mind that things that seem very WTF to you, might seem more plausible when given more details about the subject.
Re:Patriot missile software failure, 28 soldiers died. Fix: ...
by tetha on Tuesday September 07, 2010 @04:51AM
(#1668420)
Well I have to give them that this is kind of a curious bug. I mean, you have to wait over 4 days until it triggers. Probably, this just worked whenever it was booted and tested, and booted and certified, because probably the certification did not involve ignoring the thing for four full days.
Re:Patriot missile software failure, 28 soldiers died. Fix: ...
by phaedrus on Tuesday September 07, 2010 @07:39AM
(#1668613)
According to a book I read about game testing it's common for commercial games to be run through a test of simply leaving the game on for hours or days to see if there are bugs that only show up in this way.
Re:Patriot missile software failure, 28 soldiers died. Fix: ...
by regularfry on Tuesday September 07, 2010 @02:24PM
(#1669639)
In part because the user manual included instructions to regularly reboot before precision became a problem. The users did not, because they didn't want to risk being in the middle of a reboot when a target went overhead.