Ghostty fails to start with freetype 2.14.0 #8581
-
Issue DescriptionGhostty fails to start when the freetype version is 2.14.0. Using the previous version (2.13.3) starts the application as expected. OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.2.2-cachyos1.3 Expected BehaviorGhostty launches. Actual BehaviorGhostty crashes. Reproduction Steps
Ghostty Logs
Ghostty Version
OS Version InformationCachyOS (Linux 6.16.5-2-cachyos) (Linux only) Display ServerWayland (Linux only) Desktop Environment/Window ManagerGNOME 48.4 Minimal Ghostty Configuration# default configuration Additional Relevant ConfigurationNo response I acknowledge that:
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
Is freetype 2.14 what the rest of your system is using? Mixing/matching freetype versions (esp major versions) on a system can cause problems because of ABI changes as structures are passed around. |
Beta Was this translation helpful? Give feedback.
-
I'm running into this (or a very similar) issue.
This was working pre-upgrade, the font is installed and correct. Indeed, if I downgrade
Then Ghostty will launch fine, again. |
Beta Was this translation helpful? Give feedback.
-
Can either one of you compile a debug version and try that to see if we get anything more? The errors are not very specific. |
Beta Was this translation helpful? Give feedback.
-
Bizarrely, Ghostty launches just fine as a debug build, but I've attached the output in case it does shed any light |
Beta Was this translation helpful? Give feedback.
-
Hah, this seems to be fixed, even without a debug build. As I re-upgraded freetype2 to test
It now just works. Note that this is This is the commit upstream: https://gitlab.archlinux.org/archlinux/packaging/packages/freetype2/-/commit/d7fffd7bdfa730d79d607c1d35f67523d961325e Seems to reference some variable font-related things, which is in line with what I'm using. |
Beta Was this translation helpful? Give feedback.
-
This appears to be the upstream freetype issue. They have a patch for it, but have not cut a new release. Hopefully distros will pull in that patch when they upgrade to 2.14. If a large number of people are affected though we may look at implementing a workaround in Ghostty. https://gitlab.freedesktop.org/freetype/freetype/-/issues/1355 |
Beta Was this translation helpful? Give feedback.
This appears to be the upstream freetype issue. They have a patch for it, but have not cut a new release. Hopefully distros will pull in that patch when they upgrade to 2.14. If a large number of people are affected though we may look at implementing a workaround in Ghostty.
https://gitlab.freedesktop.org/freetype/freetype/-/issues/1355