Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Tony Griffiths <tonyg@OntheNet.com.au>
Subject: Re: 21164PC demonstration/talk at Microprocessor Forum
Date: 1996/11/09	[thread overview]
Message-ID: <3283D700.47EB@OntheNet.com.au> (raw)
In-Reply-To: zalmanE0JMBy.CrE@netcom.com


Zalman Stern wrote:
> 
> Tony Griffiths (tonyg@OntheNet.com.au) wrote:
> [Stuff about FX!32 and "whose bug is it?"]
> 
> I believe FX!32 is intended to provide perfect emulation of the x86
> execution environment. A such, if a program behaves a certain way on Intel
> x86 implementations and doesn't behave that way on FX!32, then it is an
> FX!32 bug. (As Jerry Leichter said, its just like an x86 clone vendor, only
> in software rather than silicon.)
>
Ah but FX!32 is _NOT_ an x86 emulator, it's a binary (JIT?) translator.

Now consider the following TRUE example of a "latent" bug-

Proc A calls Proc B with certain args.  B executes and returns.  Proc A
then calls Proc C with SAME args _AND_ the local variables in C are
declared in the same order as B with a pointer to a structure being the
first local var.  Proc B properly computes this pointer from the input
args, but proc C doesn't.  However, proc C executes 'correctly' on
Digital Unix for many years because the stack location that the pointer
variable is allocated to just happens to have the pointer to the correct
structure in it, put there by Proc B.

Now the code is ported to VMS on Alpha.  The VMS C compiler is more
agressive in stack usage (slightly different compile time switches and
defaults are used) and now the memory location is different or possibly
re-used by another variable in a different scope.  The "working" code
falls in a heap and the system with it given that this is networking
code running in kernel mode!

This is the sort of problem I am referring to.  A true x86 emulator
might allow code like this to continue operating but an on-the-fly port
which is what FX!32 does cannot guarantee that buggy code will continue
to operate.  Whose fault is it in this situation?  FX!32 for not
providing the identical operating environment or the ISV's code which
has the latent bug?

How many other "mission critical" apps are out there with code paths
that have not been properly debugged and tested, just waiting for their
day in the limelight (or CNN news as the case may be ;-) ).  I would
suggest quite a few.

