unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15025: emacs --daemon stuck in infinite loop
@ 2013-08-05 12:36 Dan Nicolaescu
  2013-08-06 23:55 ` Glenn Morris
  0 siblings, 1 reply; 17+ messages in thread
From: Dan Nicolaescu @ 2013-08-05 12:36 UTC (permalink / raw)
  To: 15025


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? 






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

end of thread, other threads:[~2013-08-16 18:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-05 12:36 bug#15025: emacs --daemon stuck in infinite loop Dan Nicolaescu
2013-08-06 23:55 ` Glenn Morris
2013-08-07  2:13   ` Dmitry Antipov
2013-08-09  1:23     ` Dan Nicolaescu
2013-08-09  2:34       ` Dmitry Antipov
2013-08-09  9:12         ` martin rudalics
2013-08-09 13:25           ` Dan Nicolaescu
2013-08-09 15:00             ` Dmitry Antipov
2013-08-09 19:14               ` Dan Nicolaescu
2013-08-09 20:34                 ` martin rudalics
2013-08-09 21:54                   ` Dan Nicolaescu
2013-08-12  8:10                     ` Dmitry Antipov
2013-08-13 14:41                       ` Dan Nicolaescu
2013-08-14 17:43                         ` Dmitry Antipov
2013-08-15 15:40                         ` Dmitry Antipov
2013-08-16 18:36                           ` Dan Nicolaescu
2013-08-09 17:09             ` martin rudalics

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