emacs-nox hogs CPU if backgrounded during compile

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sun Aug 18 04:53:00 GMT 2013

On Sat, Aug 17, 2013 at 02:41:32PM -0400, Ryan Johnson wrote:
>The following STC causes emacs-nox to peg a CPU indefinitely. Emacs 
>remains responsive, but C-c C-k doesn't kill the compile; you have to 
>exit emacs to remove the "Compiling" status. Killing the buffer or 
>starting a new compile offers to kill the offending process, but doesn't.
>Attaching gdb shows an endless loop inside 
>kernelbase.dll!RaiseException, but provides no other clues that I could see.

I don't know if this trick works on 64-bit Cygwin or not but you could try:

set $rsp=$rbp

And, if you get something sensible try it on every thread.


Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list