From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Malloy Newsgroups: gmane.emacs.bugs Subject: bug#7951: 23.1; SIG_HUP handler infinite loop? Date: Mon, 31 Jan 2011 14:46:34 -0800 Message-ID: <4D473BCA.3080300@yieldbuild.com> References: <4D4707DD.5010306@yieldbuild.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010906010600080901020406" X-Trace: dough.gmane.org 1296515515 7992 80.91.229.12 (31 Jan 2011 23:11:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2011 23:11:55 +0000 (UTC) Cc: 7951@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 01 00:11:50 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk2ty-0005Tb-OA for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Feb 2011 00:11:24 +0100 Original-Received: from localhost ([127.0.0.1]:47379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk2tK-00053y-GU for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Jan 2011 18:10:38 -0500 Original-Received: from [140.186.70.92] (port=39297 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pk2sO-0004qP-P5 for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2011 18:10:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pk2oV-0001lp-HC for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2011 18:05:40 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pk2oV-0001ll-Bb for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2011 18:05:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pk2Nl-0007qs-PS; Mon, 31 Jan 2011 17:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Malloy Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Jan 2011 22:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7951 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7951-submit@debbugs.gnu.org id=B7951.129651343330122 (code B ref 7951); Mon, 31 Jan 2011 22:38:01 +0000 Original-Received: (at 7951) by debbugs.gnu.org; 31 Jan 2011 22:37:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk2My-0007pn-Jh for submit@debbugs.gnu.org; Mon, 31 Jan 2011 17:37:12 -0500 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pk2Mw-0007pb-JS for 7951@debbugs.gnu.org; Mon, 31 Jan 2011 17:37:11 -0500 Original-Received: by wwj40 with SMTP id 40so6562429wwj.15 for <7951@debbugs.gnu.org>; Mon, 31 Jan 2011 14:45:31 -0800 (PST) Original-Received: by 10.227.156.207 with SMTP id y15mr6838312wbw.38.1296513931379; Mon, 31 Jan 2011 14:45:31 -0800 (PST) Original-Received: from [192.168.1.18] ([38.111.148.242]) by mx.google.com with ESMTPS id y29sm10396260wbd.4.2011.01.31.14.45.29 (version=SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 14:45:30 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 31 Jan 2011 17:38:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43793 Archived-At: This is a multi-part message in MIME format. --------------010906010600080901020406 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I was not using -Q (didn't know about it), but having gotten your suggestion I tried it and still see the buggy behavior. On 01/31/2011 02:41 PM, Glenn Morris wrote: > Alan Malloy wrote: > >> 1. ssh into my machine from somewhere else >> >> 2. fire up emacs in terminal mode >> >> 3. suspend the emacs process with C-z >> >> 4. violently kill the ssh process on the other machine, so that it >> doesn't send a clean logout >> >> Symptoms: >> >> The emacs process remains alive on my machine, quickly climbs to 100% >> CPU usage, > Is this with `emacs -Q -nw'? Because I could not reproduce it with > Emacs 23.1 or 23.2 using -Q. If it does not happen with -Q, please try > to narrow down a precise recipe starting from -Q. > >> In GNU Emacs 23.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) >> of 2010-11-23 on rothera, modified by Debian -- ------------------------------------------------------------------------ Alan Malloy HubPages software engineer 415-273-9702 alan.malloy@yieldbuild.com --------------010906010600080901020406 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I was not using -Q (didn't know about it), but having gotten your suggestion I tried it and still see the buggy behavior.

On 01/31/2011 02:41 PM, Glenn Morris wrote:
Alan Malloy wrote:

1. ssh into my machine from somewhere else

2. fire up emacs in terminal mode

3. suspend the emacs process with C-z

4. violently kill the ssh process on the other machine, so that it
doesn't send a clean logout

Symptoms:

The emacs process remains alive on my machine, quickly climbs to 100%
CPU usage,
Is this with `emacs -Q -nw'? Because I could not reproduce it with
Emacs 23.1 or 23.2 using -Q. If it does not happen with -Q, please try
to narrow down a precise recipe starting from -Q.

In GNU Emacs 23.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2010-11-23 on rothera, modified by Debian

--

Alan Malloy
HubPages software engineer
415-273-9702
alan.malloy@yieldbuild.com
--------------010906010600080901020406--