Crash when displaying emoji #3827

Open
opened 2026-01-30 23:30:56 +00:00 by claunia · 0 comments
Owner

Originally created by @zb140 on GitHub (Sep 11, 2019).

Originally assigned to: @miniksa on GitHub.

Starting after I updated to the latest master today, I'm getting a crash when displaying at least some emoji. Commit bac69f7 is the most recent one I was able to find that definitely works. I tried bisecting to narrow it down further but ran into a bunch of build issues and gave up.

Running in a debugger I get this exception:

Unhandled exception at 0x00007FFF994F4B29 in WindowsTerminal.exe: Microsoft C++ exception: wil::ResultException at memory location 0x0000006A998FDE10.

The particular result being complained about is this: E_INVALIDARG One or more arguments are invalid..
The call stack seems to point to this line as being the problem: 12d2e170dd/src/renderer/base/renderer.cpp (L639) (Technically it points to the next line, but I think that's just the debugger being funny).

This is 100% reproducible for me on both of the systems I've tried it on. I'm happy to help dig up more info if needed.

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
10.0.18965.0 
I happen to be filing this from a system with a fairly recent Insider build, but this also happens on the latest non-Insider build.

Windows Terminal version (if applicable):
Latest from master

Any other software?
Powershell 6.2.2 (not sure if this matters)

Steps to reproduce

In Powershell:

PS> echo "$([char]0x2714)"

Expected behavior

Should print a ✔️

Actual behavior

The terminal crashes.

Originally created by @zb140 on GitHub (Sep 11, 2019). Originally assigned to: @miniksa on GitHub. Starting after I updated to the latest `master` today, I'm getting a crash when displaying at least some emoji. Commit bac69f7 is the most recent one I was able to find that definitely works. I tried bisecting to narrow it down further but ran into a bunch of build issues and gave up. Running in a debugger I get this exception: ```none Unhandled exception at 0x00007FFF994F4B29 in WindowsTerminal.exe: Microsoft C++ exception: wil::ResultException at memory location 0x0000006A998FDE10. ``` The particular result being complained about is this: `E_INVALIDARG One or more arguments are invalid.`. The call stack seems to point to this line as being the problem: https://github.com/microsoft/terminal/blob/12d2e170dd0ff0e23c956a754a308c4ce3f0c1f8/src/renderer/base/renderer.cpp#L639 (Technically it points to the next line, but I think that's just the debugger being funny). This is 100% reproducible for me on both of the systems I've tried it on. I'm happy to help dig up more info if needed. # Environment ```none Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] 10.0.18965.0 I happen to be filing this from a system with a fairly recent Insider build, but this also happens on the latest non-Insider build. Windows Terminal version (if applicable): Latest from master Any other software? Powershell 6.2.2 (not sure if this matters) ``` # Steps to reproduce In Powershell: ``` PS> echo "$([char]0x2714)" ``` # Expected behavior Should print a ✔️ # Actual behavior The terminal crashes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3827