https://bugzilla.redhat.com/show_bug.cgi?id=2164233
--- Comment #7 from Byoungchan Lee byoungchan.lee@gmx.com --- If I modify openttd to force the use of X11, it works fine.
``` SDL_SetHint(SDL_HINT_VIDEODRIVER, "x11"); ```
It also works fine when I remove FcFini function calls from openttd.
I ran gdb to understand what happened with the fontconfig call, and I attached the result. When SDL2 uses Wayland, Pango is also used, which uses fontconfig. By the way, I discovered that Pango calls FcInit but not FcFini. Also, FcInit is called from a thread other than the main thread, whereas openttd proceeds with all fontconfig-related function call on the main thread.