Message "A problem has occurred and the system can’t recover" after wake up from sleep

Acer Aspire E15 (E5-573G-P6ED) with NVIDIA GeForce 920M

Performed system upgrade from Fedora 38 to 39:

dnf upgrade --refresh
dnf system-upgrade download --releasever=39

There were no issues encountered during the system upgrade. Everything went smoothly, even the NVIDIA drivers were installed, and everything works fine.

However, when the system wakes up from sleep, the following message appears:

Oh no! Something has gone wrong.
A problem has occured and the system can’t recover.
Please log out and try again.

After logging out and logging back in, everything works fine again. This is quite annoying, and I’d like to fix it if possible. Does anyone have a suggestion on how to do this?

Can you take a look at the logs after you get back logged in.
journalctl -b -p4 --since -10m

Depending on how long it takes to get logged in you may need to increase the 10 minutes.

3 Likes

Yes, it does fit within 10 minutes. This is the journal segment after initiating wakeup from sleep: download link to journalctl_10m.txt

There’s a lot of information inside, and it doesn’t look so good to me at all.
By the way, what should I be looking for?

This seems quite severe:
Jun 24 12:50:16 E5-573G-ACER gnome-shell[2610]: Received an X Window System error.

Added f39 and removed f38, nvidia

I’ve asked ChatGPT to help me analyze the journalctl output and identify potential issues and here’s the answer:

The journalctl_10m.txt log file seems to contain system messages primarily related to the GNOME Display Manager (GDM), which manages the user sessions and graphical login screen. Let’s break down the critical sections and identify potential issues:

  1. GDM Starting and Session Management:

    • The log indicates the start of GDM and the handling of user sessions. There are entries showing “Gdm: GdmDisplay: Session never registered” and “gdm-password]: gkr-pam: unable to locate daemon control file”, which suggests problems with session management or PAM (Pluggable Authentication Modules) configuration.
  2. X11 Session Management:

    • There are multiple entries for the X11 session starting, but soon after, the system logs messages indicating “gdm-session-worker]: GLib-GObject: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed”. This error points to potential memory management issues within the GNOME components or extensions.
  3. GDM Child Process Exits:

    • Frequent log entries showing gdm: Child process [PID] was already dead. and GdmDisplay: Session never registered indicate recurring issues with the child processes that GDM spawns. This might be due to crashes or failed initializations of components.
  4. Authentication Issues:

    • Entries like gkr-pam: unable to locate daemon control file and gkr-pam: stashed password to try later in open session suggest problems with the GNOME Keyring or PAM integration. These messages indicate that the PAM modules cannot correctly interact with the GNOME Keyring daemon, affecting user authentication.
  5. Graphics and X11 Errors:

    • The log includes several entries related to X11, including “audit: type=1107 audit(…): pid=…” and “gdm-x-session[1381]: (–) Log file renamed from…” These messages might indicate issues with the X11 server configuration or interactions with the graphics hardware/drivers.
  6. Gnome Settings Daemon Errors:

    • Errors related to GNOME settings daemon, like “gnome-settings-daemon: Failed to get session type: Cannot autolaunch D-Bus without X11 $DISPLAY”, suggest that GNOME settings components cannot correctly initialize or communicate over D-Bus.

Recommendations:

  1. Check PAM and GNOME Keyring Configuration:

    • Verify that the PAM configuration files for GDM are correctly set up, ensuring that the GNOME Keyring is appropriately integrated. Ensure the daemon control file exists and has the correct permissions.
  2. Review GNOME and X11 Configuration:

    • Ensure that GNOME and X11 configurations are correct. Check for any missing or misconfigured settings in the X11 configuration files.
  3. Update or Reinstall GNOME and Related Packages:

    • Ensure that all GNOME and related packages (e.g., gdm, gnome-shell, gnome-keyring) are up-to-date. Reinstalling these packages might resolve some issues if they are due to corrupted files.
  4. Monitor and Debug Child Processes:

    • Use tools like strace or gdb to monitor the child processes that GDM spawns to identify where they might be failing.
  5. Check System Resources:

    • Ensure that the system has enough resources (memory, CPU) to handle GNOME’s demands. Resource shortages can sometimes cause erratic behavior in session management.

systemd-coredump[4138]: Process 2610 (gnome-shell) of user 1000 dumped core.

gnome-shell is crashing

I would make sure your system is completely up to date:
sudo dnf distro-sync --refresh

Try disabling any gnome-extensions if you have them running.

Provide some additional information about your system:
fpaste --sysinfo --printonly

lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {}

4 Likes

sudo dnf distro-sync --refresh didn’t add anything, which is logical as the system-upgrade is completed yesterday.

Dependencies resolved.
Nothing to do.
Complete!

I didn’t install any gnome-extensions, this system is very minimal (only browser, mail client, and libreoffice)

fpaste --sysinfo --printonly can be retrieved here: download link to fpaste_out.txt

nantke@E5-573G-ACER:~$ lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {}
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])
	Subsystem: Acer Incorporated [ALI] Device 0987
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at b3400000 (64-bit, non-prefetchable) [size=4M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 5000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

Full content lspci -v can be retrieved here: download link to lspci_out.txt

The problem is caused by the touchpad (device 12).

nantke@E5-573G-ACER:~$ grep gnome-shell journalctl_10m.txt 
Jun 24 12:48:52 E5-573G-ACER gnome-shell[2610]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x563fec30b600] is on because it needs an allocation.
Jun 24 12:48:52 E5-573G-ACER gnome-shell[2610]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x563fec319a90] is on because it needs an allocation.
Jun 24 12:48:52 E5-573G-ACER gnome-shell[2610]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x563fec30b600] is on because it needs an allocation.
Jun 24 12:48:52 E5-573G-ACER gnome-shell[2610]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x563fec319a90] is on because it needs an allocation.
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Accel Speed" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Natural Scrolling Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Left Handed Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Left Handed Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Tapping Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Tapping Button Mapping Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Tapping Drag Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Tapping Drag Lock Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Disable While Typing Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Send Events Mode Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Scroll Method Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Scroll Method Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Scroll Method Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Click Method Enabled" with X error 8
Jun 24 12:49:20 E5-573G-ACER gnome-shell[2610]: XIChangeProperty failed on device 12 property "libinput Middle Emulation Enabled" with X error 8
Jun 24 12:50:16 E5-573G-ACER gnome-shell[2610]: Received an X Window System error.
Jun 24 12:50:47 E5-573G-ACER systemd-coredump[4138]: Process 2610 (gnome-shell) of user 1000 dumped core.
nantke@E5-573G-ACER:~$ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ ELAN0501:00 04F3:300B Mouse             	id=11	[slave  pointer  (2)]
⎜   ↳ ELAN0501:00 04F3:300B Touchpad          	id=12	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Power Button                            	id=9	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=10	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=13	[slave  keyboard (3)]
    ↳ Acer WMI hotkeys                        	id=14	[slave  keyboard (3)]

.

If I stay away from the touchpad during the login session after waking up from sleep, X Window doesn’t crash. This means navigating to the login field and entering the password using only the keyboard, without getting anywhere near the touchpad.

1 Like

The issue is fixed with kernel-6.9.6-100.fc39.x86_64

1 Like