unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Dhruva Krishnamurthy" <seagull@fastmail.fm>
Cc: "Emacs Bug" <emacs-pretest-bug@gnu.org>,
	"Emacs Devel" <emacs-devel@gnu.org>
Subject: Re: Hang in Emacs 21.3.50
Date: Wed, 04 Dec 2002 16:31:22 +0530	[thread overview]
Message-ID: <20021204110122.84CA13FE33@server2.fastmail.fm> (raw)

On Sat, 30 Nov 2002 09:05:57 -0500, "Richard Stallman" <rms@gnu.org>
said:
>      I have no clue and do not know how to debug a HANG using GDB.
> 
> See etc/DEBUG for a lot of advice.  You can stop Emacs by typing
> C-z at the window where GDB is running.

  Did not work in W2k, the interrupt must be some other key (C-Brk killed
  the session!)
  I built Emacs using MSVC 6.0 and debugged.

> This is a bug in Dhruva's code, but it still seems wrong
> for Emacs to loop--it ought to report an error.  Can someone
> debug why it loops, and make it report a clean error?

 I did some further debugging using MSVC 6.0 debugger. I would like to
 report another scenerio which causes a similar HANG (infinite loop) in
 w32fns.c:w32_msg_pump()

1. I use Aspell (latest : 05.3-2 I guess)
2. When I do "M-x ispell-buffer", it goes to w32fns.c:w32_msg_pump() and
gets into an infinite loop (GetMessage())
3. The thread exits (presumably Aspell) with return value "1" (some error
I guess).

I feel the threads are getting into some sort of dead lock. In the Aspell
case, I am quite sure of it.

IMHO, this bug needs to be examined by a Win32 internal experts or
generally threads experts.

with best regards,
dhruva

PS:
Emacs is multi threaded. Am I right or am I missing something.

-- 
Dhruva Krishnamurthy

             reply	other threads:[~2002-12-04 11:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-04 11:01 Dhruva Krishnamurthy [this message]
2002-12-04 15:18 ` Hang in Emacs 21.3.50 Eli Zaretskii
2002-12-04 21:57 ` Jason Rumney
  -- strict thread matches above, loose matches on Subject: below --
2002-11-29 11:15 Dhruva Krishnamurthy
2002-11-29 13:26 ` Kai Großjohann
2002-11-30 14:05 ` Richard Stallman

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=20021204110122.84CA13FE33@server2.fastmail.fm \
    --to=seagull@fastmail.fm \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    /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).