Ghostty crashes when the system has a font with null display name #13262
Unanswered
BasixKOR
asked this question in
Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
Before all, for transparency: All of the diagnosing work was done by Fable 5 on Claude Code. I'm writing this based on what Fable reported to me.
So I have been having a pretty weird issue. When I use Claude Code, at some point in time Ghostty crashes. The exact trigger was very unclear and sometimes I was able to get an answer from it but I wasn't able to use it more than a few turns.
I figured I could ask Fable to debug this and it found that when a font with no display name is installed on system, Ghostty fails when it tries to list out the system fonts. Fable pointed this down to
font.DeferredFace.namebeing null. Turns out my font manager had some fonts installed to my Mac, which had a invalid name field.Crash details
Expected Behavior
ghostty +list-fontsshould not crash when a font with a display name set to null.Actual Behavior
It crashes.
Reproduction Steps
ghostty +list-fontsGhostty Logs
Ghostty Version
OS Version Information
macOS 26.5.1 (25F80)
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.All reactions