Kompozer snap crashes on Fedora 32


Running kompozer snap in Fedora 32 (KDE - if that matters) doesn’t work. In the terminal I get these errors:

kompozer
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement

(process:1017950): Gtk-WARNING **: 10:22:01.085: Locale not supported by C library.
Using the fallback ‘C’ locale.
Fontconfig warning: “/etc/fonts/fonts.conf”, line 5: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/fonts.conf”, line 6: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/fonts.conf”, line 6: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/fonts.conf”, line 6: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/fonts.conf”, line 7: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/fonts.conf”, line 7: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/fonts.conf”, line 9: unknown element “description”
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
fish: “kompozer” terminated by signal SIGSEGV (Address boundary error)

Thanks for the report and sorry for the trouble. We try to speed up the snap startup time by reusing the font cache files form the host, however for certain combinations of the host and snap version of the fontconfig libraries, this apparently causes instability, even though the artifacts generated by the library should be compatible.

There is a PR to snapd with a fix which will temporarily mask the problem at the cost of the startup time. It should be included in 2.45. All this until a better solution is implemented.

Thank you for the explanation.

Is this related to the reason I get squares instead of text in some snap applications?

As far as we can tell, it’s related.