From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: gnus makes emacs lose response Date: Thu, 07 Sep 2006 16:43:28 -0400 Message-ID: <87ejunflvz.fsf@stupidchicken.com> References: <871wqqxba5.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157661786 23274 80.91.229.2 (7 Sep 2006 20:43:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 20:43:06 +0000 (UTC) Cc: leon , emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 07 22:43:04 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLQhO-0006UU-Gk for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 22:42:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLQhN-0005ru-Or for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 16:42:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLQhA-0005le-Do for emacs-devel@gnu.org; Thu, 07 Sep 2006 16:41:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLQh7-0005au-JU for emacs-devel@gnu.org; Thu, 07 Sep 2006 16:41:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLQh7-0005ac-Fx for emacs-devel@gnu.org; Thu, 07 Sep 2006 16:41:53 -0400 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLQhZ-000349-36 for emacs-devel@gnu.org; Thu, 07 Sep 2006 16:42:21 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 3BC094ECD0; Thu, 7 Sep 2006 16:43:28 -0400 (EDT) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Tue\, 05 Sep 2006 17\:21\:17 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59517 Archived-At: Stefan Monnier writes: >> From the backtrace, it looks Emacs is hanging on the select call. >> My guess is that the unplugged network cable causes select to wait >> forever, in spite of the non-NULL timeout argument passed to it. >> If this is true, it's a bug in the select system call, and there's >> little Emacs can do to work around it. > > That's the for the "hang" part. But there's another problem which > is the "C-g not working" part, for which Emacs should be able to do > something. Unless the hang in the select system call prevents C-g from calling interrupt_signal in the first place, which we couldn't possibly do anything about.