From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Occasional hangs in flyspell-mode and ispell-word Date: Thu, 27 Mar 2008 17:04:21 -0400 Message-ID: References: <20080327052040.002826434E0@mt-computer.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206651959 14402 80.91.229.12 (27 Mar 2008 21:05:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2008 21:05:59 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Markus Triska Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 27 22:06:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JezIE-0003XJ-AH for ged-emacs-devel@m.gmane.org; Thu, 27 Mar 2008 22:05:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JezHc-00050N-LY for ged-emacs-devel@m.gmane.org; Thu, 27 Mar 2008 17:05:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JezHY-000501-Pb for emacs-devel@gnu.org; Thu, 27 Mar 2008 17:05:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JezHU-0004xu-Ro for emacs-devel@gnu.org; Thu, 27 Mar 2008 17:05:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JezHU-0004xr-Op for emacs-devel@gnu.org; Thu, 27 Mar 2008 17:05:04 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JezHU-000531-Az for emacs-devel@gnu.org; Thu, 27 Mar 2008 17:05:04 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JezHU-0004dI-5i for emacs-pretest-bug@gnu.org; Thu, 27 Mar 2008 17:05:04 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JezHQ-000521-Nm for emacs-pretest-bug@gnu.org; Thu, 27 Mar 2008 17:05:03 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JezHQ-00051r-Hz for emacs-pretest-bug@gnu.org; Thu, 27 Mar 2008 17:05:00 -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 E05F82CFB14; Thu, 27 Mar 2008 17:04:59 -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 64F423FE5; Thu, 27 Mar 2008 17:04:21 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 51B886C7CF; Thu, 27 Mar 2008 17:04:21 -0400 (EDT) In-Reply-To: <20080327052040.002826434E0@mt-computer.local> (Markus Triska's message of "Thu, 27 Mar 2008 06:20:40 +0100 (CET)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (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-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:93666 gmane.emacs.pretest.bugs:21731 Archived-At: > In connection with flyspell-mode and ispell-word, sometimes Emacs > hangs indefinitely and cannot be interrupted with C-g. When running > Emacs inside gdb and doing a backtrace when it hangs, I get: I personally use an Emacs patched as follows: Index: src/process.c =================================================================== RCS file: /sources/emacs/emacs/src/process.c,v retrieving revision 1.538 diff -u -r1.538 process.c --- src/process.c 27 Mar 2008 20:52:24 -0000 1.538 +++ src/process.c 27 Mar 2008 20:52:32 -0000 @@ -4272,6 +4272,9 @@ FD_ZERO (&Connecting); #endif + if (time_limit == 0 && wait_proc && !NILP (Vinhibit_quit)) + error ("Blocking call to accept-process-output with quit inhibited!!"); + /* If wait_proc is a process to watch, set wait_channel accordingly. */ if (wait_proc != NULL) wait_channel = wait_proc->infd; so the accept-process-output refuses to do its job if it's run with quit-inhibited, which is the typical cause of problems such as the one you're describing. But your backtrace indicates that inhibit-quit is (most likely) not set, so your problem seems to be different. When did this problem started? Stefan