delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/06/10:32:07

Date: Thu, 6 Aug 1998 10:10:15 +0000 ( )
From: "Gurunandan R. Bhat" <grbhat AT unigoa DOT ernet DOT in>
To: Nate Eldredge <nate AT cartsys DOT com>
Cc: Martin Str|mberg <ams AT ludd DOT luth DOT se>, djgpp AT delorie DOT com
Subject: Re: fsdb crashes post emacs
In-Reply-To: <35C73C57.1C3A06DA@cartsys.com>
Message-Id: <Pine.LNX.3.91.980806100729.3135B-100000@aditya.unigoa.ernet.in>
Mime-Version: 1.0


On Tue, 4 Aug 1998, Nate Eldredge wrote:

> > xorb    %%al, %%al
> 
> If you look at the context, it is obvious that that's correct instead of
> %%eax.

Thank you for confirming this.

> You might find it useful to compile `malloc' with -DRCHECK (think that's
> right).  That turns on some redundancy checking, magic number bounding,
> etc.

In fact you might be amused to know that when I do that, the allocation 
falls in the next bucket (twice as more bytes) due to the extra space 
required for tagging the chunk. This causes the crash to go away, since 
the offending array can still overwrite its bounds but not scrogg mallocs 
tables!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019