Bug 2231730

Summary: GNOME Shell immediately dies on login
Product: [Fedora] Fedora Reporter: James <james>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: adscvr, fmuellner, gnome-sig, jadahl, otaylor, philip.wyett
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Full backtrace data none

Description James 2023-08-13 16:23:26 UTC
Created attachment 1983197 [details]
Full backtrace data

Description of problem:
After upgrading to Fedora 39 (pre-beta, as of 2023-08-12), I'm unable to log into GNOME Shell on this laptop. It seems to be dying immediately with SIGTRAP. Cleaning out the user settings directories doesn't help. (KDE works OK.)

Version-Release number of selected component (if applicable):
gnome-shell-45~beta.1-1.fc39.x86_64
mutter-45~beta.1-1.fc39.x86_64

How reproducible:
Consistently on this particular machine.

Steps to Reproduce:
1. Upgrade to F39.
2. Attempt to log in to a GNOME Wayland session.

Actual results:
Dumped back to login screen.

Expected results:
GNOME session.

Additional info:
Top of the backtrace (full details attached):

Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=5, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc-2.38-1.fc39.x86_64/nptl/pthread_kill.c...
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7f4608ff6640 (LWP 2620))]

Thread 1 (Thread 0x7f4608ff6640 (LWP 2620)):
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=5, no_tid=no_tid@entry=0) at pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {94792878631312}}
        ret = <optimized out>
#1  0x00007f460e490893 in __pthread_kill_internal (signo=5, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f460e43e8ee in __GI_raise (sig=sig@entry=5) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#3  0x00005636ae779b76 in dump_gjs_stack_on_signal_handler (signo=5) at ../src/main.c:467
        sa = {__sigaction_handler = {sa_handler = 0x5636ae7799c0 <dump_gjs_stack_alarm_sigaction>, sa_sigaction = 0x5636ae7799c0 <dump_gjs_stack_alarm_sigaction>}, sa_mask = {__val = {0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
        i = <optimized out>
#4  0x00007f460e43e9a0 in <signal handler called> () at /lib64/libc.so.6
#5  g_log_structured_array (log_level=log_level@entry=G_LOG_LEVEL_ERROR, fields=fields@entry=0x7ffccedf8f90, n_fields=4) at ../glib/gmessages.c:555

Comment 1 Jonas Ådahl 2023-08-14 13:26:30 UTC
> Settings schema 'org.gnome.mutter.wayland' does not contain a key named 'xwayland-allow-byte-swapped-clients'

Looks like something went wrong when upgrading/installing - try reinstalling `mutter`.

Comment 2 James 2023-08-15 20:10:14 UTC
(In reply to Jonas Ådahl from comment #1)
> > Settings schema 'org.gnome.mutter.wayland' does not contain a key named 'xwayland-allow-byte-swapped-clients'
> 
> Looks like something went wrong when upgrading/installing - try reinstalling
> `mutter`.

No luck after doing a dnf reinstall mutter. xwayland-allow-byte-swapped-clients is present in /usr/share/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml but doesn't appear in dconf-editor when I look for it.

glib2-2.77.2-1.fc39.x86_64
dconf-0.40.0-9.fc39.x86_64

Comment 3 Jonas Ådahl 2023-08-15 20:13:17 UTC
Doing

cd /usr/share/glib-2.0/schemas
glib-compile-schemas .

might help, but should really be something that I'd expect to be handled automatically.

Comment 4 James 2023-08-15 20:17:27 UTC
(In reply to Jonas Ådahl from comment #3)
> Doing
> 
> cd /usr/share/glib-2.0/schemas
> glib-compile-schemas .
> 
> might help, but should really be something that I'd expect to be handled
> automatically.

Still no change. I wish I knew what was different about this particular machine compared to another my other F39 test machine that's working fine. Might just have to wipe it and start again :(

Comment 5 Jonas Ådahl 2023-08-15 21:34:00 UTC
Does it log any warnings when you run the `glib compile schemas .` command?

Comment 6 James 2023-08-15 21:39:01 UTC
(In reply to Jonas Ådahl from comment #5)
> Does it log any warnings when you run the `glib compile schemas .` command?

# glib-compile-schemas .
Warning: Schema “org.freedesktop.ibus” has path “/desktop/ibus/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.freedesktop.ibus.general” has path “/desktop/ibus/general/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.freedesktop.ibus.general.hotkey” has path “/desktop/ibus/general/hotkey/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.freedesktop.ibus.panel” has path “/desktop/ibus/panel/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.freedesktop.ibus.panel.emoji” has path “/desktop/ibus/panel/emoji/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.crypto.cache” has path “/desktop/gnome/crypto/cache/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.crypto.pgp” has path “/desktop/gnome/crypto/pgp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.glabels-3” has path “/apps/glabels-3/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.glabels-3.ui” has path “/apps/glabels-3/ui/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.glabels-3.locale” has path “/apps/glabels-3/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.glabels-3.objects” has path “/apps/glabels-3/objects/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.glabels-3.history” has path “/apps/glabels-3/history/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.seahorse” has path “/apps/seahorse/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.seahorse.manager” has path “/apps/seahorse/listing/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
No such key “picture-uri-dark” in schema “org.gnome.desktop.screensaver” as specified in override file “./10_org.gnome.desktop.screensaver.fedora.gschema.override”; ignoring override for this key.