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 10:37:23 -0400 Message-ID: <8764fzn3oc.fsf@furball.mit.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157639923 7122 80.91.229.2 (7 Sep 2006 14:38:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 14:38:43 +0000 (UTC) Cc: emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 07 16:38:40 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 1GLL0l-0007LK-Mv for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 16:37:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLL0l-0006MX-8u for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 10:37:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLL0X-0006J4-SS for emacs-devel@gnu.org; Thu, 07 Sep 2006 10:37:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLL0X-0006Hw-3e for emacs-devel@gnu.org; Thu, 07 Sep 2006 10:37:33 -0400 Original-Received: from [18.72.1.2] (helo=south-station-annex.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GLL0v-0000dm-5x for emacs-devel@gnu.org; Thu, 07 Sep 2006 10:37:57 -0400 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id k87EbTqw006279; Thu, 7 Sep 2006 10:37:29 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by grand-central-station.mit.edu (8.13.6/8.9.2) with ESMTP id k87EbSXr003444; Thu, 7 Sep 2006 10:37:29 -0400 (EDT) Original-Received: from furball.mit.edu (SYDNEYPACIFIC-THREE-EIGHTY-EIGHT.MIT.EDU [18.95.6.133]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id k87EbLxI005731; Thu, 7 Sep 2006 10:37:21 -0400 (EDT) Original-Received: from cyd by furball.mit.edu with local (Exim 3.36 #1 (Debian)) id 1GLL0N-0000hS-00; Thu, 07 Sep 2006 10:37:23 -0400 Original-To: leon In-Reply-To: (Kim F. Storm's message of "Mon\, 04 Sep 2006 10\:41\:14 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.217 X-Scanned-By: MIMEDefang 2.42 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:59512 Archived-At: >> leon writes: >> >>> emacs still loses reponse and won't be able to restore to normal. >> >> And it doesn't respond to C-g ?? > > No. > > (gdb) bt > #0 0x00b79248 in ___newselect_nocancel () from /lib/libc.so.6 > #1 0x08194325 in select_wrapper (n=-514, rfd=0x0, wfd=0xbfcbe478, xfd=0x0, > tmo=0xbfcbe5a8) at process.c:4188 > #2 0x081975e3 in wait_reading_process_output (time_limit=0, microsecs=100000, > read_kbd=0, do_display=0, wait_for_cell=137562313, wait_proc=0xac4b208, > just_wait_proc=0) at process.c:4560 While Emacs is hung, could you go back to gdb, set a breakpoint at interrupt_signal, and see what happens when you try to run C-g? If this drops you back into gdb at interrupt_signal, examine the values of the following variables. b interrupt_signal c [Type C-g in Emacs -- this should drop back into gdb at interrupt_signal] p Qnil p Vquit_flag p immediate_quit p Vinhibit_quit p waiting_for_input p echoing (If C-g doesn't drop you back into gdb at interrupt_signal, then it probably is a kernel bug and there's nothing we can do about it).