#1064438 gnome-settings-daemon: gsd-xsettings crash with older gsettings-desktop-schemas

Package:
gnome-settings-daemon
Source:
gnome-settings-daemon
Description:
daemon handling the GNOME session settings
Submitter:
Marc Glisse
Date:
2024-02-22 18:57:04 UTC
Severity:
normal
Tags:
#1064438#5
Date:
2024-02-22 08:10:53 UTC
From:
To:
Dear Maintainer,

since the update of gnome-settings-daemon to version 46 in testing,
gsd-xsettings crashes while reporting

(gsd-xsettings:5037): GLib-GIO-ERROR **: 08:45:13.336: Settings schema 'org.gnome.desktop.a11y.interface' does not contain a key named 'show-status-shapes'

The backtrace doesn't say much more

(gdb) bt
#0  g_log_structured_array (log_level=<optimized out>, fields=0x7fffffffdc20, n_fields=4) at ../../../glib/gmessages.c:556
#1  0x00007ffff732f9e2 in g_log_default_handler
    (log_domain=log_domain@entry=0x7ffff7568ecb "GLib-GIO", log_level=log_level@entry=6, message=message@entry=0x7fffe4004c80 "Settings schema 'org.gnome.desktop.a11y.interface' does not contain a key named 'show-status-shapes'", unused_data=unused_data@entry=0x0)
    at ../../../glib/gmessages.c:3284
#2  0x00007ffff732fc50 in g_logv (log_domain=0x7ffff7568ecb "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7fffffffdd70) at ../../../glib/gmessages.c:1392
#3  0x00007ffff732ff03 in g_log (log_domain=log_domain@entry=0x7ffff7568ecb "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7ffff7580ed8 "Settings schema '%s' does not contain a key named '%s'") at ../../../glib/gmessages.c:1461
#4  0x00007ffff750d5b1 in g_settings_schema_get_value (key=<optimized out>, schema=<optimized out>) at ../../../gio/gsettingsschema.c:1015
#5  g_settings_schema_get_value (schema=0x555555611220, key=0x555555561ac5 "show-status-shapes") at ../../../gio/gsettingsschema.c:1001
#6  0x00007ffff750dc37 in g_settings_schema_key_init (key=key@entry=0x7fffffffdee0, schema=0x555555611220, name=name@entry=0x555555561ac5 "show-status-shapes") at ../../../gio/gsettingsschema.c:1295
#7  0x00007ffff7511d07 in g_settings_get_value (settings=0x5555556108d0 [GSettings], key=0x555555561ac5 "show-status-shapes") at ../../../gio/gsettings.c:1224
#8  0x000055555555e379 in gsd_xsettings_manager_start (manager=0x5555555ebbe0 [GsdXSettingsManager], error=error@entry=0x7fffffffe090) at ../plugins/xsettings/gsd-xsettings-manager.c:1519
#9  0x000055555555b0f0 in main (argc=<optimized out>, argv=<optimized out>) at ../plugins/common/daemon-skeleton-gtk.h:277

The mention of "schema" led me to notice that gsettings-desktop-schemas has a newer version in unstable, and indeed upgrading that package (and the gir and dev packages that come with it) from 45.0-2 to 46~beta-3 seems to have fixed the issue.

My suggestion would be to tighten the dependency, which currently only says (>= 42~). Maybe in the very short term you could also ask if the migration of gsettings-desktop-schemas to testing can be sped up?

#1064438#8
Date:
2024-02-22 13:37:51 UTC
From:
To:
Hello,

Bug #1064438 in gnome-settings-daemon reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/gnome-settings-daemon/-/commit/53b7f0c2799d460e9480329cfe26843863d926ed
------------------------------------------------------------------------
Bump minimum gsettings-desktop-schemas to 46~beta

Closes: #1064438
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1064438