Run wsl.exe with Powerline font in Windows Terminal will crash #3998

Closed
opened 2026-01-30 23:35:12 +00:00 by claunia · 11 comments
Owner

Originally created by @kkbruce on GitHub (Sep 24, 2019).

Environment

Windows build number:
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable):
0.4.2382.0
Any other software?

Steps to reproduce

I install WSL - Ubuntu in Windows 10, want setup WSL in Windows Terminal. If change profile fontFace from Consolas to Ubuntu Mono derivative Powerline (https://github.com/powerline/fonts/tree/master/UbuntuMono), Windows Terminal will crash and close.

{
            "acrylicOpacity" : 0.5,
            "background" : "#012456",
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "commandline" : "wsl.exe -d Ubuntu /bin/bash -c zsh",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Ubuntu Mono derivative Powerline",
            "fontSize" : 10,
            "guid" : "{d5ed219b-a9ca-4618-8250-d6b965766ba6}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
            "name" : "Ubuntu",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : true
        },

Expected behavior

Run wsl.exe with Powerline font in Windows Terminal.

Actual behavior

Windows Terminal crash and close.

Originally created by @kkbruce on GitHub (Sep 24, 2019). # Environment ```none Windows build number: Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Windows Terminal version (if applicable): 0.4.2382.0 Any other software? ``` # Steps to reproduce I install WSL - Ubuntu in Windows 10, want setup WSL in Windows Terminal. If change profile **fontFace** from **Consolas** to **Ubuntu Mono derivative Powerline** (https://github.com/powerline/fonts/tree/master/UbuntuMono), Windows Terminal will crash and close. ``` { "acrylicOpacity" : 0.5, "background" : "#012456", "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "wsl.exe -d Ubuntu /bin/bash -c zsh", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "Ubuntu Mono derivative Powerline", "fontSize" : 10, "guid" : "{d5ed219b-a9ca-4618-8250-d6b965766ba6}", "historySize" : 9001, "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png", "name" : "Ubuntu", "padding" : "0, 0, 0, 0", "snapOnInput" : true, "startingDirectory" : "%USERPROFILE%", "useAcrylic" : true }, ``` # Expected behavior Run wsl.exe with Powerline font in Windows Terminal. # Actual behavior Windows Terminal crash and close.
claunia added the Resolution-Duplicate label 2026-01-30 23:35:12 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Sep 24, 2019):

/feedback

@DHowett-MSFT commented on GitHub (Sep 24, 2019): /feedback
Author
Owner

@ghost commented on GitHub (Sep 24, 2019):

Hi there!

Can you please send us feedback with the Feedback Hub with this issue and paste the link here so we can more easily find your crash information on the back end?

Thanks!

image image

@ghost commented on GitHub (Sep 24, 2019): Hi there!<br><br>Can you please send us feedback with the Feedback Hub with this issue and 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/18221333/62478757-b69d0d00-b760-11e9-9626-1fa33c91e7c5.png) ![image](https://user-images.githubusercontent.com/18221333/62478649-6de55400-b760-11e9-806e-5aab7e085a9f.png)
Author
Owner

@DHowett-MSFT commented on GitHub (Sep 24, 2019):

Also, you can just use chsh to set your shell to zsh instead of starting bash just to start zsh...

@DHowett-MSFT commented on GitHub (Sep 24, 2019): Also, you can just use `chsh` to set your shell to zsh instead of starting bash _just to start zsh_...
Author
Owner

@kkbruce commented on GitHub (Sep 24, 2019):

Feedback link: https://aka.ms/AA63upg

@kkbruce commented on GitHub (Sep 24, 2019): Feedback link: https://aka.ms/AA63upg
Author
Owner

@kkbruce commented on GitHub (Sep 24, 2019):

I change use https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/DejaVuSansMono/Regular/complete font and commandline is work now.

{
            "acrylicOpacity" : 0.5,
            "background" : "#012456",
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "commandline" : "C:/Windows/System32/bash.exe -c zsh",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "DejaVuSansMono Nerd Font",
            "fontSize" : 10,
            "guid" : "{d5ed219b-a9ca-4618-8250-d6b965766ba6}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
            "name" : "Ubuntu",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : true
        },
@kkbruce commented on GitHub (Sep 24, 2019): I change use https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/DejaVuSansMono/Regular/complete font and commandline is work now. ``` { "acrylicOpacity" : 0.5, "background" : "#012456", "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "C:/Windows/System32/bash.exe -c zsh", "cursorColor" : "#FFFFFF", "cursorShape" : "bar", "fontFace" : "DejaVuSansMono Nerd Font", "fontSize" : 10, "guid" : "{d5ed219b-a9ca-4618-8250-d6b965766ba6}", "historySize" : 9001, "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png", "name" : "Ubuntu", "padding" : "0, 0, 0, 0", "snapOnInput" : true, "startingDirectory" : "%USERPROFILE%", "useAcrylic" : true }, ```
Author
Owner

@utybo commented on GitHub (Sep 24, 2019):

I can confirm that the Windows Terminal crashes when "Ubuntu Mono derivative Powerline" font is used in any terminal, not just the WSL one. Workaround is to either use the non-derivative version which works fine, or another Powerline-compatible font.

@utybo commented on GitHub (Sep 24, 2019): I can confirm that the Windows Terminal crashes when "Ubuntu Mono derivative Powerline" font is used in any terminal, not just the WSL one. Workaround is to either use the non-derivative version which works fine, or another Powerline-compatible font.
Author
Owner

@betteridiot commented on GitHub (Sep 25, 2019):

Yes, I can confirm that some of the Powerline fonts do not work, but not all of them. My suggestion is to keep trying different powerline fonts until it doesn't crash. I currently use "Noto Mono for Powerline"

@betteridiot commented on GitHub (Sep 25, 2019): Yes, I can confirm that some of the Powerline fonts do not work, but not all of them. My suggestion is to keep trying different powerline fonts until it doesn't crash. I currently use "Noto Mono for Powerline"
Author
Owner

@speedy1812 commented on GitHub (Sep 26, 2019):

I had the same problem with "Ubuntu Mono derivative Powerline" crashing the Windows Terminal. But it turns out that the Nerd Font version of Ubuntu Mono doesn't have the same problem.

@speedy1812 commented on GitHub (Sep 26, 2019): I had the same problem with "Ubuntu Mono derivative Powerline" crashing the Windows Terminal. But it turns out that the [Nerd Font version of Ubuntu Mono](https://www.nerdfonts.com/font-downloads) doesn't have the same problem.
Author
Owner

@DHowett-MSFT commented on GitHub (Oct 6, 2019):

This seems like /dup #602.

1                              32
|------------------------------|
Ubuntu Mono derivative Powerline
DejaVuSansMono Nerd Font
Noto Mono for Powerline
@DHowett-MSFT commented on GitHub (Oct 6, 2019): This seems like /dup #602. ``` 1 32 |------------------------------| Ubuntu Mono derivative Powerline DejaVuSansMono Nerd Font Noto Mono for Powerline ```
Author
Owner

@ghost commented on GitHub (Oct 6, 2019):

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 (Oct 6, 2019): 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

@tautomer commented on GitHub (Oct 23, 2019):

For my case, Menlo powerline works, Meslo falls bak to the default and Droid Sans Mono family directly crashes the terminal.

@tautomer commented on GitHub (Oct 23, 2019): For my case, Menlo powerline works, Meslo falls bak to the default and Droid Sans Mono family directly crashes the terminal.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3998