[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval
From: |
Eli Zaretskii |
Subject: |
bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval |
Date: |
Sat, 26 Jul 2014 12:33:30 +0300 |
> Date: Sat, 26 Jul 2014 12:04:47 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 18112@debbugs.gnu.org
>
> > Date: Sat, 26 Jul 2014 10:55:11 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: 18112@debbugs.gnu.org
> >
> > The loop is in redisplay, and the reason seems to be that get_tty_size
> > returns incorrect size after the second tmux pane is closed with ^D.
> > We get one line more than tmux leaves us (after usurping 1 line for
> > its status line).
>
> Actually, I think I was wrong (I forgot to count the line used for the
> menu bar). So the reason is probably elsewhere...
Ok, my original analysis was based on a mistake. Moreover, tmux is
not really related to the problem at all, and neither is "C-x 3".
Here's a simpler way to reproduce the problem:
Open a terminal emulator (e.g., xterm) window, and in that window:
emacs -Q --daemon
emacsclient -t
Now open another terminal emulator window, and make it have a smaller
size. Then, in that window:
emacsclient -t
C-x C-c
Now go back to the first xterm window and resize it (e.g., with a
mouse). Emacs is now stuck in an infloop.
So the important players here are (1) a frame on another tty that has
a different size, and (2) resizing the frame after deleting another
frame on a different tty.
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Mark Oteiza, 2014/07/25
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Eli Zaretskii, 2014/07/26
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Eli Zaretskii, 2014/07/26
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Eli Zaretskii, 2014/07/26
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval,
Eli Zaretskii <=
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Eli Zaretskii, 2014/07/27
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, martin rudalics, 2014/07/27
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Eli Zaretskii, 2014/07/27
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, martin rudalics, 2014/07/27
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Andreas Schwab, 2014/07/26
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Andreas Schwab, 2014/07/26
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Eli Zaretskii, 2014/07/26
- bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval, Andreas Schwab, 2014/07/26