From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <9805262354.AA14710@clio.rice.edu> Subject: Re: A better stack dump To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) Date: Tue, 26 May 1998 18:54:42 -0600 (CDT) Cc: djgpp-workers AT delorie DOT com In-Reply-To: from "Eli Zaretskii" at May 26, 98 07:23:14 pm Content-Type: text Precedence: bulk > On Mon, 25 May 1998, Nate Eldredge wrote: > > How about his other idea, that the page below the end of the stack be unmapped? > > I don't recall the particulars. How should this work, since what's below > the stack is usually the locked stack used for exception processing? How > do you unmap that and still get everything to work? I suggested the last page aligned page in the stack be unmapped. In the worst case that would result in 8K less stack. It would not catch all errors - since a huge allocation might potentially step over the "dead" area and do irreversible corruption. It would also result in dreaded "page fault" errors which might be difficult to diagnose (we might have to add some AI to register dumps to look at esp/ebp for hints?).