You are not logged in.

#1 2019-10-20 18:45:12

charlie
Member
Registered: 2013-09-18
Posts: 57

crash before login screen due to libxkb-common v.0.9.0

Just updated my system with a pacman -Syu.
When login back again the system seemed to freeze each time just before showing the login screen. Here is an extract from the journal:

oct. 20 19:11:05 archc kernel: IPMI message handler: version 39.2
oct. 20 19:11:05 archc kernel: ipmi device interface
oct. 20 19:11:05 archc kernel: nvidia: loading out-of-tree module taints kernel.
oct. 20 19:11:05 archc kernel: nvidia: module license 'NVIDIA' taints kernel.
oct. 20 19:11:05 archc kernel: Disabling lock debugging due to kernel taint
oct. 20 19:11:05 archc kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
oct. 20 19:11:05 archc kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 237
oct. 20 19:11:05 archc kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)
oct. 20 19:11:05 archc kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  435.21  Sun Aug 25 08:17:57 CDT 2019
oct. 20 19:11:05 archc kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190703/nsarguments-59)
oct. 20 19:11:06 archc gnome-shell[526]: xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
oct. 20 19:11:06 archc gnome-shell[526]: **
oct. 20 19:11:06 archc gnome-shell[526]: mutter:ERROR:../mutter/src/backends/native/meta-keymap-native.c:110:meta_keymap_native_init: assertion failed: (ctx)
oct. 20 19:11:06 archc gnome-shell[526]: Bail out! mutter:ERROR:../mutter/src/backends/native/meta-keymap-native.c:110:meta_keymap_native_init: assertion failed: (ctx)
oct. 20 19:11:06 archc audit[526]: ANOM_ABEND auid=120 uid=120 gid=120 ses=1 pid=526 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=6 res=1
oct. 20 19:11:06 archc kernel: audit: type=1701 audit(1571595066.855:40): auid=120 uid=120 gid=120 ses=1 pid=526 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=6 res=1
oct. 20 19:11:06 archc systemd[1]: Created slice system-systemd\x2dcoredump.slice.
oct. 20 19:11:06 archc systemd[1]: Started Process Core Dump (PID 560/UID 0).
oct. 20 19:11:06 archc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-560-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? >
oct. 20 19:11:06 archc kernel: audit: type=1130 audit(1571595066.888:41): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-560-0 comm="systemd" exe="/usr/lib/s>
oct. 20 19:11:07 archc systemd[478]: gnome-shell-wayland.service: Main process exited, code=dumped, status=6/ABRT
oct. 20 19:11:07 archc systemd[478]: gnome-shell-wayland.service: Failed with result 'core-dump'.
oct. 20 19:11:07 archc systemd[478]: Failed to start GNOME Shell on Wayland.
oct. 20 19:11:07 archc systemd[478]: Dependency failed for GNOME Shell on Wayland.
oct. 20 19:11:07 archc systemd[478]: Dependency failed for GNOME Wayland Session.
oct. 20 19:11:07 archc systemd[478]: Dependency failed for GNOME Wayland Session (session: gnome-login).
oct. 20 19:11:07 archc systemd[478]: gnome-session-wayland@gnome-login.target: Job gnome-session-wayland@gnome-login.target/start failed with result 'dependency'.
oct. 20 19:11:07 archc systemd[478]: gnome-session-wayland.target: Job gnome-session-wayland.target/start failed with result 'dependency'.
oct. 20 19:11:07 archc systemd[478]: gnome-session-wayland.target: Triggering OnFailure= dependencies.
oct. 20 19:11:07 archc systemd[478]: gnome-shell-wayland.target: Job gnome-shell-wayland.target/start failed with result 'dependency'.
oct. 20 19:11:07 archc systemd[478]: gnome-shell-wayland.service: Triggering OnFailure= dependencies.
oct. 20 19:11:07 archc systemd[478]: Requested transaction contradicts existing jobs: Transaction for gnome-shell-disable-extensions.service/start is destructive (gnome-session-stabl>
oct. 20 19:11:07 archc systemd[478]: gnome-shell-wayland.service: Failed to enqueue OnFailure= job, ignoring: Transaction for gnome-shell-disable-extensions.service/start is destruct>
oct. 20 19:11:07 archc systemd[478]: gnome-session-stable.timer: Succeeded.
oct. 20 19:11:07 archc systemd[478]: Stopped GNOME Session is not yet stable (running for <2 minutes).
oct. 20 19:11:07 archc systemd[478]: Stopped target GNOME Session Manager is ready.
oct. 20 19:11:07 archc systemd[478]: Stopping GNOME Session Manager (session: gnome-login)...
oct. 20 19:11:07 archc systemd-coredump[561]: Process 526 (gnome-shell) of user 120 dumped core.
                                                   
                                                   Stack trace of thread 526:
                                                   #0  0x00007f540e436f25 raise (libc.so.6)
                                                   #1  0x00007f540e420897 abort (libc.so.6)
                                                   #2  0x00007f540de94062 n/a (libglib-2.0.so.0)
                                                   #3  0x00007f540dec0b7d g_assertion_message_expr (libglib-2.0.so.0)
                                                   #4  0x00007f540d365c57 n/a (libmutter-5.so.0)
                                                   #5  0x00007f540dfb7340 g_type_create_instance (libgobject-2.0.so.0)
                                                   #6  0x00007f540dfd3746 n/a (libgobject-2.0.so.0)
                                                   #7  0x00007f540dfd4b95 g_object_new_with_properties (libgobject-2.0.so.0)
                                                   #8  0x00007f540dfd4c92 g_object_new (libgobject-2.0.so.0)
                                                   #9  0x00007f540d370330 n/a (libmutter-5.so.0)
                                                   #10 0x00007f540d57c780 n/a (libmutter-clutter-5.so.0)
                                                   #11 0x00007f540d57cc58 n/a (libmutter-clutter-5.so.0)
                                                   #12 0x00007f540ded8587 g_option_context_parse (libglib-2.0.so.0)
                                                   #13 0x00007f540d57c9ba clutter_init (libmutter-clutter-5.so.0)
                                                   #14 0x00007f540d42c39e meta_clutter_init (libmutter-5.so.0)
                                                   #15 0x00007f540d3dceb8 meta_init (libmutter-5.so.0)
                                                   #16 0x00005594d0c72138 n/a (gnome-shell)
                                                   #17 0x00007f540e422153 __libc_start_main (libc.so.6)
                                                   #18 0x00005594d0c7261e n/a (gnome-shell)
                                                   
                                                   Stack trace of thread 537:
                                                   #0  0x00007f540e4ef9ef __poll (libc.so.6)
                                                   #1  0x00007f540dee4180 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f540dee4251 g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f540e5eae5e n/a (libdconfsettings.so)
                                                   #4  0x00007f540dec0c11 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f540c54d4cf start_thread (libpthread.so.0)
                                                   #6  0x00007f540e4fa2d3 __clone (libc.so.6)
oct. 20 19:11:07 archc systemd[478]: Dependency failed for GNOME Wayland Session (session: gnome-login).
oct. 20 19:11:07 archc systemd[478]: gnome-session-wayland@gnome-login.target: Job gnome-session-wayland@gnome-login.target/start failed with result 'dependency'.
oct. 20 19:11:07 archc systemd[478]: gnome-session-wayland.target: Job gnome-session-wayland.target/start failed with result 'dependency'.
oct. 20 19:11:07 archc systemd[478]: gnome-session-wayland.target: Triggering OnFailure= dependencies.
oct. 20 19:11:07 archc systemd[478]: gnome-shell-wayland.target: Job gnome-shell-wayland.target/start failed with result 'dependency'.
oct. 20 19:11:07 archc systemd[478]: gnome-shell-wayland.service: Triggering OnFailure= dependencies.
oct. 20 19:11:07 archc systemd[478]: Requested transaction contradicts existing jobs: Transaction for gnome-shell-disable-extensions.service/start is destructive (gnome-session-stabl>
oct. 20 19:11:07 archc systemd[478]: gnome-shell-wayland.service: Failed to enqueue OnFailure= job, ignoring: Transaction for gnome-shell-disable-extensions.service/start is destruct>
oct. 20 19:11:07 archc systemd[478]: gnome-session-stable.timer: Succeeded.
oct. 20 19:11:07 archc systemd[478]: Stopped GNOME Session is not yet stable (running for <2 minutes).
oct. 20 19:11:07 archc systemd[478]: Stopped target GNOME Session Manager is ready.
oct. 20 19:11:07 archc systemd[478]: Stopping GNOME Session Manager (session: gnome-login)...
oct. 20 19:11:07 archc systemd-coredump[561]: Process 526 (gnome-shell) of user 120 dumped core.
                                                   
                                                   Stack trace of thread 526:
                                                   #0  0x00007f540e436f25 raise (libc.so.6)
                                                   #1  0x00007f540e420897 abort (libc.so.6)
                                                   #2  0x00007f540de94062 n/a (libglib-2.0.so.0)
                                                   #3  0x00007f540dec0b7d g_assertion_message_expr (libglib-2.0.so.0)
                                                   #4  0x00007f540d365c57 n/a (libmutter-5.so.0)
                                                   #5  0x00007f540dfb7340 g_type_create_instance (libgobject-2.0.so.0)
                                                   #6  0x00007f540dfd3746 n/a (libgobject-2.0.so.0)
                                                   #7  0x00007f540dfd4b95 g_object_new_with_properties (libgobject-2.0.so.0)
                                                   #8  0x00007f540dfd4c92 g_object_new (libgobject-2.0.so.0)
                                                   #9  0x00007f540d370330 n/a (libmutter-5.so.0)
                                                   #10 0x00007f540d57c780 n/a (libmutter-clutter-5.so.0)
                                                   #11 0x00007f540d57cc58 n/a (libmutter-clutter-5.so.0)
                                                   #12 0x00007f540ded8587 g_option_context_parse (libglib-2.0.so.0)
                                                   #13 0x00007f540d57c9ba clutter_init (libmutter-clutter-5.so.0)
                                                   #14 0x00007f540d42c39e meta_clutter_init (libmutter-5.so.0)
                                                   #15 0x00007f540d3dceb8 meta_init (libmutter-5.so.0)
                                                   #16 0x00005594d0c72138 n/a (gnome-shell)
                                                   #17 0x00007f540e422153 __libc_start_main (libc.so.6)
                                                   #18 0x00005594d0c7261e n/a (gnome-shell)
                                                   
                                                   Stack trace of thread 537:
                                                   #0  0x00007f540e4ef9ef __poll (libc.so.6)
                                                   #1  0x00007f540dee4180 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f540dee4251 g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f540e5eae5e n/a (libdconfsettings.so)
                                                   #4  0x00007f540dec0c11 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f540c54d4cf start_thread (libpthread.so.0)
                                                   #6  0x00007f540e4fa2d3 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 534:
                                                   #0  0x00007f540e4ef9ef __poll (libc.so.6)
                                                   #1  0x00007f540dee4180 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f540dee4251 g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f540dee42a2 n/a (libglib-2.0.so.0)
                                                   #4  0x00007f540dec0c11 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f540c54d4cf start_thread (libpthread.so.0)
                                                   #6  0x00007f540e4fa2d3 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 535:
                                                   #0  0x00007f540e4f4e9d syscall (libc.so.6)
                                                   #1  0x00007f540de9511b g_cond_wait_until (libglib-2.0.so.0)
                                                   #2  0x00007f540df12f63 n/a (libglib-2.0.so.0)
                                                   #3  0x00007f540deba13b n/a (libglib-2.0.so.0)
                                                   #4  0x00007f540dec0c11 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f540c54d4cf start_thread (libpthread.so.0)
                                                   #6  0x00007f540e4fa2d3 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 536:
                                                   #0  0x00007f540e4ef9ef __poll (libc.so.6)
                                                   #1  0x00007f540dee4180 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f540dee5123 g_main_loop_run (libglib-2.0.so.0)
                                                   #3  0x00007f540e052b48 n/a (libgio-2.0.so.0)
                                                   #4  0x00007f540dec0c11 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f540c54d4cf start_thread (libpthread.so.0)
                                                   #6  0x00007f540e4fa2d3 __clone (libc.so.6)
                                                   
                                                   Stack trace of thread 559:
                                                   #0  0x00007f540c553c45 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #1  0x00007f53f5b0d4fc n/a (i965_dri.so)
                                                   #2  0x00007f53f5b0d0f8 n/a (i965_dri.so)
                                                   #3  0x00007f540c54d4cf start_thread (libpthread.so.0)
                                                   #4  0x00007f540e4fa2d3 __clone (libc.so.6)
oct. 20 19:11:07 archc systemd[1]: systemd-coredump@0-560-0.service: Succeeded.

tldr: gnome-shell fails to start on wayland and there's some process creating a core dump. Just before this happens there's an error message about xkdb "xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb" and some "MUTTER" error message.

In an attempt to have a working system, I've downgraded several packages but the culprit seems to be libxkb:
- libxkb-common-x11, libxkb-common 0.9.0 downgraded back to 0.8.4-1

Now the system functions normally again. There is no more coredump appearing in the journal. Not sure which package is responsible and don't have time to check them one by one.

There's some error message about xkdb so I reckon that this could be the origin of the issue. Any idea?

EDIT: bug is already assigned:

Last edited by charlie (2019-10-20 19:42:45)

Offline

#2 2019-10-20 18:52:15

ReddestDream
Member
Registered: 2019-08-28
Posts: 3

Re: crash before login screen due to libxkb-common v.0.9.0

Thanks! I had the same problem and found this. The package we have in common is libxkdb-common-x11, libxkdb-common. Downgrading both of these fixes GDM/GNOME. smile

Offline

#3 2019-10-20 18:54:59

charlie
Member
Registered: 2013-09-18
Posts: 57

Re: crash before login screen due to libxkb-common v.0.9.0

Ok noted. This confirm what was hinted in the error messages. Thanks.

Offline

#4 2019-10-20 18:56:49

loqs
Member
Registered: 2014-03-06
Posts: 17,414

Re: crash before login screen due to libxkb-common v.0.9.0

Offline

#5 2019-10-20 19:28:07

andreas_e
Member
Registered: 2019-10-20
Posts: 2

Re: crash before login screen due to libxkb-common v.0.9.0

Thanks, this helped me to solve the problem.
However, I think the packages are named libxkb instead of libxkdb?

Offline

#6 2019-10-20 19:37:22

charlie
Member
Registered: 2013-09-18
Posts: 57

Re: crash before login screen due to libxkb-common v.0.9.0

yes you're right, it's a typo.

Offline

Board footer

Powered by FluxBB