-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Terminal App Version 1.8.1521.0 crashes on openssh client connection exit (WSL2 Ubuntu buster/sid Linux) #10657
Comments
Could you repro this with the Feedback hub? That'll get us a stack trace we can use to root-cause this /feedback |
@zadjii-msft thanks for the feedback. I have submitted an issue via the Feedback hub two weeks ago: Does this help? |
Oh no, just open the feedback hub and draft up the feedback, then the last step will ask you for a recording of the issue. Start the recording, then switch over to the Terminal and repro the bug, then switch back and end the recording. The Feedback Hub will automatically collect up the crash that happened during the recording and link it with the feedback. Submit the feedback, and share the aka.ms URL here, and we can then go look up the crash on the backend. Neat! |
(unfortunately, the original feedback you filed didn't collect up the crash, so it doesn't have anything helpful in it 😢) |
To ensure WSL2 isn't involved, are you using the default kernel or a custom one? If it's custom, what's different from the default WSL2 kernel? Technically this shouldn't matter unless something with the console options was changed or possibly even network config since ssh is involved. |
You're right, I am using a custom WSL2 Kernel Configuration (based on the official MS WSL2-Kernel). I can't remember why I did this (it's a couple of months ago that I compiled it) - but it must have had an important reason - probably to fix a network related problem (docker, localhost forwarding or such). I will disable the custom kernel and use the official one again and see if this solves the crash or not and will come back in a few days to report. |
FWIW I tested this on my custom kernel and has no issues. I'm also running 1.10 Preview now but I never had issues before that I could recall. My custom kernel is compiled from the 5.12 stable with the MS specific patches merged and my config options, which do enable some networking stuff, particularly for docker/kind/k3d, etc. I'd still recommend testing with default 5.10.x kernel from WSL2 repo to reduce the factors. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Windows Terminal version (or Windows build number)
Terminal App Version 1.8.1521.0
Other Software
openssh on Linux WSL2 (Ubuntu)
Steps to reproduce
Sometimes, not always, the Terminal App crashes when I log off of a SSH connection to a remote (Linux) Server. I run WSL2 with Ubuntu Linux 4.19.84-microsoft-standard+ #1 SMP Fri Mar 19 11:33:09 CET 2021 x86_64 x86_64 x86_64 GNU/Linux.
This is really really a showstopper for my productive work. I have many tabs and server connections open and when the terminal app crashes, all those connections and open files, etc are lost!
Expected Behavior
Terminal app does not crash
Actual Behavior
Terminal app crashes
The text was updated successfully, but these errors were encountered: