GNU bug report logs - #18112
24.4.50; emacs --daemon infinite loop in find_interval

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Fri, 25 Jul 2014 23:10:02 UTC

Severity: normal

Found in version 24.4.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: mvoteiza <at> udel.edu
Cc: 18112 <at> debbugs.gnu.org
Subject: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval
Date: Sat, 26 Jul 2014 10:55:11 +0300
> Date: Sat, 26 Jul 2014 09:42:25 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 18112 <at> debbugs.gnu.org
> 
> Please use the procedure in etc/DEBUG to find out where it loops.  The
> procedure calls for using the "finish" command until some frame
> doesn't return, then stepping with "next" through that frame to see
> where and why it loops.

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

I don't know enough about TIOCGWINSZ ioctl to tell how to fix this,
sorry.  Perhaps some termio expert could chime in.




This bug report was last modified 10 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.