From: "Pat Rogers" <progers@NOclasswideSPAM.com>
Subject: Re: JOB:Sr. SW Engineers Wanted-Fortune 500 Co
Date: 2000/02/01
Date: 2000-02-01T00:00:00+00:00 [thread overview]
Message-ID: <s9ehm2c7er211@corp.supernews.com> (raw)
In-Reply-To: t73drc6a1k.fsf@calumny.jyacc.com
"Hyman Rosen" <hymie@prolifics.com> wrote in message
news:t73drc6a1k.fsf@calumny.jyacc.com...
> "Pat Rogers" <progers@NOclasswideSPAM.com> writes:
> > No. They treated all exceptions as indication of hardware failures
> > because they didn't believe
> > they could happen due to software. They didn't meaningfully handle
the
> > exception -- they aborted the program! Since they abused the
software
> > they were reusing (by using it in a different context, in which
> > exceptions were unavoidable) their assumptions were invalid.
>
> When you have proved that something can not happen, you will not then
> add code to handle that event gracefully. After all, that's the entire
> point of software proofs in the first place.
First, the Ariane 5 people did not prove that exceptions could not
happen. The Ariane 4 team did, but Ariane 5 had a different flight
profile that made the Ariane 4 proofs invalid for the reused software.
You seem to believe that a rigorous, correct proof against something
happening means that it cannot happen. I don't agree. For example, all
the analysis that says a certain value can never go out of range --
such that an exception handler is not necessary -- is invalidated by the
stray particle of radiation that toggles a bit in memory.
Just as problematic are the errors in the specifications that the proofs
are built against. I am not saying that proofs are inappropriate -- far
from it! But ignoring the possibility of errors in proven components is
a dangerous approach indeed.
> If it turns out that your
> proof is in error, it is exceedingly unlikely that the code will fall
> back to a reasonable behavior.
What's the basis for that assertion? Certainly if there is no design in
place to handle errors then there will likely be no graceful response!
But that is a (poor) design choice.
IMHO one should design the code to respond to the very real possibility
of exceptions in a meaningful way. (Ariane 5 did not.) For critical
software, that means having a backup if the situation permits.
Structured exception handlers are one way of invoking the backup.
> Do you see people writing 'if a = 3 and then a = 3' just in case the
> first equality was a fluke?
No, I see* a certain aerospace company experiencing 4 or 5 errors per
year in their flight software. The prove everything rigorously -- the 4
or 5 errors are due to corresponding errors in the specifications. For
those cases I hope they have some fall-back approach.
*Told to me first-hand by a member of their team.
--
Pat Rogers Training and Consulting in:
http://www.classwide.com Deadline Schedulability Analysis
progers@classwide.com Software Fault Tolerance
(281)648-3165 Real-Time/OO Languages
next prev parent reply other threads:[~2000-02-01 0:00 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-30 0:00 JOB:Sr. SW Engineers Wanted-Fortune 500 Co Tracy Goembel
2000-01-31 0:00 ` Ted Dennison
2000-01-31 0:00 ` Hyman Rosen
2000-01-31 0:00 ` Mike Silva
2000-02-01 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Pat Rogers
2000-02-01 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Mike Silva
2000-02-01 0:00 ` Larry Kilgallen
2000-02-01 0:00 ` Hyman Rosen
2000-02-02 0:00 ` Ole-Hjalmar Kristensen
2000-02-02 0:00 ` Roger Racine
2000-02-04 0:00 ` Mike Silva
2000-02-17 0:00 ` Charles Hixson
2000-02-01 0:00 ` Pat Rogers
2000-02-01 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Pat Rogers [this message]
2000-02-01 0:00 ` Richard D Riehle
2000-02-01 0:00 ` Hyman Rosen
2000-02-02 0:00 ` Richard D Riehle
2000-02-17 0:00 ` Charles Hixson
2000-02-01 0:00 ` Larry Kilgallen
2000-02-05 0:00 ` JP Thornley
2000-02-01 0:00 ` Mike Silva
2000-02-01 0:00 ` Larry Kilgallen
2000-02-01 0:00 ` Hyman Rosen
2000-01-31 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Scott Ingram
2000-02-01 0:00 ` Ted Dennison
2000-02-01 0:00 ` Ole-Hjalmar Kristensen
2000-02-01 0:00 ` Hyman Rosen
2000-02-02 0:00 ` Rod Chapman
[not found] ` <m3emaug917.fsf@blight.transcend.org>
2000-02-03 0:00 ` Larry Kilgallen
2000-02-01 0:00 ` Gautier
2000-01-31 0:00 ` Hyman Rosen
2000-01-31 0:00 ` Mike Silva
2000-02-01 0:00 ` Jean-Pierre Rosen
2000-02-01 0:00 ` Larry Kilgallen
2000-02-01 0:00 ` Ted Dennison
2000-02-01 0:00 ` Karel Thoenissen
[not found] ` <879hjf$ggv$1@nnrp1.deja.com>
2000-02-02 0:00 ` Geography (was: JOB:Sr. SW Engineers Wanted-Fortune 500 Co) Karel Thoenissen
2000-02-02 0:00 ` Ted Dennison
2000-02-02 0:00 ` Gautier
2000-02-02 0:00 ` Jean-Marc Bourguet
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox