Terminal crashes when WSL tab tries to display some characters. #5822

Closed
opened 2026-01-31 00:22:42 +00:00 by claunia · 5 comments
Owner

Originally created by @MichaelWalsh on GitHub (Jan 7, 2020).

Terminal (0.7.3451.0) crashes every time I try to cat or curl a html file containing a certain tweet. The entire terminal frame hangs, white out, goes to (Not Responding).
This happens only with the WSL Ubuntu tab and not when I try to cat the same file with powershell in Terminal. It does not crash with WSL under the older 'Ubuntu' launcher from the Windows Store.

Environment

Windows 10 Pro 1909
Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0

Windows Terminal (Preview) Version: 0.7.3451.0 from the Windows Store
Ubuntu 18.04.3 LTS installed from the Windows Store

Steps to reproduce

WSL Ubuntu from the Windows Store installed, Terminal from Windows Store installed
Launch Windows Terminal
Window chrome down arrow: Ubuntu

curl 'https://twitter.com/EU_Commission/status/1213399676201734146' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0'

curl starts to display the html from that url, but doesn't complete as the whole window frame hangs at some point during the output

Expected behavior

I expected the whole output from curl to be displayed, and return to the bash prompt

Actual behavior

curl starts displaying html output, but then the whole app frame including all tabs becomes unresponsive.

Although Windows displayed the "sending data to Microsoft" from the crash, I don't have a link to share as this computer has no Microsoft Account associated with it, and the feedback tool appears to require one to view crash data.

Originally created by @MichaelWalsh on GitHub (Jan 7, 2020). Terminal (0.7.3451.0) crashes every time I try to cat or curl a html file containing a certain tweet. The entire terminal frame hangs, white out, goes to (Not Responding). This happens only with the WSL Ubuntu tab and not when I try to cat the same file with powershell in Terminal. It does not crash with WSL under the older 'Ubuntu' launcher from the Windows Store. # Environment Windows 10 Pro 1909 Win32NT 10.0.18363.0 Microsoft Windows NT 10.0.18363.0 Windows Terminal (Preview) Version: 0.7.3451.0 from the Windows Store Ubuntu 18.04.3 LTS installed from the Windows Store # Steps to reproduce WSL Ubuntu from the Windows Store installed, Terminal from Windows Store installed Launch Windows Terminal Window chrome down arrow: Ubuntu curl 'https://twitter.com/EU_Commission/status/1213399676201734146' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0' curl starts to display the html from that url, but doesn't complete as the whole window frame hangs at some point during the output # Expected behavior I expected the whole output from curl to be displayed, and return to the bash prompt # Actual behavior curl starts displaying html output, but then the whole app frame including all tabs becomes unresponsive. Although Windows displayed the "sending data to Microsoft" from the crash, I don't have a link to share as this computer has no Microsoft Account associated with it, and the feedback tool appears to require one to view crash data.
Author
Owner

@zadjii-msft commented on GitHub (Jan 8, 2020):

Well yep, that's a pretty easy repro.

I had to change the command to include https, but yea it happens every time.

curl 'https://twitter.com/EU_Commission/status/1213399676201734146' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0'

Unfortunately, just cat'ing the file doesn't repro this.

@zadjii-msft commented on GitHub (Jan 8, 2020): Well yep, that's a pretty easy repro. I had to change the command to include `https`, but yea it happens every time. ``` curl 'https://twitter.com/EU_Commission/status/1213399676201734146' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0' ``` Unfortunately, just `cat`'ing the file _doesn't_ repro this.
Author
Owner

@DHowett-MSFT commented on GitHub (Jan 9, 2020):

Thanks for the report! This is, largely, a /dupe of #1360.

@DHowett-MSFT commented on GitHub (Jan 9, 2020): Thanks for the report! This is, largely, a /dupe of #1360.
Author
Owner

@ghost commented on GitHub (Jan 9, 2020):

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 (Jan 9, 2020): 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!
Author
Owner

@ghost commented on GitHub (Jan 27, 2020):

:tada:This issue was addressed in #4150, which has now been successfully released as Windows Terminal Preview v0.8.10261.0.🎉

Handy links:

@ghost commented on GitHub (Jan 27, 2020): :tada:This issue was addressed in #4150, which has now been successfully released as `Windows Terminal Preview v0.8.10261.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.8.10261.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Author
Owner

@ghost commented on GitHub (Feb 13, 2020):

:tada:This issue was addressed in #4150, which has now been successfully released as Windows Terminal Preview v0.9.433.0.🎉

Handy links:

@ghost commented on GitHub (Feb 13, 2020): :tada:This issue was addressed in #4150, which has now been successfully released as `Windows Terminal Preview v0.9.433.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.9.433.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5822