X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=YXzp70r90rv+wyMw6YIUBq4JNqkC0Iw0zYOqDL+yIR6
	6d9n0+K0qrCPJ3U9pPQYKE+N1eCjgVhRTFUa/HERiVxHIMG4sANozgZNi/pHQxMu
	SJGSv1VzHovwJBzxxYKNMIoyb35QRDvmWoC0mbRKbM0MsFgZgeKpySJK9D57zPpM
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=MWEovWOllNNVcm6EzM6CFTOWGXQ=; b=WJDOiQO35FlItOsai
	/53weULZYVUmj+eRBTC42m6gn0I4z/5r+CseDmgicfeLQxqPYGsWgz4XYKl+HmWT
	EzTLuJ31X6jnlPbHLM2M+ZxbuDCINd1yRjI1whU8YL4Aj/AdIxqsHglApYp1jVd2
	uhdOSQ+zpLnd0+LQY6jcx9uGE4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00,KHOP_THREADED autolearn=ham version=3.3.2
X-HELO: bureau94.ns.utoronto.ca
Message-ID: <521C633E.9070209@cs.utoronto.ca>
Date: Tue, 27 Aug 2013 04:28:46 -0400
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: emacs-nox hogs CPU if backgrounded during compile
References: <520FC3DC.4010700@cs.utoronto.ca>
In-Reply-To: <520FC3DC.4010700@cs.utoronto.ca>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Ping... is anyone else at least able to reproduce this?

On 17/08/2013 2:41 PM, Ryan Johnson wrote:
> Hi all,
>
> 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.
>
> 1. emacs-nox -Q
> 2. M-x compile
> 3. C-a C-k sleep 1; echo hi
> 4. ^Z (before the sleep finishes)
> 5. fg (after the sleep finishes)
>
> I don't know if this is related to limited pipe buffering, but I don't 
> think so: it has always worked in the past, and the the 3-4 bytes 
> required to buffer up "hi\n" is hardly onerous.
>
> $ uname -a
> CYGWIN_NT-6.1 ryan-laptop-v02 1.7.24(0.269/5/3) 2013-08-15 11:59 
> x86_64 Cygwin
>
> $ cygcheck -cd
> bash                      4.1.11-1
> cygwin                    1.7.24-1
> emacs                     24.3-5
> mintty                    1.2-beta1-1
>
> 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
>


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

