unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Markus Triska <markus.triska@gmx.at>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Occasional hangs in flyspell-mode and ispell-word
Date: Thu, 27 Mar 2008 17:04:21 -0400	[thread overview]
Message-ID: <jwv7ifnnb15.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <20080327052040.002826434E0@mt-computer.local> (Markus Triska's message of "Thu, 27 Mar 2008 06:20:40 +0100 (CET)")

> 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	other threads:[~2008-03-27 21:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27  5:20 23.0.60; Occasional hangs in flyspell-mode and ispell-word Markus Triska
2008-03-27 21:04 ` Stefan Monnier [this message]
2008-03-27 21:27   ` Lennart Borgman (gmail)
2008-03-29 18:40     ` Stefan Monnier
2008-03-28 15:06   ` Markus Triska
2008-03-29 18:43     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7ifnnb15.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=markus.triska@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).