From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: gnus makes emacs lose response Date: Tue, 05 Sep 2006 17:21:17 -0400 Message-ID: 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 1157491304 1498 80.91.229.2 (5 Sep 2006 21:21:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Sep 2006 21:21:44 +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 Tue Sep 05 23:21:42 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 1GKiMX-0001ET-Ff for ged-emacs-devel@m.gmane.org; Tue, 05 Sep 2006 23:21:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKiMW-0000Dq-Qn for ged-emacs-devel@m.gmane.org; Tue, 05 Sep 2006 17:21:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKiMM-0000Dj-O1 for emacs-devel@gnu.org; Tue, 05 Sep 2006 17:21:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKiMI-0000CZ-H4 for emacs-devel@gnu.org; Tue, 05 Sep 2006 17:21:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKiMI-0000CW-Cd for emacs-devel@gnu.org; Tue, 05 Sep 2006 17:21:26 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GKiMI-0005Di-GV for emacs-devel@gnu.org; Tue, 05 Sep 2006 17:21:26 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 5DABB2CEF82; Tue, 5 Sep 2006 17:21:25 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 5904B3FE0; Tue, 5 Sep 2006 17:21:17 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 466156C7F5; Tue, 5 Sep 2006 17:21:17 -0400 (EDT) Original-To: Chong Yidong In-Reply-To: <871wqqxba5.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 05 Sep 2006 17:18:26 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:59393 Archived-At: >> Here is an interesting backtrace from Leon: >> >> It is hanging (C-g not working) with gnus-demon called >> from a timer. >> >> Would someone pls. investigate this. > If I remember correctly from previous discussions, this bug happens > when a cable is unplugged while Gnus is running, and it's been around > for years. >> 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. Stefan