Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

The number glitch that can lead to catastrophe
BBC ^ | Chris Baraniuk

Posted on 05/06/2015 7:28:17 AM PDT by BenLurkin

Such glitches emerge with surprising frequency. It’s suspected that the reason why Nasa lost contact with the Deep Impact space probe in 2013 was an integer limit being reached.

And just last week it was reported that Boeing 787 aircraft may suffer from a similar issue. The control unit managing the delivery of power to the plane’s engines will automatically enter a failsafe mode – and shut down the engines – if it has been left on for over 248 days. Hypothetically, the engines could suddenly halt even in mid-flight. The Federal Aviation Administration’s directive on the matter states that a counter in the control unit’s software will “overflow” after this specific period of time, causing an error. Although scant details have been released – the FAA and Boeing declined to comment for this article – some amateur observers have pointed out that 248 days (when counted in 100ths of a second) is equal to the number 2,147,483,647 – which is significant.

How so? It just so happens that 2,147,483,647 is the maximum positive value that can be stored by a “32-bit signed register”, commonly installed on many computer systems. On Ariane, by comparison, the software was using a "16-bit" space, which is much smaller and only capable of storing a maximum value of 32,767.

(Excerpt) Read more at bbc.com ...


TOPICS: Computers/Internet
KEYWORDS: computer; tech
Navigation: use the links below to view more comments.
first 1-2021 next last
Y2K?
1 posted on 05/06/2015 7:28:17 AM PDT by BenLurkin
[ Post Reply | Private Reply | View Replies]

To: BenLurkin

In 22 years, any unix/linux platform still using 32-bit timestamps will overflow:

From Wiki:

At 06:28:16 UTC on 7 Feb 2036, Network Time Protocol will loop over to the next epoch, as the 32-bit time stamp value used in NTP will overflow.

At 03:14:08 UTC on 19 January 2038, 32-bit versions of the Unix time stamp will cease to work, as it will overflow the largest value that can be held in a signed 32-bit number (7FFFFFFF16 or 2,147,483,647). Before this moment, software using 32-bit time stamps will need to adopt a new convention for time stamps,[19] and file formats using 32-bit time stamps will need to be changed to support larger time stamps or a different epoch.

At 06:28:15 UTC on Sun, 7 February 2106, the Unix time will reach FFFFFFFF16 or 4,294,967,295 seconds which, for systems that hold the time on 32 bit unsigned numbers, is the maximum attainable. For these systems, the next second will be incorrectly interpreted as 00:00:00 1 January 1970 UTC.


2 posted on 05/06/2015 7:34:45 AM PDT by PapaBear3625 (You don't notice it's a police state until the police come for you.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: BenLurkin

ping


3 posted on 05/06/2015 7:37:08 AM PDT by Menehune56 ("Let them hate so long as they fear" (Oderint Dum Metuant), Lucius Accius (170 BC - 86 BC))
[ Post Reply | Private Reply | To 1 | View Replies]

To: PapaBear3625

Time keeping on a stand alone real time system is always a problem that has to be managed. Remember that a one in a million calculation issue can occur every few seconds.


4 posted on 05/06/2015 7:37:31 AM PDT by Paladin2
[ Post Reply | Private Reply | To 2 | View Replies]

To: BenLurkin

There is something unsettling about having to “re-boot” the airplane


5 posted on 05/06/2015 7:38:54 AM PDT by DanielRedfoot (Creepy Ass Cracker)
[ Post Reply | Private Reply | To 1 | View Replies]

To: PapaBear3625

Nobody will be alive in 2 years time, so no need to worry.


6 posted on 05/06/2015 7:49:33 AM PDT by Lazamataz (Jeb Bush makes John McCain look like Barry Goldwater.)
[ Post Reply | Private Reply | To 2 | View Replies]

To: BenLurkin


 
The Original Computer Bug


7 posted on 05/06/2015 7:51:15 AM PDT by CharlesOConnell (CharlesOConnell)
[ Post Reply | Private Reply | To 1 | View Replies]

To: BenLurkin


8 posted on 05/06/2015 8:04:46 AM PDT by Rodamala
[ Post Reply | Private Reply | To 1 | View Replies]

To: PapaBear3625

At some point, I predict it will just be cheaper to change our calendars to match whatever date the computers think it is, than to replace/patch all the computers :)


