Help for a that system hangs after closing "Snes9x"

I started using my desktop computer & manjaro after a long time away, more than a year. And reunited with a lot of unsolved hardware/software issues. I can’t say now if they are hardware or software related as I don’t remember how the system performed under different OSes.

The main thing bothering me ATM is the system hanging unexpectedly. While the system hangs at unpredictable times and cannot comeback from suspend, some steps are guaranteed to have the system freeze.

I have ran MemTest86+ a couple of passes without finding any issues, and keep running it over night.

Steps that reproduce a hang:

  • boot
  • start “Snes9x”, load a rom in home folder
  • close the program either using Quit or right corner “X”
    the system is now in a full panic no keyboard/mouse, screen frozen, can’t shut Xorg or go to command line terminal

In the log it seems the ‘snes9x’ application terminated succesfully.
The ‘tracker-miner-f’ reports the last entries in ‘journalctl’ could that have anything to do with it?
What should I investigate next to find the source of the problem?

System:

Linux alex-desktop 5.10.98-1-MANJARO #1 SMP PREEMPT Sun Feb 6 12:22:54 UTC 2022 x86_64 GNU/Linux

Attached the associated log file from journalctl.

fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.gnome.ControlCenter.SearchProvider' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[2073]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.gnome.Contacts.SearchProvider' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[2075]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.gnome.Nautilus' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.gnome.Calendar' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.manjaro.pamac.manager' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.gnome.Calculator.SearchProvider' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.gnome.Characters.BackgroundService' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.gnome.clocks' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.gnome.Lollypop.SearchProvider' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating service name='org.gnome.seahorse.Application' requested by ':1.15' (uid=1000 pid=1069 comm="/usr/bin/gnome-shell ")
fév 19 22:18:17 alex-desktop dbus-daemon[2089]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[2077]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[2079]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[2090]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[2081]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[2083]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[2087]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[2091]: writing oom_score_adj error: Permission denied
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.gnome.ControlCenter.SearchProvider'
fév 19 22:18:17 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.gnome.Calculator.SearchProvider'
fév 19 22:18:18 alex-desktop gnome-calculato[2083]: search-provider.vala:117: Failed to spawn Calculator: Le processus fils a été tué par le signal 9
fév 19 22:18:18 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.gnome.Characters.BackgroundService'
fév 19 22:18:18 alex-desktop systemd[1017]: Started Application launched by gnome-shell.
fév 19 22:18:18 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.gnome.clocks'
fév 19 22:18:19 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.gnome.Contacts.SearchProvider'
fév 19 22:18:19 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.gnome.seahorse.Application'
fév 19 22:18:19 alex-desktop dbus-daemon[424]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.98' (uid=1000 pid=2079 comm="/usr/bin/gnome-calendar --gapplication-service ")
fév 19 22:18:19 alex-desktop kernel: audit: type=1334 audit(1645327099.392:124): prog-id=27 op=LOAD
fév 19 22:18:19 alex-desktop kernel: audit: type=1334 audit(1645327099.392:125): prog-id=28 op=LOAD
fév 19 22:18:19 alex-desktop kernel: audit: type=1334 audit(1645327099.392:126): prog-id=29 op=LOAD
fév 19 22:18:19 alex-desktop audit: BPF prog-id=27 op=LOAD
fév 19 22:18:19 alex-desktop audit: BPF prog-id=28 op=LOAD
fév 19 22:18:19 alex-desktop audit: BPF prog-id=29 op=LOAD
fév 19 22:18:19 alex-desktop systemd[1]: Starting Time & Date Service...
fév 19 22:18:19 alex-desktop dbus-daemon[424]: [system] Successfully activated service 'org.freedesktop.timedate1'
fév 19 22:18:19 alex-desktop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
fév 19 22:18:19 alex-desktop systemd[1]: Started Time & Date Service.
fév 19 22:18:19 alex-desktop kernel: audit: type=1130 audit(1645327099.612:127): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
fév 19 22:18:20 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.gnome.Calendar'
fév 19 22:18:20 alex-desktop dbus-daemon[424]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.100' (uid=1000 pid=2075 comm="/usr/lib/gnome-contacts-search-provider ")
fév 19 22:18:20 alex-desktop systemd[1]: Bluetooth service was skipped because of a failed condition check (ConditionPathIsDirectory=/sys/class/bluetooth).
fév 19 22:18:20 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.gnome.Nautilus'
fév 19 22:18:20 alex-desktop dbus-daemon[424]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.101' (uid=1000 pid=2091 comm="/usr/bin/seahorse --gapplication-service ")
fév 19 22:18:20 alex-desktop dbus-daemon[424]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
fév 19 22:18:20 alex-desktop seahorse[2091]: DNS-SD initialization failed: Daemon not running
fév 19 22:18:21 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.manjaro.pamac.manager'
fév 19 22:18:22 alex-desktop nautilus[2077]: Connecting to org.freedesktop.Tracker3.Miner.Files
fév 19 22:18:22 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Files' unit='tracker-miner-fs-3.service' requested by ':1.107' (uid=1000 pid=2077 comm="/usr/bin/nautilus --gapplication-service ")
fév 19 22:18:22 alex-desktop systemd[1017]: Created slice User Background Tasks Slice.
fév 19 22:18:22 alex-desktop systemd[1017]: Starting Tracker file system data miner...
fév 19 22:18:23 alex-desktop dbus-daemon[424]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.103' (uid=1000 pid=2108 comm="snes9x-gtk ")
fév 19 22:18:23 alex-desktop audit: BPF prog-id=30 op=LOAD
fév 19 22:18:23 alex-desktop audit: BPF prog-id=31 op=LOAD
fév 19 22:18:23 alex-desktop kernel: audit: type=1334 audit(1645327103.102:128): prog-id=30 op=LOAD
fév 19 22:18:23 alex-desktop kernel: audit: type=1334 audit(1645327103.102:129): prog-id=31 op=LOAD
fév 19 22:18:23 alex-desktop audit: BPF prog-id=32 op=LOAD
fév 19 22:18:23 alex-desktop kernel: audit: type=1334 audit(1645327103.105:130): prog-id=32 op=LOAD
fév 19 22:18:23 alex-desktop systemd[1]: Starting Hostname Service...
fév 19 22:18:23 alex-desktop dbus-daemon[424]: [system] Successfully activated service 'org.freedesktop.hostname1'
fév 19 22:18:23 alex-desktop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
fév 19 22:18:23 alex-desktop systemd[1]: Started Hostname Service.
fév 19 22:18:23 alex-desktop kernel: audit: type=1130 audit(1645327103.215:131): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
fév 19 22:18:23 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.gnome.Lollypop.SearchProvider'
fév 19 22:18:25 alex-desktop dbus-daemon[424]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service' requested by ':1.105' (uid=1000 pid=2216 comm="/usr/lib/gvfsd-dnssd --spawner :1.16 /org/gtk/gvfs")
fév 19 22:18:25 alex-desktop dbus-daemon[424]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
fév 19 22:18:26 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.freedesktop.Tracker3.Miner.Files'
fév 19 22:18:26 alex-desktop systemd[1017]: Started Tracker file system data miner.
fév 19 22:18:31 alex-desktop gnome-shell[1069]: libinput error: event4  - Microsoft Microsoft® 2.4GHz Transceiver v9.0 Mouse: client bug: event processing lagging behind by 13ms, your system is too slow
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]: Joystick 1, Logitech RumblePad 2 USB:
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]:   12 axes, 4 buttons, 1 hats
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]: ALSA sound driver initializing...
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]:     --> (Device: default)...
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]:     --> (16-bit Stereo, 32000hz, 32 ms)...
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]:     --> Available rates: 1 to 384000
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]:     --> Available buffer sizes: 3ms to 32768ms
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]:     --> Period ranges: 3 to 32 blocks
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]: OK
fév 19 22:18:39 alex-desktop snes9x-gtk.desktop[2108]: Map_LoROMMap
fév 19 22:18:39 alex-desktop systemd[1017]: app-gnome-snes9x\x2dgtk-2108.scope: Consumed 2.312s CPU time.
fév 19 22:18:45 alex-desktop dbus-daemon[424]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
fév 19 22:18:47 alex-desktop tracker-miner-f[2194]: SQLite error: database disk image is malformed (errno: Succès)
fév 19 22:18:47 alex-desktop tracker-miner-f[2194]: SQLite error: database disk image is malformed (errno: Succès)
fév 19 22:18:47 alex-desktop tracker-miner-f[2194]: SQLite error: database disk image is malformed (errno: Succès)
fév 19 22:18:47 alex-desktop tracker-miner-f[2194]: SQLite error: database disk image is malformed (errno: Succès)
fév 19 22:18:47 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.121' (uid=1000 pid=2194 comm="/usr/lib/tracker-miner-fs-3 ")
fév 19 22:18:47 alex-desktop systemd[1017]: Starting Tracker metadata extractor...
fév 19 22:18:47 alex-desktop dbus-daemon[1035]: [session uid=1000 pid=1035] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
fév 19 22:18:47 alex-desktop systemd[1017]: Started Tracker metadata extractor.
-- Boot cfd4bf30454d4c77801895b9bf15a241 --
fév 19 22:19:52 alex-desktop kernel: microcode: microcode updated early to revision 0xd0, date = 2010-09-30
fév 19 22:19:52 alex-desktop kernel: Linux version 5.10.98-1-MANJARO (builduser@fv-az82-521) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun Feb 6 12:22:54 UTC 2022
fév 19 22:19:52 alex-desktop kernel: Command line: BOOT_IMAGE=/vmlinuz-5.10-x86_64 root=UUID=9d7922a1-6032-4a1e-95c3-aec8f235da3f rw quiet apparmor=1 security=apparmor resume=UUID=996b53c4-a02d-4d60-a2d2-5b0480524ff5 udev.log_priority=3
fév 19 22:19:52 alex-desktop kernel: x86/fpu: x87 FPU will use FXSAVE
fév 19 22:19:52 alex-desktop kernel: BIOS-provided physical RAM map:

Please post inxi -Fxz output.

From the looks of it, you had an out of memory event. That can be caused by several things.