tmux-resurrect: restore crashes server (tmux 3.0)

After updating tmux to 3.0, restoring ends up with a dead server and the following message: [server exited unexpectedly]

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Reactions: 55
  • Comments: 17 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Hi, until this is fixed, if using brew to install tmux, you can downgrade to 2.9a like this:

brew uninstall tmux
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c8cff106b17b90472cc6e251b9e5c2daf4fd8d46/Formula/tmux.rb

This installs tmux 2.9a. To prevent from upgrading (until this is fixed), pin the version:

brew pin tmux

To unpin and upgrade:

brew unpin tmux
brew upgrade tmux

Hi!

It works after deleting the line where window is written in tmux_resurrect_{date}.txt.

pane	0	1	:zsh	1	:*	0	:/home/user/.tmux/plugins/tmux-resurrect/scripts	1	zsh	:
pane	3	1	:zsh	1	:*	0	:/home/user/.tmux/plugins/tmux-resurrect/scripts	1	zsh	:
window	0	1	1	:*	c4de,237x55,0,0,1
window	3	1	1	:*	c4df,237x55,0,0,2
state	3	0

pane	0	1	:zsh	1	:*	0	:/home/user/.tmux/plugins/tmux-resurrect/scripts	1	zsh	:
pane	3	1	:zsh	1	:*	0	:/home/user/.tmux/plugins/tmux-resurrect/scripts	1	zsh	:
state	3	0

Isn’t program related to “window” setting good?

Thank!

tmux-arch.tar.gz

I created an arch linux package with the mentioned fix (https://github.com/tmux/tmux/commit/2cb268d51b71d74cf32e9cd1f67892681a9563e1). run makepkg to compile from source or use the binary package directly.

resurrect doesn’t crash with this.

To people experience this issue, have you tried removing old restore data?

seems it’s fixed on tmux/master anyways in https://github.com/tmux/tmux/commit/2cb268d51b71d74cf32e9cd1f67892681a9563e1 😃… guess we just wait.