Gnome-shell crash every two to three boots

Hello! I am using gnome desktop environment with Arch Linux. It hangs every 2-3 boots. I have tried to do research on this issue to no avail. Closest thing I could find was gnome-session that would crash every 2-3 boots and to fix it you would disable session saving through gsettings. I tried this but it did not work for me. What happens is right after systemd finishes starting all its processes get left with a black screen with a blinking cursor in the upper left of the screen. Sometimes, when this event occurs, I get to the logon screen but after I type my password it loads for a second and then pops back to the initial logon screen instead of going to the desktop. I can switch to tty and logon from there. I have tried restarting gdm through a tty but I usually (sometimes it works) have to restart the computer to get it to work again. Any help would be greatly appreciated. I have no idea what to do here.

Here is some system info:

Output from uname -a:

Linux archielap 5.5.4-arch1-1 #1 SMP PREEMPT Sat, 15 Feb 2020 00:36:29 +0000 x86_64 GNU/Linux

Output from journalctl -b -1 -p err:

-- Logs begin at Fri 2020-02-21 02:13:36 EST, end at Sun 2020-03-08 12:18:18 EDT. --
Mar 08 11:56:56 archlinux kernel: do_IRQ: 1.55 No irq handler for vector
Mar 08 11:56:56 archlinux kernel: do_IRQ: 2.55 No irq handler for vector
Mar 08 11:56:56 archlinux kernel: do_IRQ: 3.55 No irq handler for vector
Mar 08 11:57:19 archielap kernel: wdat_wdt wdat_wdt: can't request region for resource [mem 0xfec000f0-0xfec000f3]
Mar 08 11:57:12 archielap systemd-backlight[647]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
Mar 08 11:57:12 archielap systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Mar 08 11:57:42 archielap systemd[712]: Failed to start GNOME Shell on Wayland.
Mar 08 11:57:43 archielap systemd-coredump[797]: Process 754 (gnome-shell) of user 120 dumped core.
                                                 
                                                 Stack trace of thread 754:
                                                 #0  0x00007f76cd6c3ce5 raise (libc.so.6 + 0x3bce5)
                                                 #1  0x00007f76cd6ad857 abort (libc.so.6 + 0x25857)
                                                 #2  0x00007f76cd6ad727 __assert_fail_base.cold (libc.so.6 + 0x25727)
                                                 #3  0x00007f76cd6bc426 __assert_fail (libc.so.6 + 0x34426)
                                                 #4  0x00007f76c96217a9 n/a (libinput.so.10 + 0x217a9)
                                                 #5  0x00007f76c96291db n/a (libinput.so.10 + 0x291db)
                                                 #6  0x00007f76c9628b3f libinput_dispatch (libinput.so.10 + 0x28b3f)
                                                 #7  0x00007f76cc574c6f n/a (libmutter-5.so.0 + 0x7cc6f)
                                                 #8  0x00007f76cd25696e n/a (libgobject-2.0.so.0 + 0x3696e)
                                                 #9  0x00007f76cd257319 g_object_new_valist (libgobject-2.0.so.0 + 0x37319)
                                                 #10 0x00007f76cd257c8a g_object_new (libgobject-2.0.so.0 + 0x37c8a)
                                                 #11 0x00007f76cc576f58 n/a (libmutter-5.so.0 + 0x7ef58)
                                                 #12 0x00007f76cc7e332b n/a (libmutter-clutter-5.so.0 + 0xbb32b)
                                                 #13 0x00007f76cc7e3998 n/a (libmutter-clutter-5.so.0 + 0xbb998)
                                                 #14 0x00007f76cd158517 g_option_context_parse (libglib-2.0.so.0 + 0x60517)
                                                 #15 0x00007f76cc7e367b clutter_init (libmutter-clutter-5.so.0 + 0xbb67b)
                                                 #16 0x00007f76cc54210c meta_clutter_init (libmutter-5.so.0 + 0x4a10c)
                                                 #17 0x00007f76cc602ce6 meta_init (libmutter-5.so.0 + 0x10ace6)
                                                 #18 0x000055b300ba8138 n/a (gnome-shell + 0x2138)
                                                 #19 0x00007f76cd6af023 __libc_start_main (libc.so.6 + 0x27023)
                                                 #20 0x000055b300ba861e n/a (gnome-shell + 0x261e)
                                                 
                                                 Stack trace of thread 791:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 795:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 790:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 787:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 789:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 783:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 762:
                                                 #0  0x00007f76cd781f8d syscall (libc.so.6 + 0xf9f8d)
                                                 #1  0x00007f76cd11511b g_cond_wait_until (libglib-2.0.so.0 + 0x1d11b)
                                                 #2  0x00007f76cd192f63 n/a (libglib-2.0.so.0 + 0x9af63)
                                                 #3  0x00007f76cd193154 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x9b154)
                                                 #4  0x00007f76cd13a02a n/a (libglib-2.0.so.0 + 0x4202a)
                                                 #5  0x00007f76cd140bb1 n/a (libglib-2.0.so.0 + 0x48bb1)
                                                 #6  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #7  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 793:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 761:
                                                 #0  0x00007f76cd77cabf __poll (libc.so.6 + 0xf4abf)
                                                 #1  0x00007f76cd164120 n/a (libglib-2.0.so.0 + 0x6c120)
                                                 #2  0x00007f76cd1641f1 g_main_context_iteration (libglib-2.0.so.0 + 0x6c1f1)
                                                 #3  0x00007f76cd164242 n/a (libglib-2.0.so.0 + 0x6c242)
                                                 #4  0x00007f76cd140bb1 n/a (libglib-2.0.so.0 + 0x48bb1)
                                                 #5  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #6  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 788:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 785:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 784:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 786:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 766:
                                                 #0  0x00007f76cd77cabf __poll (libc.so.6 + 0xf4abf)
                                                 #1  0x00007f76cd164120 n/a (libglib-2.0.so.0 + 0x6c120)
                                                 #2  0x00007f76cd1641f1 g_main_context_iteration (libglib-2.0.so.0 + 0x6c1f1)
                                                 #3  0x00007f76c49fce5e n/a (libdconfsettings.so + 0x4e5e)
                                                 #4  0x00007f76cd140bb1 n/a (libglib-2.0.so.0 + 0x48bb1)
                                                 #5  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #6  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 792:
                                                 #0  0x00007f76cba8fcf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                                                 #1  0x00007f76a9bf799c n/a (radeonsi_dri.so + 0x8f799c)
                                                 #2  0x00007f76a9bf7598 n/a (radeonsi_dri.so + 0x8f7598)
                                                 #3  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #4  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
                                                 
                                                 Stack trace of thread 763:
                                                 #0  0x00007f76cd77cabf __poll (libc.so.6 + 0xf4abf)
                                                 #1  0x00007f76cd164120 n/a (libglib-2.0.so.0 + 0x6c120)
                                                 #2  0x00007f76cd1650c3 g_main_loop_run (libglib-2.0.so.0 + 0x6d0c3)
                                                 #3  0x00007f76cd2d9bc8 n/a (libgio-2.0.so.0 + 0x59bc8)
                                                 #4  0x00007f76cd140bb1 n/a (libglib-2.0.so.0 + 0x48bb1)
                                                 #5  0x00007f76cba8946f start_thread (libpthread.so.0 + 0x946f)
                                                 #6  0x00007f76cd7873d3 __clone (libc.so.6 + 0xff3d3)
