Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786573 - gnome-base/gdm "Something went wrong screen" because x11-wm/mutter-3.38 is incompatible with gnome-base/gsettings-desktop-schemas-40
Summary: gnome-base/gdm "Something went wrong screen" because x11-wm/mutter-3.38 is in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 786963 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-28 23:33 UTC by Alexandra Parker
Modified: 2021-05-01 03:25 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandra Parker 2021-04-28 23:33:17 UTC
mutter-40 is compatible with gsettings-desktop-schemas-40, but mutter-40 is masked. Running mutter-3.38 with  gsettings-desktop-schemas-40 results in GDM displaying the "Something went wrong" screen and logs like this in the journal:

Apr 28 15:51:04 dalek.local gnome-shell[4141785]: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'hinting'
Apr 28 15:51:04 dalek.local kernel: traps: gnome-shell[4141785] trap int3 ip:734a6bca5d9c sp:7ffc25e53bd0 error:0 in libglib-2.0.so.0.6800.1[734a6bc55000+b8000]
Apr 28 15:51:04 dalek.local systemd[1]: Started Process Core Dump (PID 4141791/UID 0).

(The trap is generated by glib's logging code when a fatal event is logged.)

I'm pinning this on mutter because of the backtrace:

#0  _g_log_abort (breakpoint=1) at ../glib-2.68.1/glib/gmessages.c:559
#1  0x0000734a6bca7c62 in g_log_structured_array (log_level=G_LOG_LEVEL_ERROR, fields=0x7ffc25e53c80, n_fields=4) at ../glib-2.68.1/glib/gmessages.c:1970
#2  0x0000734a6bca9c59 in g_log_default_handler
    (log_domain=0x734a6bfddf8e "GLib-GIO", log_level=6, message=0x5a0caecc78f0 "Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'hinting'", unused_data=0x0) at ../glib-2.68.1/glib/gmessages.c:3236
#3  0x0000734a6bca6f24 in g_logv
    (log_domain=0x734a6bfddf8e "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=0x734a6bfde160 "Settings schema '%s' does not contain a key named '%s'", args=0x7ffc25e54200)
    at ../glib-2.68.1/glib/gmessages.c:1382
#4  0x0000734a6bca70e2 in g_log (log_domain=0x734a6bfddf8e "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=0x734a6bfde160 "Settings schema '%s' does not contain a key named '%s'")
    at ../glib-2.68.1/glib/gmessages.c:1451
#5  0x0000734a6bf3c382 in g_settings_schema_get_value (schema=0x734a4c009e80, key=0x734a6b289066 "hinting") at ../glib-2.68.1/gio/gsettingsschema.c:986
#6  0x0000734a6bf3cb35 in g_settings_schema_key_init (key=0x7ffc25e543a0, schema=0x734a4c009e80, name=0x734a6b289066 "hinting") at ../glib-2.68.1/gio/gsettingsschema.c:1266
#7  0x0000734a6bf42dbe in g_settings_get_enum (settings=0x734a4c009f00 [GSettings], key=0x734a6b289066 "hinting") at ../glib-2.68.1/gio/gsettings.c:1365
#8  0x0000734a6b23d208 in get_font_gsettings () at /usr/lib64/mutter-7/libmutter-clutter-7.so.0
#9  0x0000734a6b23dcd7 in _clutter_settings_set_backend () at /usr/lib64/mutter-7/libmutter-clutter-7.so.0
#10 0x0000734a6b228213 in _clutter_context_get_default () at /usr/lib64/mutter-7/libmutter-clutter-7.so.0
#11 0x0000734a6b229730 in clutter_init () at /usr/lib64/mutter-7/libmutter-clutter-7.so.0
#12 0x0000734a6b045926 in meta_backend_initable_init () at /usr/lib64/libmutter-7.so.0
#13 0x0000734a6be92f34 in g_initable_init (initable=0x5a0caec4c1e0, cancellable=0x0, error=0x7ffc25e54590) at ../glib-2.68.1/gio/ginitable.c:128
#14 0x0000734a6b046574 in meta_init_backend () at /usr/lib64/libmutter-7.so.0
#15 0x0000734a6b0adbc7 in meta_init () at /usr/lib64/libmutter-7.so.0
#16 0x00005a0cae17c582 in main ()

This commit talks about the change (the 'hinting' key was moved in gsettings-deskop-schemas-40):

https://gitlab.gnome.org/GNOME/mutter/-/commit/ff43eb87456bdcc378a997147b8b42eaad5170c1

I guess gsettings-desktop-schemas-40 should be masked? Or is mutter-40 soon to be unmasked?

Reproducible: Always

Steps to Reproduce:
1. Merge x11-wm/mutter-3.38 and gnome-base/gsettings-deskop-schemas-40
2. Start gdm
Actual Results:  
"Something went wrong" screen displayed. Sigtrap in logs, core dump available in coredumpctl.

Expected Results:  
The login screen should appear.

Portage 3.0.18 (python 3.9.4-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-11.1.0, glibc-2.33, 5.12.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.12.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-glibc2.33
KiB Mem:    16362364 total,   5635520 free
KiB Swap:   16777212 total,  16761340 free
Timestamp of repository gentoo: Wed, 28 Apr 2021 22:05:25 +0000
Head commit of repository gentoo: f53be46d0668de0591cc95fabf4c50916741a1e3

Head commit of repository xandris: 930580171cfd3774c6c1937a578151f9899e7ee4

sh bash 5.1_p4
ld GNU ld (Gentoo 2.36.1 p3) 2.36.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.2.1 [enabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.9::gentoo, 3.9.4::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/ccache:          4.2.1::gentoo
dev-util/cmake:           3.20.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r2::gentoo
sys-apps/sandbox:         2.23::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r1::gentoo
sys-devel/gcc:            11.1.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    sync-user: portage:portage
    priority: -1000
    sync-git-verify-commit-signature: true

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

xandris
    location: /var/db/repos/xandris
    sync-type: git
    sync-uri: https://github.com/xandris/overlay.git
    sync-user: portage:portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -pipe  -march=ivybridge -mtune=ivybridge -maes   -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/grs/systems.conf /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/ossec/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -pipe  -march=ivybridge -mtune=ivybridge -maes   -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto "
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="     --jobs=3     --load-average=8.1     --keep-going     --quiet-fail y     --quiet-repo-display "
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance ccache cgroup clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://gentoo.gossamerhost.com/gentoo-distfiles/ ftp://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-O2 -pipe -pipe  -march=ivybridge -mtune=ivybridge -maes   -O3 -fgcse-sm -fgcse-las -fgraphite -fgraphite-identity -floop-nest-optimize -ftree-vectorize -fvariable-expansion-in-unroller -fstack-protector-strong -fno-lto  -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed,-z,now -fno-lto"
LINGUAS="en ja"
MAKEOPTS="-j9 -l7"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acoustid acpi alsa amd64 ao archive audiofile avahi berkdb bluetooth branding bzip2 cairo cdda cddb cdr cjk cli colord crypt cups curl dbus dc1394 dri dts dvd dvdr eds emboss encode evo exif faac faad firefox flac fortran fuse gdbm gif gnome gnome-keyring gnome-online-accounts gnutls gphoto2 gpm gstreamer gtk gtkhtml gui iconv icu ieee1394 introspection ipv6 jpeg jpeg2k lcms leim libglvnd libnotify libsamplerate libsecret libtirpc libv4l lm_sensors lzma mad matroska mikmod mmap mng modplug mp3 mp4 mpeg multilib musepack nautilus ncurses networkmanager nls nptl offensive ogg opengl openmp pam pango pcre pdf png policykit postproc ppds pulseaudio qt5 readline samba schroedinger sdl seccomp slang sndfile speex spell split-usr ssl startup-notification svg sysprof systemd tcpd theora threads tiff tracker truetype udev udisks unicode upnp upower usb v4l vaapi vdpau vorbis vpx winbind wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2018" APACHE2_MODULES="actions alias auth_digest authn_anon authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir env expires ext_filter file_cache filter headers ident include info log_config logio mime mime_magic negotiation proxy proxy_http rewrite setenvif status authn_core authz_core unixd socache_shmcb slotmem_shm" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF NVPTX WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby30 ruby27" USERLAND="GNU" VIDEO_CARDS="vga vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

x11-wm/mutter-3.38.4-r1::gentoo was built with the following:
USE="introspection sysprof systemd udev (-elogind) -screencast -test -wayland" ABI_X86="(64)" INPUT_DEVICES="-wacom"
FEATURES="unknown-features-warn config-protect-if-modified parallel-install binpkg-multi-instance preserve-libs sfperms qa-unresolved-soname-deps sandbox usersync xattr fixlafiles binpkg-logs compressdebug ebuild-locks userpriv unmerge-logs assume-digests ipc-sandbox clean-logs binpkg-dostrip unmerge-orphans userfetch binpkg-docompress splitdebug multilib-strict merge-sync strict news cgroup parallel-fetch protect-owned usersandbox distlocks ccache"


gnome-base/gsettings-desktop-schemas-40.0::gentoo was built with the following:
USE="introspection" ABI_X86="(64)"
Comment 1 Alexandra Parker 2021-04-28 23:47:12 UTC
adding this to my package.mask seems to fix gdm at least:

>=gnome-base/gsettings-desktop-schemas-40
>=gnome-base/gnome-settings-daemon-40
Comment 2 Kamen Dokov 2021-04-29 06:45:15 UTC
(In reply to Alexandra Parker from comment #1)
> adding this to my package.mask seems to fix gdm at least:
> 
> >=gnome-base/gsettings-desktop-schemas-40
> >=gnome-base/gnome-settings-daemon-40

Yes,this bug is a nasty surprise!
Your solution worked for me, thanx!
Comment 3 ricardompcampos 2021-04-29 10:54:42 UTC
Hello! I'm seeing this exact screen. At the messages log file I have:

Apr 28 22:18:19 larry kernel: traps: gnome-shell[2387] trap int3 ip:7f2751eacc65 sp:7ffe2046e000 error:0 in libglib-2.0.so.0.6800.1[7f2751e71000+88000]

Could that be related to this same bug?
Comment 4 Alexandra Parker 2021-04-29 15:16:24 UTC
(In reply to ricardompcampos from comment #3)
> Hello! I'm seeing this exact screen. At the messages log file I have:
> 
> Apr 28 22:18:19 larry kernel: traps: gnome-shell[2387] trap int3
> ip:7f2751eacc65 sp:7ffe2046e000 error:0 in
> libglib-2.0.so.0.6800.1[7f2751e71000+88000]
> 
> Could that be related to this same bug?

probably, but to be sure, look for this log line right before the trap:

Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'hinting'
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-29 19:17:00 UTC
*** Bug 786963 has been marked as a duplicate of this bug. ***
Comment 6 grixfosforito 2021-04-29 19:38:54 UTC
(In reply to Alexandra Parker from comment #1)
> adding this to my package.mask seems to fix gdm at least:
> 
> >=gnome-base/gsettings-desktop-schemas-40
> >=gnome-base/gnome-settings-daemon-40

I have the same error when installing >=gnome-base/gnome-settings-daemon-40 in my system. However, I have =gnome-base/gsettings-desktop-schemas-40.0 installed, and it will allow to start gdm and gnome-shell normally.
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-29 19:48:41 UTC
I can confirm the problem, masking >=gnome-base/gnome-settings-daemon-40 is enough in my case.
Comment 8 Larry the Git Cow gentoo-dev 2021-04-30 01:44:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5cc1c9fe62ef9297671af0bfd3015964c626d5b

commit e5cc1c9fe62ef9297671af0bfd3015964c626d5b
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-30 01:41:05 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-30 01:44:36 +0000

    profiles: Mask >=gnome-base/gnome-settings-daemon-40
    
    Closes: https://bugs.gentoo.org/786573
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/package.mask | 4 ++++
 1 file changed, 4 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-05-01 03:25:27 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39a73d4b7c58b445a9da15446ba96af83eb8050d

commit 39a73d4b7c58b445a9da15446ba96af83eb8050d
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-05-01 03:23:53 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-05-01 03:23:53 +0000

    profiles: Unmask >=gnome-base/gnome-settings-daemon-40
    
    Now that gdm-40 is in tree, this is safe to unmask.
    
    Bug: https://bugs.gentoo.org/786573
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/package.mask | 4 ----
 1 file changed, 4 deletions(-)