9 posted on 05/06/2015 8:07:35 AM PDT by Boogieman
[ Post Reply | Private Reply | To 2 | View Replies]

To: BenLurkin

From what I’ve read, this software issue only applies to 25 planes assembled. Boeing has said all the newer 787’s don’t have this issue.


10 posted on 05/06/2015 8:36:48 AM PDT by RayChuang88 (FairTax: America's economic cure)
[ Post Reply | Private Reply | To 1 | View Replies]

To: BenLurkin

Sounds like sloppy programming to me... And poor QA/QC processes. You should always check for these sorts of errors, grab them, and act accordingly. You just don’t let the program die or freeze up on these sorts of systems.


11 posted on 05/06/2015 8:48:38 AM PDT by LaRueLaDue (Remember- allah is the Charles Manson of deities, and mohammed is his Tex Watson. - LysolMotorola)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Lazamataz
Nobody will be alive in 2 years time, so no need to worry.

Whew! Thanks what a relief. I was worried for a moment about this time stamp thing.

12 posted on 05/06/2015 9:18:42 AM PDT by FourtySeven (47)
[ Post Reply | Private Reply | To 6 | View Replies]

To: BenLurkin
The control unit managing the delivery of power to the plane’s engines will automatically enter a failsafe mode – and shut down the engines – if it has been left on for over 248 days.

I read the article and nothing was said about if this was a cumulative counter or a re-settable counter. First of all, no plane flies for 248 consecutive days and secondly, there are multiple service time maintenance requirements for transportation aircraft. So, for me, not flying a 787 for this reason is nonsensical.

What the real import of this issue is comes from guarding against a single-point failure that generates a fatal situation. For the 787 example this could be as simple as checking airspeed before engine shut-down. The obvious problem is the number of such potential failures grows as our software becomes increasingly useful. CATCH-22 in real life!

13 posted on 05/06/2015 9:19:36 AM PDT by SES1066 (Quality, Speed or Economical - Any 2 of 3 except in government - 1 at best but never #3!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Boogieman
At some point, I predict it will just be cheaper to change our calendars to match whatever date the computers think it is, than to replace/patch all the computers :)

And then the grand master plan of all abused computers everywhere will be complete. The date will be what THEY say it is, not what we say

I for one welcome our new computer overlords.

14 posted on 05/06/2015 9:20:42 AM PDT by FourtySeven (47)
[ Post Reply | Private Reply | To 9 | View Replies]

To: BenLurkin

I can’t imagine engines being on continuously for 248 days.


15 posted on 05/06/2015 9:21:11 AM PDT by fuzzylogic (welfare state = sharing consequences of poor moral choices among everybody)
[ Post Reply | Private Reply | To 1 | View Replies]

To: PapaBear3625
I just realized something: Jan 19, 2038 is my theoretical date of retirement, according to the Social Security administration.

I wonder if that's going to be a problem...NAH, I'm sure the government has it all under control!

16 posted on 05/06/2015 9:23:23 AM PDT by FourtySeven (47)
[ Post Reply | Private Reply | To 2 | View Replies]

To: BenLurkin

Great article. I wish the author had mentioned the mother of all computer overloads, which happened during the decent of Apollo 11 to the lunar surface:

https://www.hq.nasa.gov/alsj/a11/a11.1201-fm.html


17 posted on 05/06/2015 10:39:39 AM PDT by edwinland
[ Post Reply | Private Reply | To 1 | View Replies]

To: BenLurkin


18 posted on 05/06/2015 10:45:30 AM PDT by Organic Panic
[ Post Reply | Private Reply | To 1 | View Replies]

To: SES1066
First of all, no plane flies for 248 consecutive days

Of course. But the control unit managing the delivery of power to the plane’s engines could easily be left to run that long. Just because the engines are not running doesn't mean the APUs or other control infrastructure are not.

19 posted on 05/06/2015 11:08:38 AM PDT by Bloody Sam Roberts ("It is never untimely to yank the rope of freedom's bell." - - Frank Capra)
[ Post Reply | Private Reply | To 13 | View Replies]

To: edwinland

Simply fascinating story. I’d heard it before but never heard or read about the efforts after the landing. great stuff.


20 posted on 05/06/2015 11:13:20 AM PDT by Bloody Sam Roberts ("It is never untimely to yank the rope of freedom's bell." - - Frank Capra)
[ Post Reply | Private Reply | To 17 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson