From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-16 04:48:24 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!newsfeed01.univie.ac.at!news.univie.ac.at!localhost!not-for-mail From: jthorn@mach.thp.univie.ac.at (Jonathan Thornburg) Newsgroups: comp.sys.dec,comp.arch Subject: using memory beyond the "top" of stack (was: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha)) Date: 16 Jul 2001 13:48:19 +0200 Organization: Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut), Golm, Germany Message-ID: <9iuka3$rku$1@mach.thp.univie.ac.at> References: <994616870.688233@haldjas.folklore.ee> NNTP-Posting-Host: mach.thp.univie.ac.at X-Trace: www.univie.ac.at 995284102 95526 131.130.26.227 (16 Jul 2001 11:48:22 GMT) X-Complaints-To: news-adm@news.univie.ac.at NNTP-Posting-Date: 16 Jul 2001 11:48:22 GMT Summary: don't do it! Xref: archiver1.google.com comp.sys.dec:5872 comp.arch:14053 [[referring to programs that wrongly assume that memory beyond the top-of-stack is available for use]] Someone who (if I have correctly unwrapped the nested quotation) may have been Terje Mathisen , wrote in what may have been message news:3B517D2D.2E0F8142@hda.hydro.com, # This is _not_ a valid reason to allow such code to keep working. # # IMNSHO code like that should be 'terminated with extreme prejudice', and # the perpetrators forced to write at least one working Dos program, where # the application stack is also the hw interrupt stack. In article <9is4o7$pt0$1@mach.thp.univie.ac.at, I pointed out that on SPARC, | register-window over/underflow trap | handlers can (and actually do!) clobber memory beyond the top of the | stack at unpredictable times. In article , mulp wrote: >There is theory and practice. > >If you are trying to sell system x to someone who has Sun, and it works on >his Sun system, it doesn't matter that Sun would blow him off if Sun made a >change that made his code fail. Until Sun does make such a change, system x >is incorrectly implemented, not the application. > >Substitute Microsoft, for Sun, if you think that people writing for Sun a >would welcome a new platform pointing out implementation errors in mature >applications during an unwelcome port. No, you have it backwards. Sun systems can and do routinely zap beyond-the-top-of-stack memory at unpredictable times, so Sun programs are (if they work reliably) already *free* of this bug. It's only people trying to port from other platforms *to* Suns that may have problems. -- -- Jonathan Thornburg Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut), Golm, Germany http://www.thp.univie.ac.at/~jthorn/home.html "Washing one's hands of the conflict between the powerful and the powerless means to side with the powerful, not to be neutral." -- quote by Freire / poster by Oxfam