comp.lang.ada
 help / color / mirror / Atom feed
From: robin.vowels@gmail.com
Subject: Re: Boeing 787 integer overflow
Date: Sun, 3 May 2015 16:49:46 -0700 (PDT)
Date: 2015-05-03T16:49:46-07:00	[thread overview]
Message-ID: <3cbf7f4e-304c-4c26-8d99-0087b8c15e7a@googlegroups.com> (raw)
In-Reply-To: <9f20f713-d65c-471d-ab7c-d314a14fdcd0@googlegroups.com>

On Sunday, May 3, 2015 at 9:23:45 PM UTC+10, Maciej Sobczak wrote:
> W dniu niedziela, 3 maja 2015 01:34:59 UTC+2 użytkownik Robert Love napisał:
> 
> > Ars Tecnica has this article:
> > 
> > http://arstechnica.com/information-technology/2015/05/01/boeing-787-dreamliners-contain-a-potentially-catastrophic-software-bug/ 
> > 
> > 
> > Can anyone comment on what language Boeing used for this?
> 
> It does not matter. The ability to run continuously for 8 months was most likely not in the requirements (planes have to be switched off for maintenance more frequently than that anyway), so there was no need to implement a solution for this. You can safely argue that the capacity of the counter allows proper operation within the given bounds and you could even have that tested with 100% coverage of the *required* data/time domain and (why not?) formally verified as well.
> 
> > If Ada, would a modular integer be more appropriate?
> 
> Why? Are you aware of the requirement that the counter has to automatically reset after (let's say) half a year? I guess not and even if you attempt to make it up as a derived requirement, it might be superfluous or even contradictory to other requirements.
> 
> > Is there an 
> > exception handler for this integer?
> 
> Why? Are there any requirements that explicitly state the plane has to work continuously for longer than 8 months?

It won't be in the air for 6 months, but the software may be running
for that time, or the counter is running continuously.

      parent reply	other threads:[~2015-05-03 23:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-02 23:34 Boeing 787 integer overflow Robert Love
2015-05-03 11:23 ` Maciej Sobczak
2015-05-03 15:27   ` Georg Bauhaus
2015-05-03 16:03   ` Peter Chapin
2015-05-03 23:34     ` Dennis Lee Bieber
2015-05-04  0:00       ` robin.vowels
2015-05-04  0:38       ` Jeffrey R. Carter
2015-05-04  1:55         ` robin.vowels
2015-05-03 23:54     ` robin.vowels
2015-05-04  8:28       ` Georg Bauhaus
2015-05-04  8:45         ` robin.vowels
2015-05-04 11:26           ` G.B.
2015-05-04 12:17             ` Dmitry A. Kazakov
2015-05-04 12:53               ` G.B.
2015-05-04 13:28         ` Dennis Lee Bieber
2015-05-03 23:49   ` robin.vowels [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox