GNU bug report logs -
#15025
emacs --daemon stuck in infinite loop
Previous Next
Reported by: Dan Nicolaescu <dann <at> gnu.org>
Date: Mon, 5 Aug 2013 12:37:01 UTC
Severity: important
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):
This seems to be reproducible.
emacs compiled with Lucid toolkit
The recipe here uses Xnest because it easy to kill/restart, probably the same
happens if the X session is killed.
Xnest :1&
xterm -display :1&
Now type in the xterm above:
emacs --daemon
In a different xterm type:
emacsclient -t Makefile
(or any file that exists).
C-z
now while emacsclient is suspended kill Xnest (using the window manager
close button)
Emacs daemon should still survive, but
emacsclient -t
cannot connect to it.
Looking in the debugger, emacs is stuck in an infinite loop in:
frame.c: next_frame
while (passed < 2)
passed never gets set to more than 1, so the loop never ends.
What is the intention of that code?
This bug report was last modified 11 years and 281 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.