Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3D3A740A.55604E14@phekda.freeserve.co.uk> Date: Sun, 21 Jul 2002 09:42:50 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Emacs CVS and Windows NT 4 References: <10207201605 DOT AA21517 AT clio DOT rice DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com 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: 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/ ]