Skip to content
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

some unicodes freeze the terminal (WSL Bash) #4332

Closed
mknj opened this issue Jan 22, 2020 · 5 comments
Closed

some unicodes freeze the terminal (WSL Bash) #4332

mknj opened this issue Jan 22, 2020 · 5 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@mknj
Copy link

mknj commented Jan 22, 2020

Environment

Windows 18362
WSL 18362
Windows Terminal (Preview) Version: 0.8.10091.0
inside WSL: ubuntu 18.04.1 LTS (https://aka.ms/wsl-ubuntu-1804)

The following command freezes the terminal

cat bad

The content of the bad file

🦕🐈🐀🐁🐇🐕🐩🐨 🐿🦔🦇🐍🦅🦉🦆🐓🐔🦃🕊🐣🐤🐥🐦🐧🐋🐳🐬🦈🐟🐠🐡🐙🦑🦐🦀🐚🐌 🐢🦎🐊🙈🙉🙊🎠♘♞🐽🐾👣🎠🏇🐀🐃🐅🐇🐉🐍🐎🐐🐒🐓🐕🐖

The bad file can be created with the following command

echo 8J+mlfCfkIjwn5CA8J+QgfCfkIfwn5CV8J+QqfCfkKgg8J+Qv/CfppTwn6aH8J+QjfCfpoXwn6aJ8J+mhvCfkJPwn5CU8J+mg/CflYrwn5Cj8J+QpPCfkKXwn5Cm8J+Qp/CfkIvwn5Cz8J+QrPCfpojwn5Cf8J+QoPCfkKHwn5CZ8J+mkfCfppDwn6aA8J+QmvCfkIwg8J+QovCfpo7wn5CK8J+ZiPCfmYnwn5mK8J+OoOKZmOKZnvCfkL3wn5C+8J+Ro/CfjqDwn4+H8J+QgPCfkIPwn5CF8J+Qh/CfkInwn5CN8J+QjvCfkJDwn5CS8J+Qk/CfkJXwn5CWCg== | base64 -d >bad
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jan 22, 2020
@mknj
Copy link
Author

mknj commented Jan 22, 2020

most unicode characters work fine, it seems to be the combination or length of these chararacters that causes the problem

@vogsphar
Copy link

may be duplicate of #678

@j4james
Copy link
Collaborator

j4james commented Jan 23, 2020

This doesn't happen in the master build anymore. I believe it was fixed by PR #4150.

@zadjii-msft
Copy link
Member

@j4james that sure makes sense to me. Thanks for trying it out! I'll just close this as a dupe then.

/dupe #1360

@ghost
Copy link

ghost commented Jan 23, 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 ghost closed this as completed Jan 23, 2020
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jan 23, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants