Some time around August 7th I began experiencing random Gnome crashes in the most recent version of PureOS on a Librem 15. I can't find any commonality between the crashes - sometimes it happens when I'm not on the computer, sometimes it happens while I'm just typing into a web browser or terminal, sometimes it happens while I'm just sitting at the computer but not performing any action.
Looking in /var/log/message I see this stack trace for the most recent crash:
Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) Backtrace: Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 0: /usr/bin/Xwayland (xorg_backtrace+0x4d) [0x5632f36470cd] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 1: /usr/bin/Xwayland (0x5632f34a9000+0x1a1d89) [0x5632f364ad89] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f2331609000+0x128e0) [0x7f233161b8e0] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 3: /usr/bin/Xwayland (0x5632f34a9000+0x108cc8) [0x5632f35b1cc8] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 4: /usr/bin/Xwayland (0x5632f34a9000+0x109bf0) [0x5632f35b2bf0] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 5: /usr/bin/Xwayland (present_wnmd_event_notify+0x1de) [0x5632f35b43be] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 6: /usr/bin/Xwayland (0x5632f34a9000+0x4e4e7) [0x5632f34f74e7] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 7: /usr/lib/x86_64-linux-gnu/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f23311b2fce] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 8: /usr/lib/x86_64-linux-gnu/libffi.so.6 (ffi_call+0x22f) [0x7f23311b293f] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 9: /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x7f2332f35000+0x9184) [0x7f2332f3e184] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 10: /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x7f2332f35000+0x59d9) [0x7f2332f3a9d9] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 11: /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (wl_display_dispatch_queue_pending+0x74) [0x7f2332f3bea4] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 12: /usr/bin/Xwayland (0x5632f34a9000+0x440bb) [0x5632f34ed0bb] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 13: /usr/bin/Xwayland (0x5632f34a9000+0x1a2871) [0x5632f364b871] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 14: /usr/bin/Xwayland (WaitForSomething+0x1c3) [0x5632f36449c3] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 15: /usr/bin/Xwayland (0x5632f34a9000+0x16bcc3) [0x5632f3614cc3] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 16: /usr/bin/Xwayland (0x5632f34a9000+0x16ff18) [0x5632f3618f18] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 17: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0x7f233146eb17] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) 18: /usr/bin/Xwayland (_start+0x2a) [0x5632f34ec55a] Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) Segmentation fault at address 0x100000020 Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: Fatal server error: Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) Caught signal 11 (Segmentation fault). Server aborting Aug 15 11:05:51 librem org.gnome.Shell.desktop[24150]: (EE) Aug 15 11:05:51 librem gsd-color[24946]: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Aug 15 11:05:51 librem chromium.desktop[25657]: [25657:25657:0815/110551.753721:ERROR:chrome_browser_main_extra_parts_x11.cc(62)] X IO error received (X server probably went away) Aug 15 11:05:51 librem gsd-keyboard[24953]: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Aug 15 11:05:51 librem gsd-media-keys[24958]: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Aug 15 11:05:51 librem gsd-wacom[24934]: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Aug 15 11:05:51 librem gsd-clipboard[24943]: gsd-clipboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Aug 15 11:05:51 librem gsd-power[24904]: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Aug 15 11:05:51 librem gsd-xsettings[24925]: gsd-xsettings: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. Aug 15 11:05:51 librem gnome-shell[24150]: Connection to xwayland lost Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: Child process 24958 was already dead. Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1 Aug 15 11:05:51 librem org.gnome.SettingsDaemon.Wacom.desktop[31417]: Cannot open display: Aug 15 11:05:51 librem chromium.desktop[25657]: [25728:25728:0815/110551.752345:ERROR:sync_control_vsync_provider.cc(62)] glXGetSyncValuesOML should not return TRUE with a media stream counter of 0. Aug 15 11:05:51 librem chromium.desktop[25657]: [25728:25728:0815/110551.791226:ERROR:x11_util.cc(89)] X IO error received (X server probably went away) Aug 15 11:05:51 librem gsd-color[1207]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_BOE_jameson_1000 Aug 15 11:05:51 librem gsd-color[1207]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_BenQ_Corporation_BenQ_GW2765_RAE00892019_jameson_1000 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.Clipboard.desktop' exited with code 1 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1 Aug 15 11:05:51 librem org.gnome.SettingsDaemon.Color.desktop[31421]: Cannot open display: Aug 15 11:05:51 librem org.gnome.SettingsDaemon.MediaKeys.desktop[31419]: Cannot open display: Aug 15 11:05:51 librem org.gnome.SettingsDaemon.XSettings.desktop[31430]: Cannot open display: Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1 Aug 15 11:05:51 librem gnome-session[24120]: gnome-session-binary[24120]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1 Aug 15 11:05:51 librem org.gnome.SettingsDaemon.Keyboard.desktop[31431]: Cannot open display: Aug 15 11:05:51 librem org.gnome.SettingsDaemon.Clipboard.desktop[31432]: Cannot open display: Aug 15 11:05:53 librem gnome-shell[1090]: g_dbus_connection_signal_unsubscribe: assertion 'G_IS_DBUS_CONNECTION (connection)' failed Aug 15 11:05:53 librem gnome-shell[1090]: g_dbus_connection_signal_unsubscribe: assertion 'G_IS_DBUS_CONNECTION (connection)' failed Aug 15 11:05:53 librem gnome-shell[1090]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed Aug 15 11:06:00 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:00 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:02 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:02 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:02 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:02 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:02 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:03 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:03 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:03 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:03 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:03 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:03 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:03 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:09 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:09 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:11 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13#012setQuestion@resource:///org/gnome/shell/gdm/authPrompt.js:357:9#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_onAskQuestion@resource:///org/gnome/shell/gdm/authPrompt.js:201:9#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_emit@resource:///org/gnome/gjs/modules/signals.js:128:27#012_onSecretInfoQuery@resource:///org/gnome/shell/gdm/util.js:510:9#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 Aug 15 11:06:12 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:12 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:12 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:12 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:12 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:12 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:12 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:12 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:13 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:13 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:13 librem gnome-shell[1090]: JS ERROR: TypeError: this._currentWindow is null#012_setCurrentRect@resource:///org/gnome/shell/ui/keyboard.js:536:13#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:503:13 Aug 15 11:06:16 librem gnome-shell[1090]: g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed