terminal: Terminal crashes sometimes when running `clear`
Windows Terminal version
1.13.11431.0
Windows build number
10.0.19044.0
Other Software
bash (inside WSL, Debian)
Steps to reproduce
Do normal work, switch between being connected locally and remotely via RDP (I think the main point here is probably a change in the available displays, e.g. I have 5 monitors at the office and 2 at home - if that for some reason could matter). In some cases, there will be a lot of text missing (some of it perhaps visible when scrolling back up).
Expected Behavior
I’d expect that executing clear
should clear up the window viewport and recover the shell to a fresh state so I could keep working.
Actual Behavior
Resizing the window sometimes forces a redraw and (at least partially) fixes the problem, but running clear
in the bash shell to “recover” the terminal to a normal working state in most cases just causes the Terminal window to crash and disappear.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 41 (14 by maintainers)
I reproduced the crash and uploaded data to the feedback hub: https://aka.ms/AAhmp2s
Oh I mean, this seems fixed, you say it’s fixed, no one else has chimed in - I think it’s just fixed 😄
This is internally filed as MSFT-41429540 and the failure bucket is
39be1696-4bbf-0321-1166-d994398e7f26
.There’s a small chance that we might be able to look this crash up on the backend if you file feedback via the Feedback Hub, and share the link here: /feedback
If not, I’d recommend the following steps, to try and collect an automatic crash dump of the Terminal: Can you try following the steps in this post to set up automatic crash dumps? (For more info, see this link) If that works, then you should be able to automatically get a
.dmp
of the terminal when it crashes. Then, can you zip that dump up and send it to us, so we can investigate? Thanks!