Crash with SIGSEGV in `g_rw_lock_get_impl` via `update_internal_xkb_state` due to `seat_impl` being NULL on startup
Affected version
- Fedora 39
- GNOME 45.2 (
gnome-shell-45.2-1.fc39.x86_64
) - Wayland only
- Happens with all extensions disabled, too
Bug summary
When trying to log in to GNOME (on Wayland session) from GDM, I get returned to the GDM login screen almost immediately. Upon investigation in a working GNOME on Xorg session, it turns out that gnome-shell crashes with SIGSEGV. This looks similar to #7309 (moved) .
Steps to reproduce
Log in to GNOME (on Wayland) session.
What happened
GNOME Shell crashes.
What did you expect to happen
Session is launched successfully.
Relevant logs, screenshots, screencasts etc.
Relevant backtrace from downstream report [added by @skeller]:
Input thread:
Thread 1 (Thread 0x7f18f4ff96c0 (LWP 7094)):
#0 0x00007f195fb96b84 in g_rw_lock_get_impl (lock=0x78) at ../glib/gthread-posix.c:468
gapg_temp_newval = <optimized out>
gapg_temp_atomic = 0x78
impl = <optimized out>
retval = <optimized out>
#1 g_rw_lock_writer_lock (rw_lock=0x78) at ../glib/gthread-posix.c:554
retval = <optimized out>
#2 0x00007f195f783003 in update_internal_xkb_state (device=device@entry=0x5584a49b10e0, new_latched_mask=new_latched_mask@entry=0, new_locked_mask=new_locked_mask@entry=0) at ../src/backends/native/meta-input-device-native.c:491
seat_impl = 0x0
depressed_mods = <optimized out>
latched_mods = <optimized out>
locked_mods = <optimized out>
group_mods = <optimized out>
xkb_state = <optimized out>
#3 0x00007f195f783696 in meta_input_device_native_apply_kbd_a11y_settings_in_impl (device=0x5584a49b10e0, settings=0x7f18f4ff7ee0) at ../src/backends/native/meta-input-device-native.c:1275
changed_flags = META_A11Y_KEYBOARD_ENABLED
#4 0x00007f195f7aed02 in evdev_add_device (libinput_device=0x7f18d0073e40, seat_impl=<optimized out>) at ../src/backends/native/meta-seat-impl.c:1708
kbd_a11y_settings = {controls = META_A11Y_KEYBOARD_ENABLED, slowkeys_delay = 300, debounce_delay = 300, timeout_delay = 200, mousekeys_init_delay = 300, mousekeys_max_speed = 10, mousekeys_accel_time = 300}
keyboard_native = 0x5584a49b10e0
type = <optimized out>
device = 0x7f18d008e6e0
is_touchscreen = 0
is_tablet_switch = <optimized out>
is_pointer = <optimized out>
device = <optimized out>
device_event = 0x0
libinput_device = 0x7f18d0073e40
input_settings = 0x7f18d00014a0
event = 0x7f18d0078710
CoglTraceMetaSeatImplProcessEvents = {begin_time = 0, name = 0x0, description = 0x0}
ScopedCoglTraceMetaSeatImplProcessEvents = <optimized out>
#5 process_base_event (event=0x7f18d0078710, seat_impl=0x5584a49ae8e0) at ../src/backends/native/meta-seat-impl.c:1766
device = <optimized out>
device_event = 0x0
libinput_device = 0x7f18d0073e40
input_settings = 0x7f18d00014a0
event = 0x7f18d0078710
CoglTraceMetaSeatImplProcessEvents = {begin_time = 0, name = 0x0, description = 0x0}
ScopedCoglTraceMetaSeatImplProcessEvents = <optimized out>
#6 process_event (event=0x7f18d0078710, seat_impl=0x5584a49ae8e0) at ../src/backends/native/meta-seat-impl.c:2642
event = 0x7f18d0078710
CoglTraceMetaSeatImplProcessEvents = {begin_time = 0, name = 0x0, description = 0x0}
ScopedCoglTraceMetaSeatImplProcessEvents = <optimized out>
#7 process_events (seat_impl=seat_impl@entry=0x5584a49ae8e0) at ../src/backends/native/meta-seat-impl.c:2658
event = 0x7f18d0078710
CoglTraceMetaSeatImplProcessEvents = {begin_time = 0, name = 0x0, description = 0x0}
ScopedCoglTraceMetaSeatImplProcessEvents = <optimized out>
#8 0x00007f195f7b1307 in init_libinput (error=0x7f18f4ff7f60, seat_impl=0x5584a49ae8e0) at ../src/backends/native/meta-seat-impl.c:2828
udev = 0x7f18d0029700
libinput = 0x7f18d00400e0
error = 0x0
priv = <optimized out>
backend = <optimized out>
context = <optimized out>
profiler = 0x5584a45b3700
xkb_keymap = <optimized out>
#9 input_thread (seat_impl=0x5584a49ae8e0) at ../src/backends/native/meta-seat-impl.c:2902
error = 0x0
priv = <optimized out>
backend = <optimized out>
context = <optimized out>
profiler = 0x5584a45b3700
xkb_keymap = <optimized out>
#10 0x00007f195fb6f163 in g_thread_proxy (data=0x5584a4855710) at ../glib/gthread.c:831
thread = 0x5584a4855710
__func__ = "g_thread_proxy"
#11 0x00007f195f4ac897 in start_thread (arg=<optimized out>) at pthread_create.c:444
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139746949645728, 750819504932032771, 139745166333632, -120, 0, 140734623200976, 750819508367167747, 749890252183081219}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#12 0x00007f195f5336bc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Main thread
Thread 31 (Thread 0x7f195bd0f640 (LWP 7001)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f195fb949ed in g_cond_wait (cond=cond@entry=0x5584a49ae920, mutex=mutex@entry=0x5584a49ae918) at ../glib/gthread-posix.c:1552
saved_errno = 0
res = <optimized out>
sampled = 0
#2 0x00007f195f7a97e3 in meta_seat_impl_initable_init (initable=0x5584a49ae8e0, cancellable=<optimized out>, error=<optimized out>) at ../src/backends/native/meta-seat-impl.c:2954
seat_impl = 0x5584a49ae8e0
__func__ = "meta_seat_impl_initable_init"
#3 0x00007f195fca9a7c in g_initable_new_valist (object_type=<optimized out>, first_property_name=0x7f195f7f8fdb "seat", var_args=var_args@entry=0x7fff553939e0, cancellable=cancellable@entry=0x0, error=error@entry=0x0) at ../gio/ginitable.c:250
obj = 0x5584a49ae8e0
__func__ = "g_initable_new_valist"
#4 0x00007f195fca9b6b in g_initable_new (object_type=<optimized out>, cancellable=cancellable@entry=0x0, error=error@entry=0x0, first_property_name=first_property_name@entry=0x7f195f7f8fdb "seat") at ../gio/ginitable.c:164
object = <optimized out>
var_args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fff55393ae0, reg_save_area = 0x7fff55393a00}}
#5 0x00007f195f7b20ae in meta_seat_impl_new (flags=META_SEAT_NATIVE_FLAG_NONE, seat_id=0x5584a49ad300 "seat0", seat_native=0x5584a49ad1a0) at ../src/backends/native/meta-seat-impl.c:3788
seat = 0x5584a49ad1a0
#6 meta_seat_native_constructed (object=0x5584a49ad1a0) at ../src/backends/native/meta-seat-native.c:145
seat = 0x5584a49ad1a0
#7 0x00007f196018e08a in g_object_new_internal (class=0x5584a49accc0, params=0x7fff55393c90, n_params=4) at ../gobject/gobject.c:2296
nqueue = 0x0
object = 0x5584a49ad1a0
i = <optimized out>
#8 0x00007f19601901a3 in g_object_new_internal (n_params=4, params=0x7fff55393c90, class=0x5584a49accc0) at ../gobject/gobject.c:2562
nqueue = 0x0
vtabs_stack = {0x5584a459e220, 0x5584a459d8c8, 0x5584a459d8c8, 0x5584a459df20, 0x7fff55393ca0, 0x7f195fb26fa9 <g_hash_table_setup_storage+201>, 0x200000001, 0x0, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fff55393ca0, 0x24f91da93cf3e400}
params = 0x7fff55393c90
values = 0x7fff55393d90
params_stack = {{pspec = 0x5584a49ad050, value = 0x7fff55393d90}, {pspec = 0x5584a49ace20, value = 0x7fff55393da8}, {pspec = 0x5584a49acc50, value = 0x7fff55393dc0}, {pspec = 0x5584a49acfd0, value = 0x7fff55393dd8}, {pspec = 0x5584a49a9950, value = 0x6}, {pspec = 0x7f195f5f6ac0, value = 0x5584a49ab120}, {pspec = 0x68, value = 0x70}, {pspec = 0x7f195f5f6ac0, value = 0xffffffffffffffc0}, {pspec = 0x68, value = 0x5584a45bc528}, {pspec = 0x7fff55393d60, value = 0x7f195f4bcd14 <__GI___libc_malloc+164>}, {pspec = 0x68, value = 0x7f19601c8a70 <g.array_lock>}, {pspec = 0x7fff55393d60, value = 0x70}, {pspec = 0x68, value = 0x7f19601c8a70 <g.array_lock>}, {pspec = 0x7fff55393d80, value = 0x7f195fb4261a <g_malloc+26>}, {pspec = 0x7fff55393db0, value = 0x70}, {pspec = 0x7fff55393da0, value = 0x7f195fb5f6d5 <g_slice_alloc+21>}}
values_stack = Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
{{g_type = , data = {{v_int = -1536061712, v_uint = 2758905584, v_long = 94028182949616, v_ulong = 94028182949616, v_int64 = 94028182949616, v_uint64 = 94028182949616, v_float = -5.23796175e-17, v_double = 4.6456094936280916e-310, v_pointer = 0x5584a4718ef0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 0x40, data = {{v_int = -1536020416, v_uint = 2758946880, v_long = 94028182990912, v_ulong = 94028182990912, v_int64 = 94028182990912, v_uint64 = 94028182990912, v_float = -5.25162545e-17, v_double = 4.645609495668385e-310, v_pointer = 0x5584a4723040}, {v_int = 134217728, v_uint = 134217728, v_long = 134217728, v_ulong = 134217728, v_int64 = 134217728, v_uint64 = 134217728, v_float = 3.85185989e-34, v_double = 6.631236846766476e-316, v_pointer = 0x8000000}}}, {g_type = 0x40, data = {{v_int = -1536020416, v_uint = 2758946880, v_long = 94028182990912, v_ulong = 94028182990912, v_int64 = 94028182990912, v_uint64 = 94028182990912, v_float = -5.25162545e-17, v_double = 4.645609495668385e-310, v_pointer = 0x5584a4723040}, {v_int = 134217728, v_uint = 134217728, v_long = 134217728, v_ulong = 134217728, v_int64 = 134217728, v_uint64 = 134217728, v_float = 3.85185989e-34, v_double = 6.631236846766476e-316, v_pointer = 0x8000000}}}, {g_type = , data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = , data = {{v_int = 1598800739, v_uint = 1598800739, v_long = 139746949710691, v_ulong = 139746949710691, v_int64 = 139746949710691, v_uint64 = 139746949710691, v_float = 1.46826881e+19, v_double = 6.9044166963156751e-310, v_pointer = 0x7f195f4bc363 <_int_malloc+3715>}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 0x5, data = {{v_int = 1429814912, v_uint = 1429814912, v_long = 140734623202944, v_ulong = 140734623202944, v_int64 = 140734623202944, v_uint64 = 140734623202944, v_float = 1.27298804e+13, v_double = 6.9532142504987009e-310, v_pointer = 0x7fff55393e80}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 0x0, data = {{v_int = 399, v_uint = 399, v_long = 399, v_ulong = 399, v_int64 = 399, v_uint64 = 399, v_float = 5.59118087e-43, v_double = 1.9713219269065737e-321, v_pointer = 0x18f}, {v_int = -1537637072, v_uint = 2757330224, v_long = 94028181374256, v_ulong = 94028181374256, v_int64 = 94028181374256, v_uint64 = 94028181374256, v_float = -4.71671885e-17, v_double = 4.645609415794966e-310, v_pointer = 0x5584a4598530}}}, {g_type = <error reading variable: Cannot access memory at address 0x4d86f4c8>, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 1598800739, v_uint = 1598800739, v_long = 139746949710691, v_ulong = 139746949710691, v_int64 = 139746949710691, v_uint64 = 139746949710691, v_float = 1.46826881e+19, v_double = 6.9044166963156751e-310, v_pointer = 0x7f195f4bc363 <_int_malloc+3715>}}}, {g_type = , data = {{v_int = 4, v_uint = 4, v_long = 4, v_ulong = 4, v_int64 = 4, v_uint64 = 4, v_float = 5.60519386e-45, v_double = 1.9762625833649862e-323, v_pointer = 0x4}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 0x5584a49abc70 [None], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 80, v_uint = 80, v_long = 80, v_ulong = 80, v_int64 = 80, v_uint64 = 80, v_float = 1.12103877e-43, v_double = 3.9525251667299724e-322, v_pointer = 0x50}}}, {g_type = 0x7f195f5f6ac0 [None], data = {{v_int = 21408, v_uint = 21408, v_long = 21408, v_ulong = 21408, v_int64 = 21408, v_uint64 = 21408, v_float = 2.99989975e-41, v_double = 1.0576957346169406e-319, v_pointer = 0x53a0}, {v_int = -1533363104, v_uint = 2761604192, v_long = 94028185648224, v_ulong = 94028185648224, v_int64 = 94028185648224, v_uint64 = 94028185648224, v_float = -6.71059735e-17, v_double = 4.645609626957042e-310, v_pointer = 0x5584a49abc60}}}, {g_type = , data = {{v_int = 1429815024, v_uint = 1429815024, v_long = 140734623203056, v_ulong = 140734623203056, v_int64 = 140734623203056, v_uint64 = 140734623203056, v_float = 1.27299979e+13, v_double = 6.9532142505042344e-310, v_pointer = 0x7fff55393ef0}, {v_int = 1598807454, v_uint = 1598807454, v_long = 139746949717406, v_ulong = 139746949717406, v_int64 = 139746949717406, v_uint64 = 139746949717406, v_float = 1.46900713e+19, v_double = 6.9044166966474402e-310, v_pointer = 0x7f195f4bdd9e <__libc_calloc+222>}}}, {g_type = 0x0, data = {{v_int = -1533363264, v_uint = 2761604032, v_long = 94028185648064, v_ulong = 94028185648064, v_int64 = 94028185648064, v_uint64 = 94028185648064, v_float = -6.71049147e-17, v_double = 4.6456096269491369e-310, v_pointer = 0x5584a49abbc0}, {v_int = 1429815040, v_uint = 1429815040, v_long = 140734623203072, v_ulong = 140734623203072, v_int64 = 140734623203072, v_uint64 = 140734623203072, v_float = 1.27300146e+13, v_double = 6.9532142505050249e-310, v_pointer = 0x7fff55393f00}}}, {g_type = 0x50, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1, v_int64 = 1, v_uint64 = 1, v_float = 1.40129846e-45, v_double = 4.9406564584124654e-324, v_pointer = 0x1}}}, {g_type = , data = {{v_int = -1537613280, v_uint = 2757354016, v_long = 94028181398048, v_ulong = 94028181398048, v_int64 = 94028181398048, v_uint64 = 94028181398048, v_float = -4.72459096e-17, v_double = 4.645609416970447e-310, v_pointer = 0x5584a459e220}, {v_int = 1429815056, v_uint = 1429815056, v_long = 140734623203088, v_ulong = 140734623203088, v_int64 = 140734623203088, v_uint64 = 140734623203088, v_float = 1.27300314e+13, v_double = 6.9532142505058154e-310, v_pointer = 0x7fff55393f10}}}, {g_type = , data = {{v_int = 1429815072, v_uint = 1429815072, v_long = 140734623203104, v_ulong = 140734623203104, v_int64 = 140734623203104, v_uint64 = 140734623203104, v_float = 1.27300482e+13, v_double = 6.9532142505066059e-310, v_pointer = 0x7fff55393f20}, {v_int = -1533363264, v_uint = 2761604032, v_long = 94028185648064, v_ulong = 94028185648064, v_int64 = 94028185648064, v_uint64 = 94028185648064, v_float = -6.71049147e-17, v_double = 4.6456096269491369e-310, v_pointer = 0x5584a49abbc0}}}}
name = <optimized out>
vtabs = 0x7fff55393c10
n_params = 4
n_params_alloc = 16
class = 0x5584a49accc0
unref_class = <optimized out>
object = <optimized out>
__func__ = "g_object_new_valist"
#9 g_object_new_valist (object_type=<optimized out>, first_property_name=first_property_name@entry=0x7f195f7d5ba7 "backend", var_args=var_args@entry=0x7fff55393f60) at ../gobject/gobject.c:2584
vtabs_stack = {0x5584a459e220, 0x5584a459d8c8, 0x5584a459d8c8, 0x5584a459df20, 0x7fff55393ca0, 0x7f195fb26fa9 <g_hash_table_setup_storage+201>, 0x200000001, 0x0, 0x1001, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fff55393ca0, 0x24f91da93cf3e400}
params = 0x7fff55393c90
values = 0x7fff55393d90
params_stack = {{pspec = 0x5584a49ad050, value = 0x7fff55393d90}, {pspec = 0x5584a49ace20, value = 0x7fff55393da8}, {pspec = 0x5584a49acc50, value = 0x7fff55393dc0}, {pspec = 0x5584a49acfd0, value = 0x7fff55393dd8}, {pspec = 0x5584a49a9950, value = 0x6}, {pspec = 0x7f195f5f6ac0, value = 0x5584a49ab120}, {pspec = 0x68, value = 0x70}, {pspec = 0x7f195f5f6ac0, value = 0xffffffffffffffc0}, {pspec = 0x68, value = 0x5584a45bc528}, {pspec = 0x7fff55393d60, value = 0x7f195f4bcd14 <__GI___libc_malloc+164>}, {pspec = 0x68, value = 0x7f19601c8a70 <g.array_lock>}, {pspec = 0x7fff55393d60, value = 0x70}, {pspec = 0x68, value = 0x7f19601c8a70 <g.array_lock>}, {pspec = 0x7fff55393d80, value = 0x7f195fb4261a <g_malloc+26>}, {pspec = 0x7fff55393db0, value = 0x70}, {pspec = 0x7fff55393da0, value = 0x7f195fb5f6d5 <g_slice_alloc+21>}}
values_stack = Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
Python Exception <class 'gdb.error'>: value has been optimized out
{{g_type = , data = {{v_int = -1536061712, v_uint = 2758905584, v_long = 94028182949616, v_ulong = 94028182949616, v_int64 = 94028182949616, v_uint64 = 94028182949616, v_float = -5.23796175e-17, v_double = 4.6456094936280916e-310, v_pointer = 0x5584a4718ef0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 0x40, data = {{v_int = -1536020416, v_uint = 2758946880, v_long = 94028182990912, v_ulong = 94028182990912, v_int64 = 94028182990912, v_uint64 = 94028182990912, v_float = -5.25162545e-17, v_double = 4.645609495668385e-310, v_pointer = 0x5584a4723040}, {v_int = 134217728, v_uint = 134217728, v_long = 134217728, v_ulong = 134217728, v_int64 = 134217728, v_uint64 = 134217728, v_float = 3.85185989e-34, v_double = 6.631236846766476e-316, v_pointer = 0x8000000}}}, {g_type = 0x40, data = {{v_int = -1536020416, v_uint = 2758946880, v_long = 94028182990912, v_ulong = 94028182990912, v_int64 = 94028182990912, v_uint64 = 94028182990912, v_float = -5.25162545e-17, v_double = 4.645609495668385e-310, v_pointer = 0x5584a4723040}, {v_int = 134217728, v_uint = 134217728, v_long = 134217728, v_ulong = 134217728, v_int64 = 134217728, v_uint64 = 134217728, v_float = 3.85185989e-34, v_double = 6.631236846766476e-316, v_pointer = 0x8000000}}}, {g_type = , data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = , data = {{v_int = 1598800739, v_uint = 1598800739, v_long = 139746949710691, v_ulong = 139746949710691, v_int64 = 139746949710691, v_uint64 = 139746949710691, v_float = 1.46826881e+19, v_double = 6.9044166963156751e-310, v_pointer = 0x7f195f4bc363 <_int_malloc+3715>}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 0x5, data = {{v_int = 1429814912, v_uint = 1429814912, v_long = 140734623202944, v_ulong = 140734623202944, v_int64 = 140734623202944, v_uint64 = 140734623202944, v_float = 1.27298804e+13, v_double = 6.9532142504987009e-310, v_pointer = 0x7fff55393e80}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 0x0, data = {{v_int = 399, v_uint = 399, v_long = 399, v_ulong = 399, v_int64 = 399, v_uint64 = 399, v_float = 5.59118087e-43, v_double = 1.9713219269065737e-321, v_pointer = 0x18f}, {v_int = -1537637072, v_uint = 2757330224, v_long = 94028181374256, v_ulong = 94028181374256, v_int64 = 94028181374256, v_uint64 = 94028181374256, v_float = -4.71671885e-17, v_double = 4.645609415794966e-310, v_pointer = 0x5584a4598530}}}, {g_type = <error reading variable: Cannot access memory at address 0x4d86f4c8>, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 1598800739, v_uint = 1598800739, v_long = 139746949710691, v_ulong = 139746949710691, v_int64 = 139746949710691, v_uint64 = 139746949710691, v_float = 1.46826881e+19, v_double = 6.9044166963156751e-310, v_pointer = 0x7f195f4bc363 <_int_malloc+3715>}}}, {g_type = , data = {{v_int = 4, v_uint = 4, v_long = 4, v_ulong = 4, v_int64 = 4, v_uint64 = 4, v_float = 5.60519386e-45, v_double = 1.9762625833649862e-323, v_pointer = 0x4}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}, {g_type = 0x5584a49abc70 [None], data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 80, v_uint = 80, v_long = 80, v_ulong = 80, v_int64 = 80, v_uint64 = 80, v_float = 1.12103877e-43, v_double = 3.9525251667299724e-322, v_pointer = 0x50}}}, {g_type = 0x7f195f5f6ac0 [None], data = {{v_int = 21408, v_uint = 21408, v_long = 21408, v_ulong = 21408, v_int64 = 21408, v_uint64 = 21408, v_float = 2.99989975e-41, v_double = 1.0576957346169406e-319, v_pointer = 0x53a0}, {v_int = -1533363104, v_uint = 2761604192, v_long = 94028185648224, v_ulong = 94028185648224, v_int64 = 94028185648224, v_uint64 = 94028185648224, v_float = -6.71059735e-17, v_double = 4.645609626957042e-310, v_pointer = 0x5584a49abc60}}}, {g_type = , data = {{v_int = 1429815024, v_uint = 1429815024, v_long = 140734623203056, v_ulong = 140734623203056, v_int64 = 140734623203056, v_uint64 = 140734623203056, v_float = 1.27299979e+13, v_double = 6.9532142505042344e-310, v_pointer = 0x7fff55393ef0}, {v_int = 1598807454, v_uint = 1598807454, v_long = 139746949717406, v_ulong = 139746949717406, v_int64 = 139746949717406, v_uint64 = 139746949717406, v_float = 1.46900713e+19, v_double = 6.9044166966474402e-310, v_pointer = 0x7f195f4bdd9e <__libc_calloc+222>}}}, {g_type = 0x0, data = {{v_int = -1533363264, v_uint = 2761604032, v_long = 94028185648064, v_ulong = 94028185648064, v_int64 = 94028185648064, v_uint64 = 94028185648064, v_float = -6.71049147e-17, v_double = 4.6456096269491369e-310, v_pointer = 0x5584a49abbc0}, {v_int = 1429815040, v_uint = 1429815040, v_long = 140734623203072, v_ulong = 140734623203072, v_int64 = 140734623203072, v_uint64 = 140734623203072, v_float = 1.27300146e+13, v_double = 6.9532142505050249e-310, v_pointer = 0x7fff55393f00}}}, {g_type = 0x50, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 1, v_uint = 1, v_long = 1, v_ulong = 1, v_int64 = 1, v_uint64 = 1, v_float = 1.40129846e-45, v_double = 4.9406564584124654e-324, v_pointer = 0x1}}}, {g_type = , data = {{v_int = -1537613280, v_uint = 2757354016, v_long = 94028181398048, v_ulong = 94028181398048, v_int64 = 94028181398048, v_uint64 = 94028181398048, v_float = -4.72459096e-17, v_double = 4.645609416970447e-310, v_pointer = 0x5584a459e220}, {v_int = 1429815056, v_uint = 1429815056, v_long = 140734623203088, v_ulong = 140734623203088, v_int64 = 140734623203088, v_uint64 = 140734623203088, v_float = 1.27300314e+13, v_double = 6.9532142505058154e-310, v_pointer = 0x7fff55393f10}}}, {g_type = , data = {{v_int = 1429815072, v_uint = 1429815072, v_long = 140734623203104, v_ulong = 140734623203104, v_int64 = 140734623203104, v_uint64 = 140734623203104, v_float = 1.27300482e+13, v_double = 6.9532142505066059e-310, v_pointer = 0x7fff55393f20}, {v_int = -1533363264, v_uint = 2761604032, v_long = 94028185648064, v_ulong = 94028185648064, v_int64 = 94028185648064, v_uint64 = 94028185648064, v_float = -6.71049147e-17, v_double = 4.6456096269491369e-310, v_pointer = 0x5584a49abbc0}}}}
name = <optimized out>
vtabs = 0x7fff55393c10
n_params = 4
n_params_alloc = 16
class = 0x5584a49accc0
unref_class = <optimized out>
object = <optimized out>
__func__ = "g_object_new_valist"
#10 0x00007f196019055f in g_object_new (object_type=<optimized out>, first_property_name=first_property_name@entry=0x7f195f7d5ba7 "backend") at ../gobject/gobject.c:2057
object = <optimized out>
var_args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fff55394060, reg_save_area = 0x7fff55393f80}}
#11 0x00007f195f784899 in meta_backend_native_create_default_seat (backend=0x5584a4718ef0, error=<optimized out>) at ../src/backends/native/meta-backend-native.c:153
backend_native = 0x5584a4718ef0
seat_id = 0x5584a4723040 "seat0"
flags = META_SEAT_NATIVE_FLAG_NONE
#12 0x00007f195f688ec4 in meta_backend_create_default_seat (error=0x7fff553942a0, backend=0x5584a4718ef0) at ../src/backends/meta-backend.c:1173
priv = 0x5584a4718de0
backend_source = <optimized out>
source = <optimized out>
backend = 0x5584a4718ef0
priv = 0x5584a4718de0
#13 init_clutter (error=0x7fff553942a0, backend=0x5584a4718ef0) at ../src/backends/meta-backend.c:1190
priv = 0x5584a4718de0
backend_source = <optimized out>
source = <optimized out>
backend = 0x5584a4718ef0
priv = 0x5584a4718de0
#14 meta_backend_initable_init (initable=0x5584a4718ef0, cancellable=<optimized out>, error=0x7fff553942a0) at ../src/backends/meta-backend.c:1245
backend = 0x5584a4718ef0
priv = 0x5584a4718de0
#15 0x00007f195fca9a7c in g_initable_new_valist (object_type=<optimized out>, first_property_name=0x7f195f7f8e99 "context", var_args=var_args@entry=0x7fff55394100, cancellable=0x0, error=0x7fff553942a0) at ../gio/ginitable.c:250
obj = 0x5584a4718ef0
__func__ = "g_initable_new_valist"
#16 0x00007f195fca9b6b in g_initable_new (object_type=<optimized out>, cancellable=<optimized out>, error=<optimized out>, first_property_name=<optimized out>) at ../gio/ginitable.c:164
object = <optimized out>
var_args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fff553941e0, reg_save_area = 0x7fff55394120}}
#17 0x00007f195f6e42b0 in meta_context_real_setup (context=<optimized out>, error=<optimized out>) at ../src/meta/meta-context.h:28
priv = 0x5584a45ab0d0
backend = <optimized out>
#18 0x00007f195f6e3f72 in meta_context_main_setup (context=0x5584a45ab150, error=0x7fff553942a0) at ../src/core/meta-context-main.c:404
context_main = 0x5584a45ab150
#19 0x00007f195f6e91bc in meta_context_setup (context=context@entry=0x5584a45ab150, error=error@entry=0x7fff553942a0) at ../src/core/meta-context.c:452
priv = 0x5584a45ab0d0
compositor_type = <optimized out>
__func__ = "meta_context_setup"
#20 0x00005584a3c66d8a in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:676
context = 0x5584a45ab150
automation_script = 0x0
cwd = 0x5584a45881f0 "/home/shnoulle"
error = 0x0
gjs_context = <optimized out>
status = 95 '_'
Stack trace from core dump:
Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fc35376ecc4 in g_rw_lock_get_impl (lock=0x78) at ../glib/gthread-posix.c:468
468 pthread_rwlock_t *impl = g_atomic_pointer_get (&lock->p);
[Current thread is 1 (Thread 0x7fc325bfe6c0 (LWP 11051))]
(gdb) where
#0 0x00007fc35376ecc4 in g_rw_lock_get_impl (lock=0x78) at ../glib/gthread-posix.c:468
#1 g_rw_lock_writer_lock (rw_lock=0x78) at ../glib/gthread-posix.c:554
#2 0x00007fc352d82fb3 in update_internal_xkb_state (device=device@entry=0x55de69caaef0,
new_latched_mask=new_latched_mask@entry=0, new_locked_mask=new_locked_mask@entry=0)
at ../src/backends/native/meta-input-device-native.c:491
#3 0x00007fc352d83646 in meta_input_device_native_apply_kbd_a11y_settings_in_impl (device=0x55de69caaef0,
settings=0x7fc325bfcee0) at ../src/backends/native/meta-input-device-native.c:1275
#4 0x00007fc352daecd2 in evdev_add_device (libinput_device=0x7fc310072e20, seat_impl=<optimized out>)
at ../src/backends/native/meta-seat-impl.c:1708
#5 process_base_event (event=0x7fc310077480, seat_impl=0x55de69ca8670) at ../src/backends/native/meta-seat-impl.c:1766
#6 process_event (event=0x7fc310077480, seat_impl=0x55de69ca8670) at ../src/backends/native/meta-seat-impl.c:2642
#7 process_events (seat_impl=seat_impl@entry=0x55de69ca8670) at ../src/backends/native/meta-seat-impl.c:2658
#8 0x00007fc352db12e7 in init_libinput (error=0x7fc325bfcf60, seat_impl=0x55de69ca8670)
at ../src/backends/native/meta-seat-impl.c:2828
#9 input_thread (seat_impl=0x55de69ca8670) at ../src/backends/native/meta-seat-impl.c:2902
#10 0x00007fc353745523 in g_thread_proxy (data=0x55de69b3bfc0) at ../glib/gthread.c:831
#11 0x00007fc352aac897 in start_thread (arg=<optimized out>) at pthread_create.c:444
#12 0x00007fc352b336fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb)
Edited by Sebastian Keller