Skip to content

randomly freezing on terminal window resize #2197

@dkuettel

Description

@dkuettel

Issue description

Sometimes when resizing the terminal window, tmux's output freezes. Doesnt update output and doesnt react to keystrokes. Resizing again will make it unfreeze. Usually it registered keystrokes, but didnt render any updates.

reproduce with:

  • tmux -v -Ltest -f/dev/null new
  • run htop
  • start resizing the terminal window
  • at some point htop is not updating, especially when you enlarge the window it's easy to see how htop doesn't grow and doesnt redraw
  • further resizing will unfreeze at some point

note:

  • I'm on fc13e9bc.
  • I can reproduce it with gnome-terminal as well as with st (http://st.suckless.org/).
  • It happens not only with htop, but there it's easy to see.
  • I'm using a tiling window manager (dwm), it's easier to reproduce when resizes are "instantaneous", as in the window manager giving one resize event, but it also happens when resizing with the mouse, just harder to spot, because it rapid-fires resize events where one event makes it freeze and the next one unfreeze.
  • the CONTRIBUTING documentation says to use tmux -vv for bug reports, but with -vv it doesnt freeze, only with -v and without any verbose.
  • tmux version (tmux -V) = tmux next-3.2 from commit fc13e9bc
  • Platform (uname -sp) = Linux x86_64
  • $TERM inside (st-256color) and outside (tmux-256color) of tmux (echo $TERM)
  • Logs from tmux (tmux kill-server; tmux -vv new) are attached, caveat see above.

tmux-server-25361.log
tmux-client-25359.log

Btw: I remember this happening a few months ago and it got fixed by just moving to the newest commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions