emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.60; Occasional hangs in flyspell-mode and ispell-word


From: Stefan Monnier
Subject: Re: 23.0.60; Occasional hangs in flyspell-mode and ispell-word
Date: Thu, 27 Mar 2008 17:04:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]