Gnome backwards incompatibility setting leads to core dump
Affected version
- Ubuntu 22.04.4 LTS (from a binary compiled under Rocky Linux 8.9)
- GNOME Shell 42.9
- Wayland issue only
- No extensions installed
Bug summary
My C++ application binaries:
https://github.com/ggarra13/mrv2/releases
which is built on Rocky Linux 8.9 for compatibility with most distros, runs into a Gnome settings incompatibility when run, for example, under Ubuntu 22.04.4 LTS. The bug is that not only it prints a warning (which would be fine), but it dumps core:
(mrv2:540344): GLib-GIO-ERROR **: 20:47:45.978: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing' Trace/breakpoint trap (core dumped)
Steps to reproduce
- Download the Linux binary from the above location.
- Run it on a modern distro (Ubuntu 22.04.4 LTS exhibits the problem).
What happened
It printed a warning and dumped core.
What did you expect to happen
Not dump core. And ideally, not print a warning.
Relevant logs, screenshots, screencasts etc.
The bug can be worked around on Ubuntu 22.04.4 LTS with this ugly hack:
sudo cp /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml.bad
sudo nano /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml
(remove lines 19 and 20)
< </schema>
< <schema id="org.gnome.settings-daemon.plugins.xsettings.deprecated">
sudo glib-compile-schemas /usr/share/glib-2.0/schemas