Mail Archives: djgpp/2000/08/30/01:53:16
On Wed, 30 Aug 2000, Bernd Becker wrote:
> >What entries by YAMD did you expect?
> Well, it crashes at a point that is perfectly normal when compiled
> with GCC, so I thought it would also make an 'ERROR' entry into its
> log file or something *shrugs*.
No, the Page Fault *is* what YAMD does for you: it arranges for the
memory beyond the limits of each allocated buffer to be unmapped from
the program's address space, so that dereferencing any pointer which
points beyond the buffer immediately causes a Page Fault and pinpoints
the offending code via the traceback. Running SYMIFY on that
traceback should show you the exact location where the bad address is
used.
- Raw text -