Mar 08 11:58:50 archielap wpa_supplicant[697]: dbus: wpa_dbus_property_changed: no property SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/0
Mar 08 11:58:51 archielap nm-openvpn[728]: event_wait : Interrupted system call (code=4)
Mar 08 11:58:54 archielap kernel: watchdog: watchdog0: watchdog did not stop!

Output from systemctl list-unit-files | grep enabled:

org.cups.cupsd.path                        enabled        
autovt@.service                            enabled        
dbus-org.freedesktop.nm-dispatcher.service enabled        
dbus-org.freedesktop.timesync1.service     enabled        
display-manager.service                    enabled        
gdm.service                                enabled        
getty@.service                             enabled        
NetworkManager-dispatcher.service          enabled        
NetworkManager-wait-online.service         enabled        
NetworkManager.service                     enabled        
org.cups.cupsd.service                     enabled        
sshd.service                               enabled        
systemd-fsck-root.service                  enabled-runtime
systemd-remount-fs.service                 enabled-runtime
systemd-timesyncd.service                  enabled        
org.cups.cupsd.socket                      enabled        
remote-fs.target                           enabled

This looks like an issue in libinput. You have to build a debug package yourself to get more info (yep, that’s how getting stacktraces on Arch Linux works). For that:

  • sudo pacman -S asp meson base-devel --needed
  • asp export libinput
  • cd libinput
  • Now edit the PKGBUILD file adding the line options=(debug !strip) at the top, then save
  • makepkg --skippgpcheck
  • sudo pacman -U libinput-*.pkg.tar.xz

Thank you for the reply! I just compiled. Now do I need to replicate the crash in order to see the debug info via journalctl ?

Yes, replicate the crash and post the stack trace again

I am trying to replicate it but I have rebooted 10 times with no crash. I think that maybe reinstalling libinput fixed it but we will see. Anyways, thank you for the help and if the issue crops back up I will come back and post the stack trace again.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.