some unicodes freeze the terminal (WSL Bash) #6101

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

Originally created by @mknj on GitHub (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
Originally created by @mknj on GitHub (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 ```
claunia added the Resolution-Duplicate label 2026-01-31 00:29:49 +00:00
Author
Owner

@mknj commented on GitHub (Jan 22, 2020):

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

@mknj commented on GitHub (Jan 22, 2020): most unicode characters work fine, it seems to be the combination or length of these chararacters that causes the problem
Author
Owner

@vogsphar commented on GitHub (Jan 23, 2020):

may be duplicate of #678

@vogsphar commented on GitHub (Jan 23, 2020): may be duplicate of #678
Author
Owner

@j4james commented on GitHub (Jan 23, 2020):

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

@j4james commented on GitHub (Jan 23, 2020): This doesn't happen in the master build anymore. I believe it was fixed by PR #4150.
Author
Owner

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

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

/dupe #1360

@zadjii-msft commented on GitHub (Jan 23, 2020): @j4james that sure makes sense to me. Thanks for trying it out! I'll just close this as a dupe then. /dupe #1360
Author
Owner

@ghost commented on GitHub (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 commented on GitHub (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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6101