[RESPONDED] Ubuntu crash and restart cycle

My 11th Gen Framework 13 DIY edition, after years of being very stable, has in the past couple of weeks started crashing and restarting annoyingly often, up to several times per day, sometimes after just minutes rather than hours of uptime. The manifestation is that the screen will suddenly get an overlay of red and green pixelation, the OS will freeze, and after a minute of freezing the system will restart.

Any tips on diagnosing this? I am running Ubuntu 22.04.3 LTS jammy and have made no recent OS upgrades or other software upgrades, nor have I changed the hardware configuration at all. I did upgrade Chrome to the latest version when I first noticed the crashes, because I thought the issue might be somehow related to Chrome browser tabs, but it’s still crashing regularly even with the latest version.

In case it helps, btw, here is the output from journalctl -b -1 -p err:
Apr 20 08:00:27 nweininger-Laptop systemd-udevd[349]: /etc/udev/rules.d/60-brother-brscan4-libsane-type1.rules:9 Invalid key ‘SYSFS’
Apr 20 08:00:27 nweininger-Laptop kernel: cros-usbpd-charger cros-usbpd-charger.2.auto: Unexpected number of charge port count
Apr 20 08:00:27 nweininger-Laptop kernel: iwlwifi 0000:aa:00.0: WRT: Invalid buffer destination
Apr 20 08:00:28 nweininger-Laptop avahi-daemon[786]: chroot.c: open() failed: No such file or directory
Apr 20 08:00:28 nweininger-Laptop kernel: iwlwifi 0000:aa:00.0: WRT: Invalid buffer destination
Apr 20 08:00:28 nweininger-Laptop thermald[764]: Unsupported condition 58 (UKNKNOWN)
Apr 20 08:00:28 nweininger-Laptop thermald[764]: Unsupported condition 58 (UKNKNOWN)
Apr 20 08:00:28 nweininger-Laptop thermald[764]: Unsupported condition 58 (UKNKNOWN)
Apr 20 08:00:28 nweininger-Laptop thermald[764]: Unsupported conditions are present
Apr 20 08:00:28 nweininger-Laptop kernel: ACPI BIOS Error (bug): Could not resolve symbol [_TZ.ETMD], AE_NOT_FOUND (20230331/psargs-330)
Apr 20 08:00:28 nweininger-Laptop kernel: ACPI Error: Aborting method _SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20230331/psparse-529)
Apr 20 08:00:29 nweininger-Laptop pulseaudio[1282]: Failed to find a working profile.
Apr 20 08:00:29 nweininger-Laptop pulseaudio[1282]: Failed to load module “module-alsa-card” (argument: "device_id=“3” name=“usb-CME_Xkey_1577334E3638-00” card_name="alsa_card.usb>
Apr 20 08:00:29 nweininger-Laptop pulseaudio[1329]: Failed to find a working profile.
Apr 20 08:00:29 nweininger-Laptop pulseaudio[1329]: Failed to load module “module-alsa-card” (argument: "device_id=“3” name=“usb-CME_Xkey_1577334E3638-00” card_name="alsa_card.usb>
Apr 20 08:00:31 nweininger-Laptop gnome-session-binary[1422]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion ‘error == NULL || *error == NULL’ failed
Apr 20 08:00:31 nweininger-Laptop gnome-session-binary[1422]: GLib-GIO-CRITICAL: g_bus_get_sync: assertion ‘error == NULL || *error == NULL’ failed
Apr 20 08:00:33 nweininger-Laptop hpfax[1518]: [1518]: error: Failed to create /var/spool/cups/tmp/.hplip
Apr 20 08:00:43 nweininger-Laptop pulseaudio[1793]: Failed to find a working profile.
Apr 20 08:00:43 nweininger-Laptop pulseaudio[1793]: Failed to load module “module-alsa-card” (argument: "device_id=“3” name=“usb-CME_Xkey_1577334E3638-00” card_name="alsa_card.usb>
Apr 20 08:00:44 nweininger-Laptop gdm-password][1779]: gkr-pam: unable to locate daemon control file
Apr 20 08:00:45 nweininger-Laptop pulseaudio[1852]: Failed to find a working profile.
Apr 20 08:00:45 nweininger-Laptop pulseaudio[1852]: Failed to load module “module-alsa-card” (argument: "device_id=“3” name=“usb-CME_Xkey_1577334E3638-00” card_name="alsa_card.usb>
Apr 20 08:00:48 nweininger-Laptop systemd[1801]: Failed to start Application launched by gnome-session-binary.
Apr 20 08:00:48 nweininger-Laptop systemd[1801]: Failed to start Application launched by gnome-session-binary.
Apr 20 08:00:48 nweininger-Laptop systemd[1801]: Failed to start Application launched by gnome-session-binary.
Apr 20 08:00:54 nweininger-Laptop gdm-launch-environment][1166]: GLib-GObject: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
Apr 20 08:00:58 nweininger-Laptop pulseaudio[3229]: Failed to find a working profile.
Apr 20 08:00:58 nweininger-Laptop pulseaudio[3229]: Failed to load module “module-alsa-card” (argument: "device_id=“3” name=“usb-CME_Xkey_1577334E3638-00” card_name="alsa_card.usb>
Apr 20 20:14:29 nweininger-Laptop kernel: cros_ec_lpcs cros_ec_lpcs.0: packet too long (64768 bytes, expected 0)
Apr 21 07:00:14 nweininger-Laptop hpfax[6641]: [6641]: error: Failed to create /var/spool/cups/tmp/.hplip

I have an 11th Gen batch 2 and it would randomly crash about once a month for the first two years. It turns out that I had a bad memory module. So I would suggest running a memory test and maybe reseating the memory if it doesn’t pass as a first step.

1 Like

Thanks. What memory test did you use to find your bad module? memtester 1024 2 passed for me, and I can’t seem to get to a grub menu for memtest86+ at boot, either by holding down shift or pressing it repeatedly.

I think I hit F12, but don’t recall.

Try to let memtest86+ run overnight or maybe even longer.

It should be included in the Ubuntu ISO, if you can’t find it.

Also check the SSD via Disk utility for file system damage for good measure.