Tony



  parent reply	other threads:[~1996-11-09  5:00 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-25  4:00 21164PC demonstration/talk at Microprocessor Forum Burkhard Neidecker-Lutz
1996-10-25  4:00 ` Jim Scannell
1996-10-25  4:00   ` Oleg Solovianov
1996-10-25  4:00     ` Burkhard Neidecker-Lutz
1996-10-28  5:00       ` Dan Ts'o
1996-10-30  5:00         ` Burkhard Neidecker-Lutz
1996-11-01  5:00           ` Piercarlo Grandi
1996-11-02  5:00             ` Rob Barris
1996-11-05  5:00               ` Zalman Stern
1996-11-05  5:00                 ` Rob Barris
1996-11-06  5:00                   ` Tony Griffiths
1996-11-06  5:00                     ` Patrick Chase
1996-11-07  5:00                       ` Tony Griffiths
1996-11-07  5:00                         ` Jerry Leichter
1996-11-08  5:00                     ` Zalman Stern
1996-11-08  5:00                       ` Gerhard Hoffmann
1996-11-09  5:00                         ` John S. Yates, Jr.
1996-11-09  5:00                       ` Tony Griffiths [this message]
1996-11-09  5:00                         ` John S. Yates, Jr.
1996-11-11  5:00                           ` Joshua Cope
1996-11-11  5:00                         ` Zalman Stern
1996-11-11  5:00                           ` John S. Yates, Jr.
1996-11-11  5:00                             ` Paul Rubin
1996-11-11  5:00                             ` Terje Mathisen
1996-11-12  5:00                             ` Peter Montgomery
1996-11-11  5:00                         ` Paul Fox
1996-11-07  5:00                   ` Shane Hebert
1996-11-08  5:00                     ` Tony Griffiths
1996-11-06  5:00               ` Piercarlo Grandi
1996-11-11  5:00                 ` Peter Mayne
1996-11-10  5:00                   ` H.W. Stockman
1996-11-11  5:00                     ` David Hull
1996-11-16  5:00                       ` Piercarlo Grandi
1996-11-15  5:00                         ` Jeff Blaalid
1996-11-16  5:00                           ` agtabby
1996-11-18  5:00                           ` Paul A Jacobs
1996-11-18  5:00                             ` Charles Bouldin
1996-11-19  5:00                               ` H.W. Stockman
1996-11-19  5:00                                 ` Douglas H. Borsom
1996-11-19  5:00                                   ` H.W. Stockman
1996-11-20  5:00                                     ` Dirk Grunwald
1996-11-20  5:00                                     ` agtabby
1996-11-19  5:00                                       ` H.W. Stockman
1996-11-21  5:00                                         ` agtabby
1996-11-20  5:00                                           ` H.W. Stockman
1996-11-21  5:00                                         ` Peter Mayne
1996-11-21  5:00                                           ` H.W. Stockman
1996-11-22  5:00                                     ` H.W. Stockman
1996-11-23  5:00                                     ` H.W. Stockman
1996-11-23  5:00                                     ` Dirk Grunwald
1996-11-20  5:00                               ` Burkhard Neidecker-Lutz
1996-11-02  5:00             ` Robert Rodgers
1996-11-04  5:00             ` Agtabby
1996-11-08  5:00             ` Dirk Grunwald
1996-11-08  5:00               ` Douglas H. Borsom
1996-11-13  5:00             ` Dirk Grunwald
1996-11-05  5:00       ` Dirk Grunwald
1996-10-25  4:00     ` David Hull
1996-10-26  4:00       ` Shimpei Yamashita
1996-10-27  4:00         ` John Hascall
1996-10-27  4:00       ` Mark Rosenbaum
1996-10-25  4:00     ` Mark Hahn
1996-10-25  4:00       ` David Hull
1996-10-26  4:00         ` D. J. Bernstein
1996-10-26  4:00           ` Ted 
1996-10-27  4:00           ` Why 40M/s SCSI I/O bandwidth isn't a waste: was " Peter Mardahl
1996-10-27  4:00             ` Dan "Dragon Man" Williams
1996-10-29  5:00               ` Ray Chen
1996-10-29  5:00                 ` Ismaeel Abdur-Rasheed et. al.
1996-11-01  5:00               ` Hugh LaMaster
1996-11-05  5:00                 ` Colin Dooley
1996-11-06  5:00                   ` Michele Michelotto
1996-11-23  5:00                     ` Larry McVoy
1996-11-08  5:00                   ` Tim Keating
1996-11-08  5:00                     ` Eric Fromm
1996-11-08  5:00                       ` Nate Tuck
1996-11-09  5:00                         ` Stephen Knilans
1996-11-09  5:00                           ` Tim Keating
1996-11-09  5:00                             ` Mark Rosenbaum
1996-11-11  5:00                             ` Dave Olson
1996-10-27  4:00         ` Robert Rodgers
1996-10-26  4:00       ` Torbjorn Lindgren
1996-10-26  4:00         ` Mark Hahn
1996-10-27  4:00           ` Torbjorn Lindgren
1996-11-20  5:00       ` Why 40M/s SCSI I/O bandwidth isn't a waste: was " Matthias Bethke
1996-11-21  5:00         ` John R. Mashey
1996-10-28  5:00     ` Dirk Grunwald
1996-10-25  4:00   ` Thomas Womack
1996-10-27  4:00   ` Steinar Haug
1996-10-25  4:00 ` Dirk Grunwald
1996-10-25  4:00   ` Douglas H. Borsom
1996-10-26  4:00     ` Robert Rodgers
1996-10-27  4:00     ` Peter BARLIN
1996-10-27  4:00       ` Kevin P. Neal
1996-10-31  5:00 ` Joonas Timo Taavetti Kekoni
1996-11-07  5:00 ` Why 40M/s SCSI I/O bandwidth isn't a waste: was " Jan Ingvoldstad
1996-11-11  5:00 ` Chris Hedley
1996-11-19  5:00   ` John R. Mashey
read-only archive

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