Using a soft font causes the Atlas engine to crash #15409
Labels
Area-AtlasEngine
In-PR
This issue has a related PR
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Priority-1
A description (P1)
Product-Terminal
The new Windows Terminal.
Windows Terminal version
1.18.1421.0
Windows build number
10.0.19045.2913
Other Software
No response
Steps to reproduce
printf "\eP0;1;1;4;2;1{B~~~~~~~~/~~~~~~~~\e\\"
Expected Behavior
Most characters output at this point should be reverse question marks, except for
!
which should map to a solid block.Actual Behavior
The terminal crashes. This is caused by a null pointer reference when accessing the
fontFaceEntry.fontFace
field inBackendD3D::_initializeFontFaceEntry
.terminal/src/renderer/atlas/BackendD3D.cpp
Line 1158 in c589784
Just based on a brief scan of the code, I got the impression that it's expected for the
fontFace
to be null when you have a soft font, so it may just be that this method hasn't allowed for that case. This appears to be a regression introduced in PR #15343.The text was updated successfully, but these errors were encountered: