emacs-nox hogs CPU if backgrounded during compile

Ryan Johnson ryan.johnson@cs.utoronto.ca
Sun Aug 18 18:12:00 GMT 2013


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



More information about the Cygwin mailing list