This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: emacs-nox hogs CPU if backgrounded during compile


On 18/08/2013 12:53 AM, Christopher Faylor wrote:
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.
(gdb) p $rbp
$5 = (void *) 0x16

Ryan


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]