unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Strange looping
@ 2010-04-30  0:02 Lennart Borgman
  2010-04-30  3:06 ` David Reitter
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lennart Borgman @ 2010-04-30  0:02 UTC (permalink / raw)
  To: Emacs-Devel devel

I have experience some strange looping in Emacs recently. I have
difficulties catching them, but with a recent build I was able to use
Emacs to see what happened.

I found no reason. I killed all visible buffers, but Emacs still
loops. There are no processes that I can see. I did not see anything
really suspect - except for an arg out or range during fontification.

I think I have seen the same problem with builds from 2010-03-21 and
2010-04-27. (This are my patched builds, though.)

Anyone has any good idea of how to catch this?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Strange looping
  2010-04-30  0:02 Strange looping Lennart Borgman
@ 2010-04-30  3:06 ` David Reitter
  2010-04-30  3:10 ` Ken Hori
  2010-04-30  6:28 ` Eli Zaretskii
  2 siblings, 0 replies; 4+ messages in thread
From: David Reitter @ 2010-04-30  3:06 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: Nathaniel Cunningham, Emacs-Devel devel

On Apr 29, 2010, at 8:02 PM, Lennart Borgman wrote:

> I have experience some strange looping in Emacs recently. I have
> difficulties catching them, but with a recent build I was able to use
> Emacs to see what happened.

I have received reports of similar problems, where Emacs is stuck in a loop involving redisplays (breakable with C-g).  This is in relation to ispell, and it seems to be consistent, even though I haven't managed to reproduce it.  A (print 1) statement in a place before the looping command seems to prevent it, but not so direct triggering of redisplay, or inhibiting redisplay.

Could this be the same problem?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Strange looping
  2010-04-30  0:02 Strange looping Lennart Borgman
  2010-04-30  3:06 ` David Reitter
@ 2010-04-30  3:10 ` Ken Hori
  2010-04-30  6:28 ` Eli Zaretskii
  2 siblings, 0 replies; 4+ messages in thread
From: Ken Hori @ 2010-04-30  3:10 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: Emacs-Devel devel

Perhaps GNU Emacs is in the process of gaining consciousness itself.

http://www.amazon.com/Am-Strange-Loop-Douglas-Hofstadter/dp/0465030793/


On Thu, Apr 29, 2010 at 5:02 PM, Lennart Borgman
<lennart.borgman@gmail.com> wrote:
> I have experience some strange looping in Emacs recently. I have
> difficulties catching them, but with a recent build I was able to use
> Emacs to see what happened.
>
> I found no reason. I killed all visible buffers, but Emacs still
> loops. There are no processes that I can see. I did not see anything
> really suspect - except for an arg out or range during fontification.
>
> I think I have seen the same problem with builds from 2010-03-21 and
> 2010-04-27. (This are my patched builds, though.)
>
> Anyone has any good idea of how to catch this?
>
>
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Strange looping
  2010-04-30  0:02 Strange looping Lennart Borgman
  2010-04-30  3:06 ` David Reitter
  2010-04-30  3:10 ` Ken Hori
@ 2010-04-30  6:28 ` Eli Zaretskii
  2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2010-04-30  6:28 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: emacs-devel

> From: Lennart Borgman <lennart.borgman@gmail.com>
> Date: Fri, 30 Apr 2010 02:02:37 +0200
> 
> I have experience some strange looping in Emacs recently. I have
> difficulties catching them, but with a recent build I was able to use
> Emacs to see what happened.
> 
> I found no reason. I killed all visible buffers, but Emacs still
> loops. There are no processes that I can see. I did not see anything
> really suspect - except for an arg out or range during fontification.
> 
> I think I have seen the same problem with builds from 2010-03-21 and
> 2010-04-27. (This are my patched builds, though.)
> 
> Anyone has any good idea of how to catch this?

When that happens, attach GDB to the runaway Emacs, and then use the
procedure described in etc/DEBUG under "If the symptom of the bug is
that Emacs fails to respond", to find out where it is looping.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-30  6:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-30  0:02 Strange looping Lennart Borgman
2010-04-30  3:06 ` David Reitter
2010-04-30  3:10 ` Ken Hori
2010-04-30  6:28 ` Eli Zaretskii

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).