Crash on GStreamer 1.20.x x86_64 MSVC + MS-Windows due to libfontconfig fonts.conf file invalid.
When using the provided MS-Windows MSVC x86_64 .msi installer, the installed etc/fonts.conf
fontconfig main configuration file is corrupt - containing invalid XML markup due to missing <dir>
elements in the font search path spec, causing a crash of the application as soon as it tries to initialize the fontconfig library bundled with GStreamer 1.20.x. The fix for that problem is likely fontconfig/fontconfig@10c7390e and according to https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/1.20/subprojects/fontconfig.wrap , that fix should have been included in GStreamer 1.20 MSI packages, but for some reason it wasn't? Maybe the fontconfig dependency wasn't fully rebuilt when generating the .msi packages via meson?
Note: A new fontconfig 2.14.0 release might be a good way to not only fix this bug, but also to get the ability to find user-installed fonts, due to this commit fontconfig/fontconfig@55eb1ef8
If possible I'd like also ask for a backport of the fix for the crash due to invalid fonts.conf to the 1.20 series if more bug fix releases for 1.20 are planned.
Thanks,
-mario