FcPatternHash will segfault
I have some code in pango that was mysteriously sometimes segfaulting.
It turns out that calling FcPatternHash is only safe if you first called some other api that managed to run FcValueCanonicalize on all values as a side effect.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information