Specifying a font to be used in profile that does not exist causes the app the crash #807

Closed
opened 2026-01-30 22:04:56 +00:00 by claunia · 3 comments
Owner

Originally created by @nshanny on GitHub (May 8, 2019).

Originally assigned to: @miniksa on GitHub.

I added a new profile to the profiles.json specifying a font that is not installed on my system. When attempting to start the profile the app crashes with the following:

The program '[15980] WindowsTerminal.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.

Specifying a font that is installed causes the problem to not occur.

The profile definition looks like this:

    {
      "guid": "{e2f9d7d6-369b-4841-9429-61f5b38474cf}",
      "name": "Bash",
      "colorscheme": "Campbell",
      "historySize": 9001,
      "snapOnInput": true,
      "cursorColor": "#FFFFFF",
      "cursorShape": "bar",
      "commandline": "bash.exe",
      "fontFace": "Fira Code",
      "fontSize": 12,
      "acrylicOpacity": 0.5,
      "useAcrylic": false,
      "closeOnExit": true,
      "padding": "0, 0, 0, 0"
    }

Originally created by @nshanny on GitHub (May 8, 2019). Originally assigned to: @miniksa on GitHub. I added a new profile to the profiles.json specifying a font that is not installed on my system. When attempting to start the profile the app crashes with the following: > The program '[15980] WindowsTerminal.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'. Specifying a font that is installed causes the problem to not occur. The profile definition looks like this: ``` { "guid": "{e2f9d7d6-369b-4841-9429-61f5b38474cf}", "name": "Bash", "colorscheme": "Campbell", "historySize": 9001, "snapOnInput": true, "cursorColor": "#FFFFFF", "cursorShape": "bar", "commandline": "bash.exe", "fontFace": "Fira Code", "fontSize": 12, "acrylicOpacity": 0.5, "useAcrylic": false, "closeOnExit": true, "padding": "0, 0, 0, 0" } ```
Author
Owner

@ryzngard commented on GitHub (Jun 13, 2019):

Similar to this, specifying a large font name seems to crash as well. I used "Ubuntu Mono derivative Powerline" and it crashes, although the font is installed.

@ryzngard commented on GitHub (Jun 13, 2019): Similar to this, specifying a large font name seems to crash as well. I used "Ubuntu Mono derivative Powerline" and it crashes, although the font is installed.
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 13, 2019):

That one is #602.

@DHowett-MSFT commented on GitHub (Jun 13, 2019): That one is #602.
Author
Owner

@ghost commented on GitHub (Aug 3, 2019):

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

Handy links:

@ghost commented on GitHub (Aug 3, 2019): :tada:This issue was addressed in #2153, which has now been successfully released as `Windows Terminal Preview v0.3.2142.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.3.2142.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#807