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:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=k9u HXPiR2LJg9WdYmBi8LzH5VpAF7R6S99MF4irseJMZL2UK7PM3x2M+3PFbQxbEEIk Tef1+TKMRqwuAjvElnRU3d2oRY5/lvcWgk6THMyviVxfgRptR+WNJJgDs729cTYq FGlJGJDX9GVnjxEeJrLtnvPumdBlYa0YZESyrovA= 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 :content-type:content-transfer-encoding; s=default; bh=xFjV0xJ7D jGKS41nB8E9KZpP+UQ=; b=omP8PkyYDsWa0IyKCTIU35ARa3fX/6sgqOeUirtGy XLmo3ri0K/OKih8w6Go0brjn26w7zQAyzHqDQH14wq1iuxwJKAPn9Bojo9Os/+H1 S2xUcMYquf9AjdTonON7Wl6oyXfoHvF8A+g+MvI4FDrW+2a/dySk7AMjgxJI7Nai 8k= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.8 required=5.0 tests=AWL,BAYES_20,KHOP_RCVD_UNTRUST,MAY_BE_FORGED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_NEUTRAL autolearn=ham version=3.3.2 Message-ID: <520FC3DC.4010700@cs.utoronto.ca> Date: Sat, 17 Aug 2013 14:41:32 -0400 From: Ryan Johnson 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 AT cygwin DOT com" Subject: emacs-nox hogs CPU if backgrounded during compile Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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