emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Can't stop find-grep-dired when using Cygwin for the inferior proces


From: Lennart Borgman
Subject: Re: Can't stop find-grep-dired when using Cygwin for the inferior process
Date: Tue, 29 Aug 2006 00:25:30 +0200
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Kim F. Storm wrote:
How can the choice of firewall influence whether delete-process
works or not?
I do not know. I just know that when I reverted to my old firewall the problem seems to be (nearly) gone. And I know that with the other firewall things sometimes slowed down to a crawl.

I am guessing that it was a lot of swapping behind this.
After that I tested again and I was going to say that the problem is
gone. It is nearly - but not quite. Most of the times kill-find works
now, but once Emacs froze like before. Could this be some kind of race
condition?

Without knowing what emacs was doing or waiting for, nobody can tell!
You are right of course. I just guessed on a race conditions since the freeze does not happen always and it happens much more often when using that other firewall.


If you are just interested in a few defines, just printf them in main.

Thanks, that is about what I have been doing.
AFAICS, delete-process calls kill-process, so it looks like a loop
in some of the book-keeping in delete-process ... can you find that
loop?  IOW, what is emacs doing when it "hangs" ?
It does not look like a loop. Emacs eats no CPU.

It is probably waiting for some event then.  A backtrace
should show you where it is waiting, and the state may
then show you what it is waiting for.
Is there any way to get that when Emacs is frozen?

At the moment I just hope that this does not happen again. Actually it could have been something outside of Emacs causing the trouble.




reply via email to

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