This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: emacs-nox hogs CPU if backgrounded during compile
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 18 Aug 2013 00:53:42 -0400
- Subject: Re: emacs-nox hogs CPU if backgrounded during compile
- References: <520FC3DC dot 4010700 at cs dot utoronto dot ca>
- Reply-to: cygwin at cygwin dot com
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
bt
And, if you get something sensible try it on every thread.
cgf
--
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