Setting font crashes Terminal on startup #23938

Open
opened 2026-01-31 08:56:46 +00:00 by claunia · 2 comments
Owner

Originally created by @carlos-zamora on GitHub (Jan 5, 2026).

Originally assigned to: @carlos-zamora on GitHub.

Windows Terminal version

1.23.13503.0 (presumably)

Windows build number

No response

Other Software

CaskaydiaCove Nerd Font Mono

Steps to reproduce

Set defaults.font.face to CaskaydiaCove Nerd Font Mono

Expected Behavior

New font should be used. No crash.

Actual Behavior

Crash on startup. If added at runtime, the font renders, but then if I close and reopen terminal, it crashes.

Reported to me by @shanselman via Teams

Originally created by @carlos-zamora on GitHub (Jan 5, 2026). Originally assigned to: @carlos-zamora on GitHub. ### Windows Terminal version 1.23.13503.0 (presumably) ### Windows build number _No response_ ### Other Software CaskaydiaCove Nerd Font Mono ### Steps to reproduce Set `defaults.font.face` to `CaskaydiaCove Nerd Font Mono` ### Expected Behavior New font should be used. No crash. ### Actual Behavior Crash on startup. If added at runtime, the font renders, but then if I close and reopen terminal, it crashes. Reported to me by @shanselman via Teams
Author
Owner

@lhecker commented on GitHub (Jan 5, 2026):

If added at runtime, the font renders, but then if I close and reopen terminal, it crashes.

Sounds like a DirectWrite issue. Did we get a crash dump?

@lhecker commented on GitHub (Jan 5, 2026): > If added at runtime, the font renders, but then if I close and reopen terminal, it crashes. Sounds like a DirectWrite issue. Did we get a crash dump?
Author
Owner

@DHowett commented on GitHub (Jan 14, 2026):

0 Microsoft_Terminal_Control!winrt::impl::produce_winrt::Microsoft::Terminal::Control::implementation::ControlCore,winrt::Microsoft::Terminal::Control::IControlCore_::Initialize 0x000000000000027C Microsoft.Terminal.Control.h 2557
1 Microsoft_Terminal_Control!winrt::impl::consume_Microsoft_Terminal_Control_IControlCore_winrt::Microsoft::Terminal::Control::IControlCore_::Initialize 0x000000000000003C Microsoft.Terminal.Control.h 145
2 Microsoft_Terminal_Control!winrt::Microsoft::Terminal::Control::implementation::TermControl::_InitializeTerminal 0x00000000000002E4 TermControl.cpp 1356
3 Microsoft_Terminal_Control!winrt::Microsoft::Terminal::Control::implementation::TermControl::{ctor}::_l2::lambda_2::operator 0x000000000000000C TermControl.cpp 331
4 Microsoft_Terminal_Control!winrt::impl::delegate_winrt::Windows::Foundation::EventHandler_winrt::Windows::Foundation::IInspectable
,winrt::Microsoft::Terminal::Control::implementation::TermControl::TermControl'::2'::lambda_2 _::Invoke 0x0000000000000098

INTEGER_DIVIDE_BY_ZERO during control core init. That ain't right.

@DHowett commented on GitHub (Jan 14, 2026): 0 Microsoft_Terminal_Control!winrt::impl::produce_winrt::Microsoft::Terminal::Control::implementation::ControlCore,winrt::Microsoft::Terminal::Control::IControlCore_::Initialize 0x000000000000027C Microsoft.Terminal.Control.h 2557 1 Microsoft_Terminal_Control!winrt::impl::consume_Microsoft_Terminal_Control_IControlCore_winrt::Microsoft::Terminal::Control::IControlCore_::Initialize 0x000000000000003C Microsoft.Terminal.Control.h 145 2 Microsoft_Terminal_Control!winrt::Microsoft::Terminal::Control::implementation::TermControl::_InitializeTerminal 0x00000000000002E4 TermControl.cpp 1356 3 Microsoft_Terminal_Control!winrt::Microsoft::Terminal::Control::implementation::TermControl::{ctor}::__l2::_lambda_2_::operator 0x000000000000000C TermControl.cpp 331 4 Microsoft_Terminal_Control!winrt::impl::delegate_winrt::Windows::Foundation::EventHandler_winrt::Windows::Foundation::IInspectable_,`winrt::Microsoft::Terminal::Control::implementation::TermControl::TermControl'::`2'::_lambda_2_ _::Invoke 0x0000000000000098 INTEGER_DIVIDE_BY_ZERO during control core init. That ain't right.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23938