Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!ron1!polyof!john From: john@polyof.UUCP ( John Buck ) Newsgroups: net.unix Subject: Re: gripes about error reporting Message-ID: <203@polyof.UUCP> Date: Sat, 17-May-86 21:14:24 EDT Article-I.D.: polyof.203 Posted: Sat May 17 21:14:24 1986 Date-Received: Mon, 19-May-86 04:05:32 EDT References: <406@houligan.UUCP> Organization: Polytechnic Inst. of NY, Farmingdale Lines: 36 > > Is there anyone out there who is as frustrated as I am about the way > that UN*X reports errors? I'm getting pretty tired of trying to, say, > . > . > . > Stack overflow - obvious. > Boundary condition ... > > Dave Cornutt > Gould Computer Systems Seems to me that you are guilty of the same "crimes" you accuse the "pdp11" folks of. Several of your so-called "machine-independent" traps, like Stack overflow, Boundary condition are slanted toward the (clumsy) Gould-like architechure. Many machines know how to handle stack violations correctly (by growing the stack; in fact to not grow the stack automatically is probably a flaw with the implementation or architecture.) Imagine getting a stack overflow on a pdp11? what does that mean? (in a user program that is) Is it the same as a segmentation violation? (stack collides with data?) or what? Very unclear. Boundary violations (doubleword, whatever) also fall into this category. Some machines allow 'odd' addresses for words (Intel, for example), others do not. Hence, Boundary condition is not machine independent. The bottom line is, it is very difficult to isolate the individual flaws/features of every architecture and have accurate error reporting under a single OS (that is portable). It is not impossible, but difficult. Software compatibility must be maintained as well. If the signal structure is changed for each machine, this becomes difficult. John Buck Polytechnic Inst. of NY Route 110 Farmingdale, NY 11735 trixie!polyof!john iguana!polyof!john