• Bug#1064438: gnome-settings-daemon: gsd-xsettings crash with older gset

    From Marc Glisse@21:1/5 to All on Thu Feb 22 09:30:02 2024
    Package: gnome-settings-daemon
    Version: 46~beta-1
    Severity: important

    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?

    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing-debug
    APT policy: (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable'), (50, 'unstable-debug'), (50, 'unstable'), (1, 'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.6.15-amd64 (SMP w/16 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages gnome-settings-daemon depends on:
    ii gnome-settings-daemon-common 46~beta-1
    ii gsettings-desktop-schemas 46~beta-3
    ii libasound2 1.2.10-3
    ii libc6 2.37-15
    ii libcairo2 1.18.0-1+b1
    ii libcanberra-gtk3-0 0.30-11
    ii libcanberra0 0.30-11
    ii libcolord2 1.4.7-1
    ii libcups2 2.4.7-1+b1
    ii libfontconfig1 2.14.2-6+b1
    ii libgck-1-0 3.41.1-4
    ii libgcr-base-3-1 3.41.1-4
    ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-3+b1
    ii libgeoclue-2-0 2.7.1-2
    ii libgeocode-glib-2-0 3.26.3-6+b1
    ii libglib2.0-0 2.78.4-1
    ii libgnome-desktop-3-20 44.0-2+b1
    ii libgtk-3-0 3.24.41-1
    ii libgudev-1.0-0 238-3
    ii libgweather-4-0 4.4.0-1
    ii libmm-glib0 1.22.0-3
    ii libnm0 1.44.2-7
    ii libnotify4 0.8.3-1
    ii libp11-kit0 0.25.3-4
    ii libpam-systemd [logind] 255.3-2
    ii libpango-1.0-0 1.51.0+ds-4
    ii libpangocairo-1.0-0 1.51.0+ds-4
    ii libpolkit-gobject-1-0 124-1
    ii libpulse-mainloop-glib0 16.1+dfsg1-3
    ii libpulse0 16.1+dfsg1-3
    ii libspa-0.2-bluetooth 1.0.3-1
    ii libsystemd0 255.3-2
    ii libupower-glib3 1.90.2-8
    ii libwacom9 2.9.0-2
    ii libwayland-client0 1.22.0-2.1+b1
    ii libx11-6 2:1.8.7-1
    ii libxext6 2:1.3.4-1+b1
    ii libxfixes3 1:6.0.0-2
    ii libxi6 2:1.8.1-1
    ii pipewire-audio 1.0.3-1

    Versions of packages gnome-settings-daemon recommends:
    ii iio-sensor-proxy 3.5-1+b1
    ii pipewire-audio 1.0.3-1
    ii pkexec 124-1
    ii x11-xserver-utils 7.7+10

    Versions of packages gnome-settings-daemon suggests:
    pn usbguard <none>

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)