Crash when using ssh and output long line when using magnifier #15819

Closed
opened 2026-01-31 04:49:21 +00:00 by claunia · 5 comments
Owner

Originally created by @ganlvtech on GitHub (Nov 8, 2021).

Windows Terminal version (or Windows build number)

10.0.19043.0, 1.11.2921.0

Other Software

OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
PowerShell 5.1.19041.1237

Steps to reproduce

Open a PowerShell tab in Windows Terminal.
ssh to some host and cat a text file with more than 20k chars (eg. 20k as) in the first line.

ssh.exe -t username@hostname cat ~/longtext.txt

I found this issue when I compile some program. I got a very long compile error. It displays the cmdline cc + many .o filef in the same line. And then, terminal crashed.

   Compiling .... v0.1.0 (/home/....)
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/home/.... very very lone line

Expected Behavior

Output a long line.

Actual Behavior

Windows Terminal crashed and all tab closed. If it doesn't happend, repeat 1 to 3 times.

It maybe need to repeat 4 ~ 6 times when using ssh without -t.

If I open a standalone PowerShell window. It's OK.

Summary

tools result
wt + powershell + ssh + cat crash
wt + cmd + ssh + cat crash
wt + git-bash + ssh + cat crash
wt + powershell + cat not crash
wt + git-bash + cat not crash
powershell + ssh + cat not crash
cmd + ssh + cat not crash
git-bash + ssh + cat not crash
Originally created by @ganlvtech on GitHub (Nov 8, 2021). ### Windows Terminal version (or Windows build number) 10.0.19043.0, 1.11.2921.0 ### Other Software OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2 PowerShell 5.1.19041.1237 ### Steps to reproduce Open a PowerShell tab in Windows Terminal. ssh to some host and cat a text file with more than 20k chars (eg. 20k `a`s) in the first line. ``` ssh.exe -t username@hostname cat ~/longtext.txt ``` I found this issue when I compile some program. I got a very long compile error. It displays the cmdline `cc` + many `.o` filef in the same line. And then, terminal crashed. ``` Compiling .... v0.1.0 (/home/....) error: linking with `cc` failed: exit status: 1 | = note: "cc" "-m64" "/home/.... very very lone line ``` ### Expected Behavior Output a long line. ### Actual Behavior Windows Terminal crashed and all tab closed. If it doesn't happend, repeat 1 to 3 times. It maybe need to repeat 4 ~ 6 times when using `ssh` without `-t`. If I open a standalone PowerShell window. It's OK. ## Summary | tools | result | | --------------------------- | --------- | | wt + powershell + ssh + cat | crash | | wt + cmd + ssh + cat | crash | | wt + git-bash + ssh + cat | crash | | wt + powershell + cat | not crash | | wt + git-bash + cat | not crash | | powershell + ssh + cat | not crash | | cmd + ssh + cat | not crash | | git-bash + ssh + cat | not crash |
claunia added the Resolution-Duplicate label 2026-01-31 04:49:21 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 8, 2021):

Huh. Could have swore we had an open discussion for this one. Any chance you're running narrator or Windows Magnifier?

If this repros fairly consistently, could you reproduce it with the Feedback Hub? That should give us a crash dump with a stack we can investigate. /feedback

@zadjii-msft commented on GitHub (Nov 8, 2021): Huh. Could have swore we had an open discussion for this one. Any chance you're running narrator or Windows Magnifier? If this repros fairly consistently, could you reproduce it with the Feedback Hub? That should give us a crash dump with a stack we can investigate. /feedback
Author
Owner

@ghost commented on GitHub (Nov 8, 2021):

Hi there!

Can you please send us feedback with the Feedback Hub with this issue? Make sure to click the "Start recording" button, then reproduce the issue before submitting the feedback. Once it's submitted, paste the link here so we can more easily find your crash information on the back end?

Thanks!

image

image

image

@ghost commented on GitHub (Nov 8, 2021): Hi there!<br><br>Can you please send us feedback with the Feedback Hub with this issue? Make sure to click the "Start recording" button, then reproduce the issue before submitting the feedback. Once it's submitted, paste the link here so we can more easily find your crash information on the back end?<br><br>Thanks!<br><br>![image](https://user-images.githubusercontent.com/18356694/140811502-a068f78b-89d2-4587-925a-73e19652b830.png)<br><br>![image](https://user-images.githubusercontent.com/18356694/140811557-cdc22a0f-fa6a-4f6a-953e-73b51f5548a3.png)<br><br>![image](https://user-images.githubusercontent.com/18221333/62478649-6de55400-b760-11e9-806e-5aab7e085a9f.png)
Author
Owner

@ganlvtech commented on GitHub (Nov 9, 2021):

Yes. I'm running Windows Magnifier. I usually use 100% zoom level and Ctrl + Alt + I to invert color at night.

It won't crash if I close the magnifier.

@ganlvtech commented on GitHub (Nov 9, 2021): Yes. I'm running Windows Magnifier. I usually use 100% zoom level and `Ctrl + Alt + I` to invert color at night. It won't crash if I close the magnifier.
Author
Owner

@zadjii-msft commented on GitHub (Nov 9, 2021):

Yes. I'm running Windows Magnifier

oh ho ho, thanks for confirming! I'd bet that this is /dup #8730

@zadjii-msft commented on GitHub (Nov 9, 2021): > Yes. I'm running Windows Magnifier oh ho ho, thanks for confirming! I'd bet that this is /dup #8730
Author
Owner

@ghost commented on GitHub (Nov 9, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Nov 9, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15819