delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/18/00:54:02

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Bfw/k/dCBYdWi2+QwVN5Al9hbKtzPh666nFYHDdXV+aMM1tMng5jh
pzGSYWlfF4SYPTI/Nb/PbFpCZ7d/7QH1wbMntzOZOcl5yjzUkhbnmz9VBsKon/CB
Bcn0etXj9ofuXG8yYGDd2XanmgU8V7l4Z3dmwaCA9VRBbI3qUx7W9E=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=iRSjt/HsJBCFnaebd0AmRiR7Xes=; b=AGpWH6LFvLAqL1+1T73EW0ve0geM
yJQHqA8a2fQorMjClGBtoCEpS7fN5JHL4cIRlNh33nKLOTjcfiJwzklhGygP+BMX
UwL1BEPb9baeSckf7mPMVTZAFKDvTQgYm/WupqbuMrgk6FCEmccpj3Rw3oGrwSf5
LbNqVidcMkgxlXc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.2
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/+T21kneL/g1OgPHMtZrDb
Date: Sun, 18 Aug 2013 00:53:42 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: emacs-nox hogs CPU if backgrounded during compile
Message-ID: <20130818045342.GA1639@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <520FC3DC DOT 4010700 AT cs DOT utoronto DOT ca>
MIME-Version: 1.0
In-Reply-To: <520FC3DC.4010700@cs.utoronto.ca>
User-Agent: Mutt/1.5.20 (2009-06-14)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019