X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0	tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <50885D17.9090101@cs.utoronto.ca>
Date: Wed, 24 Oct 2012 17:26:47 -0400
From: Ryan Johnson <ryan.johnson@cs.utoronto.ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Emacs crashing on C-x C-g
References: <5069E625.9050803@cs.utoronto.ca> <5069EA0D.7080303@cornell.edu> <5069F83D.5060502@cs.utoronto.ca> <5087E872.4070902@cs.utoronto.ca> <50885727.4050305@cornell.edu>
In-Reply-To: <50885727.4050305@cornell.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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

On 24/10/2012 5:01 PM, Ken Brown wrote:
> On 10/24/2012 9:09 AM, Ryan Johnson wrote:
>> On 01/10/2012 4:08 PM, Ryan Johnson wrote:
>>  > On 01/10/2012 3:07 PM, Ken Brown wrote:
>>  >> On 10/1/2012 2:51 PM, Ryan Johnson wrote:
>>  >>> I'm hitting a strange behavior with emacs lately, where hitting
>>  >>> C-x C-g [1] sometimes causes it to quit instantly: no request to
>>  >>> save files, no seg fault, no error message, just gone (have to
>>  >>> reset the terminal to clear out emacs' ncurses settings). It
>>  >>> invariably happens after I've been away from the terminal for a
>>  >>> while (days) and then come back use it again.
>>  >>>
>>  >>> has anyone else had this happen to them?
>>  >> I haven't seen it, and I do leave emacs running for days or weeks.
>>  >> But I almost always run emacs under X, not in a terminal. Also, I
>>  >> generally use the latest Cygwin snapshot.  Have you tried that?
>>  >> Maybe you're being bitten by the /etc problem that Corinna fixed in
>>  >> late July (http://cygwin.com/ml/cygwin/2012-07/msg00666.html).
>>  > OK, I'll give the snapshot a try when I get a chance.
>>
>> Rats. I thought it was working, but the problem just it again. This time
>> the emacs session had just been created by a mercurial check-in (to edit
>> the changelog message) and crashed when I hit C-g to cancel an ESC I no
>> longer needed.

>> This time the crash is reproducible, and the test case below paints an
>> "interesting" story:

>> EDITOR='emacs -q -nw' hg ci
>> ESC C-g
>> <<<crash>>>
>> reset
>> <<<"reset is control-G (^G).">>>
>> EDITOR='emacs -q -nw' hg ci
>> C-g
>> <<<"interrupted!">>>
>> reset -i ^c
>> <<<no message>>>
>> cat
>> C-g
>> <<<"Quit (core dumped)">>>

> This looks like a known Emacs issue:
>
>   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12697
>
> I imagine it will be fixed before the release of Emacs 24.3.
Agree the initial part is emacs. But I suspect the confused bash 
business is not. ^G should either send SIGINT or not, this core dump 
thing is not cool.

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

