-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server exited unexpectedly using neovim 0.10.0 over SSH in terminals that support sixel #3983
Comments
That was fast! I was about to submit the same bug report when I saw this, so I'll add my report here. My terminal emulator is iTerm2 Build 3.5.0beta26. My steps to reproduce
I've tested this with both the following setups:
Required information
The last few lines of tmux server logs look like this:
Looks like it's related to sixel? |
True, I should have mentioned that I patched sixel support into the latest Alacritty release. It would be odd if neovim was triggering a sixel-related bug on that note. |
Found this issue following the sixel lead: neovim/neovim#28082. Unfortunately iTerm2 seems to have no way to disable sixel so I can't test without it... |
Does this still happen with master? |
@nicm: I just tested in master and the issue does not occur there |
Great stuff. I expect it was fixed by aa17f0e. |
Nice, will there be a new release soon? 👀 |
I just came here to report the same thing, with iTerm, but apparently it's known already - nice. |
@jby for now a workaround would be |
It still happens with |
Oh, and related to the OP - for me there's no problem in Alacritty, even with 3.4... |
Hmm, it didn't crash on a second try, so I'm hopeful... |
witnessed the same behavior. first time launching neovim I saw |
Also happening to me inside of WezTerm with tmux 3.4 + nvim 0.10.0 over ssh on macOS. |
This was also happening for me locally when |
Observe the same behavior when opening a file in neovim via sudo in a tmux session: $ tmux
$ touch file.txt
$ sudo nvim file.txt
[server exited unexpectedly] However, can confirm that the workaround suggested by @lennartack does not crash tmux: $ tmux
$ sudo -E TMUX=$TMUX nvim file.txt |
Yeah setting TMUX to anything like |
Are there any plans for a new tmux release that includes the fix? The latest release was made in February and the version that comes on Arch and any derived distros is currently impacted. |
So I'm having another issue with neovim and TMUX. If on my host machine I run tmux, and ssh into a server, and then on that remote machine I start a tmux instance (nested tmux) and open vim in there, it crashes everything (crashes my host machine tmux instance). I have Thanks! |
@sainttttt setting I think that nested tmux sessions are not advised in general, and the crash around the remote neovim session may just be one of the many issues you may encounter. Maybe you could try another non-conflicting terminal multiplexer like screen on the remote machine? |
@blacklight Thanks for the reply! Actually I noticed that my host tmux was not on HEAD (it was on 3.4). Upgrading it to HEAD fixed the nested issue! I did test out doing nested zellij instances and it worked, however I can't stand zellij as it has a bunch of UI clutter etc, and would have to figure out how to configure it to be more minimal like tmux. Yeah screen is an option I guess as a last resort, but I'm glad it's working now atm. Thanks! |
The TMUX=meow fix worked for me, but caused that clipboard in neovim did not work anymore. |
@ChristophSonnleitner instead of |
Issue description
Running tmux in Alacritty then SSHing into a client and running neovim 0.10.0 will crash the tmux server.
In case this was due to the new osc52 support for copy/paste, I tried disabling osc52 in the alacritty config but there was no difference. I also attempted to prevent osc52 copy/paste in neovim by forcing unnamedplus (which the documentation says prevents the feature from loading) but still hit the issue.
Describe the problem and the steps to reproduce:
nvim -u NORC
(to load without any config)[server exited unexpectedly]
Required information
Please provide the following information:
tmux-client-607371.log
tmux-out-607375.log
tmux-server-607375.log
Let me know if you need additional information and I'd be happy to provide it. Also, thanks for maintaining tmux :)
The text was updated successfully, but these errors were encountered: