You are not logged in.

#1 2022-02-19 18:24:53

Spory
Member
Registered: 2022-02-19
Posts: 4

[SOLVED] Program Freezes, dmesg "BUG: kernel NULL pointer dereference"

Occasionally when playing video games or running multiple programs at once, the program currently active will freeze. My system is fully updated (pacman -Syu). Sometimes just the current program freezes, sometimes the entire computer will freeze and force me to hard restart. I'm able to reproduce the bug pretty easily by playing Noita for about 15 minutes. I was able to find two error messages throug dmesg when noita.exe froze:

[  937.766905] BUG: kernel NULL pointer dereference, address: 00000000000000a8
[  937.766910] #PF: supervisor read access in kernel mode
[  937.766912] #PF: error_code(0x0000) - not-present page
[  937.766913] PGD 0 P4D 0 
[  937.766915] Oops: 0000 [#1] PREEMPT SMP NOPTI
[  937.766917] CPU: 5 PID: 5160 Comm: systemd-tmpfile Tainted: P           OE     5.16.8-arch1-1 #1 c249e266f58b465060ccebc4c6a7c18b3fb76f91
[  937.766920] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./N7 B550, BIOS P1.50 08/04/2021
[  937.766921] RIP: 0010:errseq_sample+0x0/0x10
[  937.766925] Code: 5c c3 4c 29 e5 4c 89 e2 31 f6 48 8d 3c 2b e8 77 25 09 00 4c 89 e0 5b 5d 41 5c c3 49 89 ec eb d5 cc cc cc cc cc cc cc cc cc cc <8b> 07 31 d2 f6 c4 10 0f 44 c2 c3 0f 1f 44 00 00 8b 17 31 c0 39 16
[  937.766927] RSP: 0018:ffffb87501603c98 EFLAGS: 00010202
[  937.766929] RAX: 0000000100000000 RBX: ffff8f96f830ca00 RCX: 0000000200000000
[  937.766930] RDX: 0000000100000000 RSI: 0000000200000000 RDI: 00000000000000a8
[  937.766931] RBP: ffff8f97190c2178 R08: ffff8f954524d2e0 R09: ffff8f96090555c0
[  937.766933] R10: ffff8f96090555c0 R11: 382d4654552e6564 R12: 0000000000078800
[  937.766934] R13: 0000000000000000 R14: ffff8f96f830ca10 R15: 0000000000000000
[  937.766935] FS:  00007fba19ec4a40(0000) GS:ffff8f9c5eb40000(0000) knlGS:0000000000000000
[  937.766936] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  937.766938] CR2: 00000000000000a8 CR3: 00000002cb976000 CR4: 0000000000350ee0
[  937.766939] Call Trace:
[  937.766941]  <TASK>
[  937.766942]  do_dentry_open+0x3f/0x3a0
[  937.766947]  path_openat+0xba6/0x1020
[  937.766951]  ? _copy_to_user+0x1c/0x30
[  937.766953]  do_filp_open+0xa5/0x150
[  937.766956]  do_sys_openat2+0xb0/0x170
[  937.766959]  __x64_sys_openat+0x53/0x90
[  937.766961]  do_syscall_64+0x5c/0x80
[  937.766963]  ? exc_page_fault+0x72/0x170
[  937.766966]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[  937.766969] RIP: 0033:0x7fba1a8a6086
[  937.766971] Code: c0 f6 c2 40 75 4e 89 d0 45 31 d2 25 00 00 41 00 3d 00 00 41 00 74 3d 64 8b 04 25 18 00 00 00 85 c0 75 61 b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 9e 00 00 00 48 8b 54 24 38 64 48 2b 14 25
[  937.766972] RSP: 002b:00007ffc695f1500 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[  937.766974] RAX: ffffffffffffffda RBX: 000055ebb020f623 RCX: 00007fba1a8a6086
[  937.766975] RDX: 00000000000f0800 RSI: 000055ebb020f623 RDI: 0000000000000004
[  937.766976] RBP: 00007ffc695f17b0 R08: 0000000000000000 R09: 0000000000000000
[  937.766977] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[  937.766978] R13: 000055ebb020ab30 R14: 000055ebb020f5c0 R15: 0000000000000004
[  937.766981]  </TASK>
[  937.766981] Modules linked in: ccm joydev mousedev usbhid nct6775 hwmon_vid vfat fat intel_rapl_msr intel_rapl_common iwlmvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi mac80211 edac_mce_amd wl(POE) snd_hda_intel snd_intel_dspcfg libarc4 kvm_amd snd_intel_sdw_acpi amdgpu wmi_bmof snd_hda_codec iwlwifi kvm r8169 snd_hda_core irqbypass crct10dif_pclmul snd_hwdep crc32_pclmul cfg80211 snd_pcm ghash_clmulni_intel aesni_intel realtek sp5100_tco crypto_simd mdio_devres snd_timer cryptd gpu_sched rapl ccp snd libphy rfkill drm_ttm_helper k10temp i2c_piix4 soundcore ttm tpm_crb wmi tpm_tis tpm_tis_core gpio_amdpt tpm acpi_cpufreq gpio_generic pinctrl_amd rng_core mac_hid pkcs8_key_parser ipmi_devintf ipmi_msghandler crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 xhci_pci crc32c_intel xhci_pci_renesas
[  937.767023] CR2: 00000000000000a8
[  937.767024] ---[ end trace edc244c361e3a1ce ]---
[  937.767026] RIP: 0010:errseq_sample+0x0/0x10
[  937.767027] Code: 5c c3 4c 29 e5 4c 89 e2 31 f6 48 8d 3c 2b e8 77 25 09 00 4c 89 e0 5b 5d 41 5c c3 49 89 ec eb d5 cc cc cc cc cc cc cc cc cc cc <8b> 07 31 d2 f6 c4 10 0f 44 c2 c3 0f 1f 44 00 00 8b 17 31 c0 39 16
[  937.767028] RSP: 0018:ffffb87501603c98 EFLAGS: 00010202
[  937.767030] RAX: 0000000100000000 RBX: ffff8f96f830ca00 RCX: 0000000200000000
[  937.767031] RDX: 0000000100000000 RSI: 0000000200000000 RDI: 00000000000000a8
[  937.767032] RBP: ffff8f97190c2178 R08: ffff8f954524d2e0 R09: ffff8f96090555c0
[  937.767033] R10: ffff8f96090555c0 R11: 382d4654552e6564 R12: 0000000000078800
[  937.767034] R13: 0000000000000000 R14: ffff8f96f830ca10 R15: 0000000000000000
[  937.767035] FS:  00007fba19ec4a40(0000) GS:ffff8f9c5eb40000(0000) knlGS:0000000000000000
[  937.767036] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  937.767037] CR2: 00000000000000a8 CR3: 00000002cb976000 CR4: 0000000000350ee0
[  937.767769] audit: type=1130 audit(1645291891.906:141): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
[ 1531.758571] audit: type=1334 audit(1645292485.899:142): prog-id=52 op=LOAD
[ 1531.758729] audit: type=1334 audit(1645292485.899:143): prog-id=53 op=LOAD
[ 1531.758797] audit: type=1334 audit(1645292485.899:144): prog-id=54 op=LOAD
[ 1531.781455] audit: type=1130 audit(1645292485.919:145): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1561.831215] audit: type=1131 audit(1645292515.969:146): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1561.932890] audit: type=1334 audit(1645292516.072:147): prog-id=0 op=UNLOAD
[ 1561.932900] audit: type=1334 audit(1645292516.072:148): prog-id=0 op=UNLOAD
[ 1561.932905] audit: type=1334 audit(1645292516.072:149): prog-id=0 op=UNLOAD
[ 1592.139126] audit: type=1701 audit(1645292546.279:150): auid=1000 uid=1000 gid=1002 ses=1 pid=809 comm="Thunar" exe="/usr/bin/thunar" sig=6 res=1
[ 1592.143073] audit: type=1334 audit(1645292546.282:151): prog-id=55 op=LOAD
[ 1592.143213] audit: type=1334 audit(1645292546.282:152): prog-id=56 op=LOAD
[ 1592.143291] audit: type=1334 audit(1645292546.282:153): prog-id=57 op=LOAD
[ 1592.144026] audit: type=1130 audit(1645292546.282:154): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-5307-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1592.244881] audit: type=1131 audit(1645292546.386:155): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-5307-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1592.351527] audit: type=1334 audit(1645292546.492:156): prog-id=0 op=UNLOAD
[ 1592.351536] audit: type=1334 audit(1645292546.492:157): prog-id=0 op=UNLOAD
[ 1592.351539] audit: type=1334 audit(1645292546.492:158): prog-id=0 op=UNLOAD
[ 2272.147295] ------------[ cut here ]------------
[ 2272.147301] WARNING: CPU: 5 PID: 0 at kernel/rcu/tree.c:613 rcu_eqs_enter.constprop.0+0x9c/0xa0
[ 2272.147308] Modules linked in: ccm joydev mousedev usbhid nct6775 hwmon_vid vfat fat intel_rapl_msr intel_rapl_common iwlmvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi mac80211 edac_mce_amd wl(POE) snd_hda_intel snd_intel_dspcfg libarc4 kvm_amd snd_intel_sdw_acpi amdgpu wmi_bmof snd_hda_codec iwlwifi kvm r8169 snd_hda_core irqbypass crct10dif_pclmul snd_hwdep crc32_pclmul cfg80211 snd_pcm ghash_clmulni_intel aesni_intel realtek sp5100_tco crypto_simd mdio_devres snd_timer cryptd gpu_sched rapl ccp snd libphy rfkill drm_ttm_helper k10temp i2c_piix4 soundcore ttm tpm_crb wmi tpm_tis tpm_tis_core gpio_amdpt tpm acpi_cpufreq gpio_generic pinctrl_amd rng_core mac_hid pkcs8_key_parser ipmi_devintf ipmi_msghandler crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 xhci_pci crc32c_intel xhci_pci_renesas
[ 2272.147349] CPU: 5 PID: 0 Comm: swapper/5 Tainted: P      D    OE     5.16.8-arch1-1 #1 c249e266f58b465060ccebc4c6a7c18b3fb76f91
[ 2272.147351] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./N7 B550, BIOS P1.50 08/04/2021
[ 2272.147353] RIP: 0010:rcu_eqs_enter.constprop.0+0x9c/0xa0
[ 2272.147355] Code: 5c 04 00 00 85 c0 75 05 e8 b1 ee 5b ff 48 c7 83 18 01 00 00 00 00 00 00 5b e9 e0 fe ff ff 8b 87 60 04 00 00 85 c0 74 e5 eb cb <0f> 0b eb 83 48 c7 c0 40 26 03 00 65 48 03 05 31 8f ab 52 48 8b 90
[ 2272.147357] RSP: 0018:ffffb8750011fe98 EFLAGS: 00010087
[ 2272.147359] RAX: 4000000000000000 RBX: ffff8f9c5eb72640 RCX: 000000000000001f
[ 2272.147360] RDX: 0000000000000000 RSI: 0000000020e1d712 RDI: fffffffb365d5d5d
[ 2272.147361] RBP: ffff8f9541b6f000 R08: 00000211068844e6 R09: 0000000000000001
[ 2272.147362] R10: 0000000000003410 R11: 0000000000001708 R12: ffffffffae74e6e0
[ 2272.147363] R13: ffffffffae74e7c8 R14: 0000000000000002 R15: 0000000000000000
[ 2272.147365] FS:  0000000000000000(0000) GS:ffff8f9c5eb40000(0000) knlGS:0000000000000000
[ 2272.147366] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2272.147367] CR2: 000014e58d32a008 CR3: 0000000155950000 CR4: 0000000000350ee0
[ 2272.147369] Call Trace:
[ 2272.147370]  <TASK>
[ 2272.147371]  cpuidle_enter_state+0x2b2/0x370
[ 2272.147375]  cpuidle_enter+0x29/0x40
[ 2272.147377]  do_idle+0x1e1/0x260
[ 2272.147380]  cpu_startup_entry+0x19/0x20
[ 2272.147382]  secondary_startup_64_no_verify+0xc2/0xcb
[ 2272.147386]  </TASK>
[ 2272.147387] ---[ end trace edc244c361e3a1cf ]---
[ 2274.724649] ------------[ cut here ]------------
[ 2274.724656] WARNING: CPU: 5 PID: 6308 at kernel/rcu/tree.c:447 rcu_is_cpu_rrupt_from_idle+0x29/0x40
[ 2274.724664] Modules linked in: ccm joydev mousedev usbhid nct6775 hwmon_vid vfat fat intel_rapl_msr intel_rapl_common iwlmvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi mac80211 edac_mce_amd wl(POE) snd_hda_intel snd_intel_dspcfg libarc4 kvm_amd snd_intel_sdw_acpi amdgpu wmi_bmof snd_hda_codec iwlwifi kvm r8169 snd_hda_core irqbypass crct10dif_pclmul snd_hwdep crc32_pclmul cfg80211 snd_pcm ghash_clmulni_intel aesni_intel realtek sp5100_tco crypto_simd mdio_devres snd_timer cryptd gpu_sched rapl ccp snd libphy rfkill drm_ttm_helper k10temp i2c_piix4 soundcore ttm tpm_crb wmi tpm_tis tpm_tis_core gpio_amdpt tpm acpi_cpufreq gpio_generic pinctrl_amd rng_core mac_hid pkcs8_key_parser ipmi_devintf ipmi_msghandler crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 xhci_pci crc32c_intel xhci_pci_renesas
[ 2274.724724] CPU: 5 PID: 6308 Comm: CIPCServer::Thr Tainted: P      D W  OE     5.16.8-arch1-1 #1 c249e266f58b465060ccebc4c6a7c18b3fb76f91
[ 2274.724728] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./N7 B550, BIOS P1.50 08/04/2021
[ 2274.724730] RIP: 0010:rcu_is_cpu_rrupt_from_idle+0x29/0x40
[ 2274.724734] Code: 00 0f 1f 44 00 00 31 c0 65 48 8b 15 b1 5d 51 53 48 83 fa 01 7f 28 48 85 d2 75 11 65 48 8b 04 25 c0 fb 01 00 f6 40 2c 02 75 02 <0f> 0b 65 48 8b 05 85 5d 51 53 48 85 c0 0f 94 c0 0f b6 c0 c3 c3 66
[ 2274.724737] RSP: 0000:ffffb87500533d50 EFLAGS: 00210046
[ 2274.724739] RAX: ffff8f978700e000 RBX: ffff8f9c5eb60b40 RCX: 000000005b56eb48
[ 2274.724742] RDX: 0000000000000000 RSI: ffff8f9545c88440 RDI: 0000000000000001
[ 2274.724744] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
[ 2274.724745] R10: 0000000000000000 R11: 0000000000000000 R12: 00000211a024ca0f
[ 2274.724747] R13: ffffb87500533f58 R14: ffff8f9c5eb63080 R15: ffff8f9c5eb635a0
[ 2274.724749] FS:  0000000000000000(0000) GS:ffff8f9c5eb40000(0063) knlGS:00000000dfaffac0
[ 2274.724752] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[ 2274.724754] CR2: 0000000001521fb8 CR3: 0000000155950000 CR4: 0000000000350ee0
[ 2274.724756] Call Trace:
[ 2274.724758]  <TASK>
[ 2274.724759]  rcu_sched_clock_irq+0x4cf/0x950
[ 2274.724765]  ? do_futex+0xef/0x1f0
[ 2274.724769]  ? __ia32_sys_futex_time32+0x91/0x1e0
[ 2274.724774]  update_process_times+0x8c/0xc0
[ 2274.724779]  tick_sched_handle+0x22/0x60
[ 2274.724782]  tick_sched_timer+0x7a/0xa0
[ 2274.724785]  ? can_stop_idle_tick+0x90/0x90
[ 2274.724788]  __hrtimer_run_queues+0x12a/0x2c0
[ 2274.724793]  hrtimer_interrupt+0xfc/0x210
[ 2274.724797]  ? __do_fast_syscall_32+0x99/0xe0
[ 2274.724801]  __sysvec_apic_timer_interrupt+0x5c/0x100
[ 2274.724805]  sysvec_apic_timer_interrupt+0x37/0x90
[ 2274.724808]  ? asm_sysvec_apic_timer_interrupt+0xa/0x20
[ 2274.724811]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[ 2274.724813] RIP: 0023:0xf799aa5f
[ 2274.724816] Code: ef d2 66 0f ef db 8d 74 26 00 90 66 0f 74 40 10 66 0f d7 d0 85 d2 75 34 66 0f 74 48 20 66 0f d7 d1 85 d2 75 34 66 0f 74 50 30 <66> 0f d7 d2 85 d2 75 34 66 0f 74 58 40 66 0f d7 d3 8d 40 40 85 d2
[ 2274.724818] RSP: 002b:00000000dfaed6d4 EFLAGS: 00200246
[ 2274.724821] RAX: 00000000c92327e0 RBX: 00000000d8a87bec RCX: 0000000000000020
[ 2274.724822] RDX: 0000000000000000 RSI: 00000000c92327e0 RDI: 00000000c92327e0
[ 2274.724824] RBP: 00000000dfaed934 R08: 0000000000000000 R09: 0000000000000000
[ 2274.724826] R10: 0000000000000000 R11: 0000000000200246 R12: 0000000000000000
[ 2274.724827] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 2274.724831]  </TASK>
[ 2274.724832] ---[ end trace edc244c361e3a1d0 ]---

and

[ 2542.395584] noita.exe: Corrupted page table at address 17161d88
[ 2542.395591] PGD 11fd7e067 P4D 11fd7e067 PUD 2b195a067 PMD 35f20f067 PTE 1ac56eba11b867
[ 2542.395595] Bad pagetable: 000d [#2] PREEMPT SMP NOPTI
[ 2542.395597] CPU: 0 PID: 7848 Comm: noita.exe Tainted: P      D W  OE     5.16.8-arch1-1 #1 c249e266f58b465060ccebc4c6a7c18b3fb76f91
[ 2542.395600] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./N7 B550, BIOS P1.50 08/04/2021
[ 2542.395602] RIP: 0023:0x18c21cc
[ 2542.395605] Code: ec 81 ec 10 01 00 00 a1 e4 21 9a 01 33 c5 89 45 fc 8b 45 1c 56 8b f1 8b 4d 20 57 8b 7d 08 89 bd f4 fe ff ff 89 8d f0 fe ff ff <3b> 46 50 75 28 85 c9 0f 84 04 02 00 00 8b 46 54 c1 e8 11 f6 d0 24
[ 2542.395606] RSP: 002b:0000000014bfde7c EFLAGS: 00010206
[ 2542.395608] RAX: 00000000000088ab RBX: 0000000014bfdfcf RCX: 0000000014bfdfcf
[ 2542.395610] RDX: 00000000000088ab RSI: 0000000017161d38 RDI: 0000000012340590
[ 2542.395611] RBP: 0000000014bfdf94 R08: 0000000000000000 R09: 0000000000000000
[ 2542.395612] R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000
[ 2542.395613] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 2542.395614] FS:  000000000f852000 GS:  0000000014c03ac0
[ 2542.395615] Modules linked in: ccm joydev mousedev usbhid nct6775 hwmon_vid vfat fat intel_rapl_msr intel_rapl_common iwlmvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi mac80211 edac_mce_amd wl(POE) snd_hda_intel snd_intel_dspcfg libarc4 kvm_amd snd_intel_sdw_acpi amdgpu wmi_bmof snd_hda_codec iwlwifi kvm r8169 snd_hda_core irqbypass crct10dif_pclmul snd_hwdep crc32_pclmul cfg80211 snd_pcm ghash_clmulni_intel aesni_intel realtek sp5100_tco crypto_simd mdio_devres snd_timer cryptd gpu_sched rapl ccp snd libphy rfkill drm_ttm_helper k10temp i2c_piix4 soundcore ttm tpm_crb wmi tpm_tis tpm_tis_core gpio_amdpt tpm acpi_cpufreq gpio_generic pinctrl_amd rng_core mac_hid pkcs8_key_parser ipmi_devintf ipmi_msghandler crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 xhci_pci crc32c_intel xhci_pci_renesas
[ 2542.395658] ---[ end trace edc244c361e3a1d1 ]---
[ 2542.395659] RIP: 0010:errseq_sample+0x0/0x10
[ 2542.395664] Code: 5c c3 4c 29 e5 4c 89 e2 31 f6 48 8d 3c 2b e8 77 25 09 00 4c 89 e0 5b 5d 41 5c c3 49 89 ec eb d5 cc cc cc cc cc cc cc cc cc cc <8b> 07 31 d2 f6 c4 10 0f 44 c2 c3 0f 1f 44 00 00 8b 17 31 c0 39 16
[ 2542.395665] RSP: 0018:ffffb87501603c98 EFLAGS: 00010202
[ 2542.395666] RAX: 0000000100000000 RBX: ffff8f96f830ca00 RCX: 0000000200000000
[ 2542.395667] RDX: 0000000100000000 RSI: 0000000200000000 RDI: 00000000000000a8
[ 2542.395668] RBP: ffff8f97190c2178 R08: ffff8f954524d2e0 R09: ffff8f96090555c0
[ 2542.395669] R10: ffff8f96090555c0 R11: 382d4654552e6564 R12: 0000000000078800
[ 2542.395670] R13: 0000000000000000 R14: ffff8f96f830ca10 R15: 0000000000000000
[ 2542.395672] FS:  000000000f852000(0063) GS:ffff8f9c5ea00000(006b) knlGS:0000000014c03ac0
[ 2542.395673] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[ 2542.395674] CR2: 0000000017161d88 CR3: 0000000366038000 CR4: 0000000000350ef0
[ 2572.084161] audit: type=1100 audit(1645293526.223:159): pid=7884 uid=1000 auid=1000 ses=1 msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="ernst" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2572.084212] audit: type=1101 audit(1645293526.223:160): pid=7884 uid=1000 auid=1000 ses=1 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="ernst" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2572.084617] audit: type=1110 audit(1645293526.226:161): pid=7884 uid=1000 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2572.085769] audit: type=1105 audit(1645293526.226:162): pid=7884 uid=1000 auid=1000 ses=1 msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2572.097237] audit: type=1106 audit(1645293526.236:163): pid=7884 uid=1000 auid=1000 ses=1 msg='op=PAM:session_close grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2572.097253] audit: type=1104 audit(1645293526.236:164): pid=7884 uid=1000 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2622.413341] audit: type=1701 audit(1645293576.553:165): auid=1000 uid=1000 gid=1002 ses=1 pid=1499 comm="xfce4-terminal" exe="/usr/bin/xfce4-terminal" sig=6 res=1
[ 2622.418490] audit: type=1334 audit(1645293576.559:166): prog-id=58 op=LOAD
[ 2622.418619] audit: type=1334 audit(1645293576.559:167): prog-id=59 op=LOAD
[ 2622.418696] audit: type=1334 audit(1645293576.559:168): prog-id=60 op=LOAD
[ 2622.419346] audit: type=1130 audit(1645293576.559:169): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-7890-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2622.528202] audit: type=1131 audit(1645293576.669:170): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@1-7890-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 2623.017987] audit: type=1334 audit(1645293577.159:171): prog-id=0 op=UNLOAD
[ 2623.017994] audit: type=1334 audit(1645293577.159:172): prog-id=0 op=UNLOAD
[ 2623.017998] audit: type=1334 audit(1645293577.159:173): prog-id=0 op=UNLOAD
[ 2632.181343] audit: type=1100 audit(1645293586.323:174): pid=7939 uid=1000 auid=1000 ses=1 msg='op=PAM:authentication grantors=pam_faillock,pam_permit,pam_faillock acct="ernst" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2632.181411] audit: type=1101 audit(1645293586.323:175): pid=7939 uid=1000 auid=1000 ses=1 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="ernst" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2632.181794] audit: type=1110 audit(1645293586.323:176): pid=7939 uid=1000 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 2632.183213] audit: type=1105 audit(1645293586.323:177): pid=7939 uid=1000 auid=1000 ses=1 msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'

Any advice on how to isolate the problem would be appreciated. This is with an AMD Lexa Pro RX550 gpu and AMD Ryzen 7 3800XT cpu. Let me know if there's any other information that would be useful.

Last edited by Spory (2022-03-09 20:22:41)

Offline

#2 2022-02-20 08:21:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,041

Offline

#3 2022-02-23 06:41:18

Spory
Member
Registered: 2022-02-19
Posts: 4

Re: [SOLVED] Program Freezes, dmesg "BUG: kernel NULL pointer dereference"

Thanks for the suggestions. I checked microcode and it's up to date and loaded early. I have tried memtest86 and mprime before but it was able to do that fine. I tried the kernel boot parameters but the crash persisted, I realized after that it's most likely because my graphics card is AMD. I have an AMD Lexa Pro RX550 gpu and AMD Ryzen 7 3800XT cpu.

Offline

#4 2022-02-23 07:12:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,041

Re: [SOLVED] Program Freezes, dmesg "BUG: kernel NULL pointer dereference"

Neither of the two traces you posted points involves the GPU drivers but suggest memory access.

I have tried memtest86 and mprime before

For how long? memtest86+ takes *days* to reliably detect wonky memory - at least over night. If you ran half a cycle and lost patience, that's meaningless.
If it's not the RAM, it's more likely the CPU, see https://wiki.archlinux.org/title/Ryzen#Troubleshooting for how to disable c-states and increasing the voltage.

Offline

#5 2022-02-23 21:27:22

Spory
Member
Registered: 2022-02-19
Posts: 4

Re: [SOLVED] Program Freezes, dmesg "BUG: kernel NULL pointer dereference"

Mprime ran for about 8 hours with no errors; memtest went overnight and finished 3 or 4 cycles. I'll try out the instructions you linked and I'll give memtest86 another go tonight into tomorrow.

Offline

#6 2022-03-09 20:21:50

Spory
Member
Registered: 2022-02-19
Posts: 4

Re: [SOLVED] Program Freezes, dmesg "BUG: kernel NULL pointer dereference"

Increasing the voltage in UEFI settings and adding the following kernel parameters from https://wiki.gentoo.org/wiki/Ryzen#Soft … en_Ryzen_7 seems to have fixed the problem.

clearcpuid=514 rcu_nocbs=0-15 pci=noaer idle=nomwait

Thanks for the help

Offline

Board footer

Powered by FluxBB