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-19 13:35:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!forum.apple.com!news.apple.com!il0203a-dhcp93.apple.com!user From: name99@mac.com (Maynard Handley) Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) Date: Thu, 19 Jul 2001 13:25:04 -0700 Organization: None Message-ID: References: <3b4c75ea$0$25358$6e365a64@newsreader02.highway.telekom.at> <9ik7r7$1s3$3@bob.news.rcn.net> <9ikjh9$11d2$1@news.rchland.ibm.com> <9ilud8$464$1@nnrp2.phx.gblx.net> <9im1od$4e1$1@nnrp2.phx.gblx.net> <9is0k7$t1c$4@bob.news.rcn.net> NNTP-Posting-Host: il0203a-dhcp93.apple.com X-Trace: news.apple.com 995574304 7965 17.202.37.221 (19 Jul 2001 20:25:04 GMT) X-Complaints-To: usenet@news.apple.com NNTP-Posting-Date: 19 Jul 2001 20:25:04 GMT X-Newsreader: MT-NewsWatcher 2.3.1 Xref: archiver1.google.com comp.sys.dec:6018 comp.arch:14342 In article , "mulp" wrote: > Ok, I thought it would be obvious what the point is, but let's put it this > way. > > Your job is to debug some 10 million lines of code that you were hired to > port; buried in the code is a coding or logic error that unfortunately has > the effect of the of the routing corrupt_stack, but unfortunately for you, > the original developers of the code were not courteous enough to name their > malfunctioning routine corrupt_stack. > > You can argue that the code shouldn't have that error. You can argue that > the compiler should or should not detect the problem. You can argue > whatever you want, except that doesn't get you closer to solving that > problem, tonight, before the code ships. The good news is that you have a > test tool that will reproduce the problem in 1-6 hours. > > You could try single stepping or tracing it. > > You could try code inspection. > > Our you could look at the part of the stack below the stack pointer for some > hint as to what was going on.... If this is a real problem, then you approach it by (a) not leaving the problem until the night before the code ships and (b) asking the vendor to add a compiler option that will trash in various ways (fill with zeros, will with FFs, fill with 0xDEADBEEF) the top of the stack between previous TOS and new TOS every time a stack frame is popped. Maynard