-
Notifications
You must be signed in to change notification settings - Fork 8.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
WSL terminal crashes when using tmux #2610
Comments
Allthough, the terminal is REALLY slow, like typing on a 9600 baud modem connection while attached to the tmux session. I'm going to compile tmux 3.0 and see if it's still slow and debug it. I'll open a bug on another thread if I figure anything out. I'm curious is luis has that same experience too... |
For reference I was unable to duplicate this crash this with both a horizontal tmux split and a vertical tmux split. TMUX 2.1 - Terminal Version: 0.4.2382.0 which I got from the MS store. Probably should have started with this but it's insane to me to be able to work in windows comfortably, got carried away. btw the screenshot is from one of my repos, I didn't have my laptop handy. I wasn't trying to point out the icons just illustrating the contrast in font rendering. |
I've seen reports of (and encountered myself) crashes when printing any "ambiguous width" characters, but only when I've closed at least one tab. Is that the case here? |
No it isn't. This crash happens with only creating a vertical window in tmux and maximing and minimizing back the terminal. Maybe the extra tmux window could be considered as "ambiguous width" character. |
Luis: What version of tmux? |
I'm using:
I tried upgrading to Windows Insider Program and using WSL 2 but the error still happened, so I downgraded the system again to the actual version. |
I'll try 2.6 when I get home and let you know if I can reproduce that crash. I still need to compile 3.0. I think it's challenging because it's not just the version of the terminal emulation application, it's the version of the all of the libraries tied to your linux distro, then the WSL translation, then the application. So something that could be a bug in any of those layers only comes to the surface because you have a usable terminal emulator in windows. In any case, I'll dump out everything on my setup when I get home so you can at least work in a sane environment. |
I understand what you say. Could you tell me a combination which apparently doesn't give any problem? I'm also using Ubuntu 18.04 dowloaded from the Microsoft Store |
Luis: tmux 2.1
I hope this works for you man, I tested all splits, switching layouts within splits, maximizing / minimizing the term and its not crashing on me. I spent some time navigating with multiple sessions and it's all working... just slowly. I'll let you know if I get anything else interesting. Good luck man, let me know if I missed anything. J |
I can't reproduce this on the following: tmux 2.8 I get strange glyph issues described above on my work PC but not home PC and I can't work out why! |
Here it is the shortcut to the Feedback Hub issue: https://aka.ms/AA60xiv |
I do not experience exactly such an issue. I faced with suddenly windows terminal closing when I'm using tmux in WSL. Usually, it happens on quite long sessions - more than one day. tmux server continues work in this case. With Command Prompt the result is the same. |
This seems to have been fixed with 0.6. Let me know if not. |
It seems so. |
If it was gone, it is now back
|
@IUJakob This thread is more than 4 years old. If you're seeing something like this, it's surely a different root cause. You should file a new issue. |
If I open a tmux session and then use the shortcut "Ctrl+b + %" to add a new vertical window it displays properly. However if I maximize the terminal and then minimize it again to its original size the terminal will freeze for a second and then close without appearing any error message.
This behaviour only happens with vertical windows, and not with horizontal ones.
I don't know if it's a problem of the WSL terminal or tmux itself. I'm new to developping in Windows, so where can I find the log or any information to let you know what is happening with the terminal?
EDIT: I just find out that it happens with tmux and only when you minimize back to its size a terminal which contains many lines or rows. For example if I go to /usr/bin/ and type "ls -l" all the content will show in screen; if I maximize the window then minimize it back to its default size it will crash and close without showing any error. If I do the same operation out of tmux, it displays without any error.
The text was updated successfully, but these errors were encountered: