Mail Archives: djgpp-workers/2001/05/20/11:17:09
On Sun, 20 May 2001, Martin Str|mberg wrote:
> According to Mark E.:
> > I found and fixed the problem in _write.c:_write_int that fouled up
> > profiling. Turns out the transfer buffer was being overfilled with data.
>
> How did you trace it down?
In addition to what Mark described (which is a technique I use myself
when hunting down similar problems), another clue in the same direction
was the info you, Martin, posted: if COMMAND.COM is unable to regain
control after a program exits, it usually means that something overwrote
DOS memory chain or DOS itself. So any code that uses conventional
memory becomes the immediate suspect.
- Raw text -