Mail Archives: djgpp-workers/2002/07/21/05:08:30
Hello.
Charles Sandmann wrote:
>
> > As I've said in another mail, it was crashing on a cli instruction in
> > brk_common.
>
> Which was the fix which worked for me under Windows 2000 on a small
> test program. Didn't have time to test on NT4.
>
> > I discovered that I wasn't running a "pure" copy of CVS. So I've
> > reverted the changes to src/libc/crt0 and rebuilt.
>
> What changes were those?
It was your cli fix. So for my first mail about debugging Emacs, the cli fix
was in place. But I wanted to know how "pure" CVS crashed, so I removed the
cli fix.
[snip]
> > It seems to be sensitive to how much keyboard activity there is. I haven't
> > worked out the relation between keypresses and crashes yet.
>
> Right - it needs to be a hardware interrupt, and happen between the time
> we resize/move the memory area and the selector is updated with the new
> memory base.
>
> Try the program I provided in email dated 19 May 2002 15:36 - small and
> easy to debug. The upstroke keyboard interrupt is very easy to cause an
> interrupt in the sbrk and cause a crash.
[snip]
It seems to crash in the same way with and without the cli fix. I tried:
<program name> 100 500 1000 10000 100
and it crashed every time after five key presses irrespective of how fast I
press the keys.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -