[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15025: emacs --daemon stuck in infinite loop
From: |
Glenn Morris |
Subject: |
bug#15025: emacs --daemon stuck in infinite loop |
Date: |
Tue, 06 Aug 2013 19:55:41 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Dan Nicolaescu wrote:
> 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?
It seems this was introduced in
http://lists.gnu.org/archive/html/emacs-diffs/2012-12/msg00093.html
Dmitry, please could you take a look?
- bug#15025: emacs --daemon stuck in infinite loop, Dan Nicolaescu, 2013/08/05
- bug#15025: emacs --daemon stuck in infinite loop,
Glenn Morris <=
- bug#15025: emacs --daemon stuck in infinite loop, Dmitry Antipov, 2013/08/06
- bug#15025: emacs --daemon stuck in infinite loop, Dan Nicolaescu, 2013/08/08
- bug#15025: emacs --daemon stuck in infinite loop, Dmitry Antipov, 2013/08/08
- bug#15025: emacs --daemon stuck in infinite loop, martin rudalics, 2013/08/09
- bug#15025: emacs --daemon stuck in infinite loop, Dan Nicolaescu, 2013/08/09
- bug#15025: emacs --daemon stuck in infinite loop, Dmitry Antipov, 2013/08/09
- bug#15025: emacs --daemon stuck in infinite loop, Dan Nicolaescu, 2013/08/09
- bug#15025: emacs --daemon stuck in infinite loop, martin rudalics, 2013/08/09
- bug#15025: emacs --daemon stuck in infinite loop, Dan Nicolaescu, 2013/08/09
- bug#15025: emacs --daemon stuck in infinite loop, Dmitry Antipov, 2013/08/12