You are not logged in.

#1 2020-02-15 19:51:36

trevordf
Member
Registered: 2020-02-15
Posts: 1

General Protection Fault

First off, thank you for taking the time to look at my question.

I've been running Arch on a mid-2015 Macbook Pro for about 2 years. It has run surprisingly well for me and I've had very few issues until recently.

Here is my environment:
* Arch Linux (5.5.3-arch1-1) on mid-2015 Macbook Pro
* i3-gaps
* xorg

This is what I've been seeing:
* I go about my daily work, running programs like firefox, chromium, vim, tmux, polybar, ssh
* After a variable amount of time (it's happened after anywhere from 30 minutes to 2 days) X freezes up and I get no response from keyboard or mouse
* I've tried switching to another TTY (ctrl+alt+F<whatever>) with no response
* I have metrics showing in polybar, and CPU, memory, and temperature all look okay
* I was once on a video call using zoom when this happened and I still got audio (via a headset that was plugged in using a USB hub)
* I have tried shelling into the box over SSH twice and once it worked and the other time it did not
* While shelled in, I've tried killing off suspected processes one by one with no success (firefox, chromium, zoom, etc.), and also double-checked CPU, memory, temp, inodes, etc. with nothing suspicious jumping out

    Eventually, these processes become unresponsive, as in the audio stopped for the call I was in and my ssh shell session no longer responded (and a new session could not be opened)
After a reboot, I looked at the journald error logs and in each case I have seen a "general protection fault" right before the issues start. I've added a log snippet below. Any idea what could be causing this? One final thing- I've recently started using alacritty as my go-to terminal (with many instances open at a time, usually), but I'd be surprised if this turned out to be the issue.  If there is anything else that I can provide for better context please let me know.

```
    Feb 15 08:12:32 thethecounter kernel: general protection fault: 0000 [#2] PREEMPT SMP PTI
    Feb 15 08:12:32 thethecounter kernel: CPU: 0 PID: 542405 Comm: chromium Tainted: G D 5.5.2-arch1-1 #1
    Feb 15 08:12:32 thethecounter kernel: Hardware name: Apple Inc. MacBookPro11,4/Mac-06F11FD93F0323C5, BIOS MBP114.88Z.0184.B00.1806051659 06/05/2018
    Feb 15 08:12:32 thethecounter kernel: RIP: 0010:kmem_cache_alloc+0x7d/0x210
    Feb 15 08:12:32 thethecounter kernel: Code: 6f 48 8b 70 08 48 39 f2 75 e7 4c 8b 28 4d 85 ed 0f 84 75 01 00 00 41 8b 5e 20 49 8b 3e 48 8d 8a 00 02 00 00 4c 89 e8 4c 01 eb <48> 33 1b 49 33 9e 70 01 00 00 65 48 0f c7 0f 0f 94 c0 84 c0 74 ae
    Feb 15 08:12:32 thethecounter kernel: RSP: 0018:ffff95a0073abd40 EFLAGS: 00010286
    Feb 15 08:12:32 thethecounter kernel: RAX: cd712bb18f074514 RBX: cd712bb18f074514 RCX: 0000000094fa3000
    Feb 15 08:12:32 thethecounter kernel: RDX: 0000000094fa2e00 RSI: 0000000094fa2e00 RDI: 0000000000033490
    Feb 15 08:12:32 thethecounter kernel: RBP: 0000000000000cc0 R08: 00007f7cfbc83700 R09: ffff95a0073cbf58
    Feb 15 08:12:32 thethecounter kernel: R10: 00007f7cfbc82a30 R11: 00000000003d0f00 R12: ffffffff906b48af
    Feb 15 08:12:32 thethecounter kernel: R13: cd712bb18f074514 R14: ffff8c486d423800 R15: ffff8c486d423800
    Feb 15 08:12:32 thethecounter kernel: FS: 00007f7cfce43cc0(0000) GS:ffff8c486f200000(0000) knlGS:0000000000000000
    Feb 15 08:12:32 thethecounter kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    Feb 15 08:12:32 thethecounter kernel: CR2: 00007f7cfbc82a38 CR3: 000000026fa92001 CR4: 00000000001606f0
    Feb 15 08:12:32 thethecounter kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    Feb 15 08:12:32 thethecounter kernel: DR3: 0000000000000080 DR6: 00000000ffff0ff0 DR7: 0000000020000400
    Feb 15 08:12:32 thethecounter kernel: Call Trace:
    Feb 15 08:12:32 thethecounter kernel: alloc_pid+0x4f/0x3c0
    Feb 15 08:12:32 thethecounter kernel: ? preempt_count_add+0x49/0xa0
    Feb 15 08:12:32 thethecounter kernel: copy_process+0xf27/0x1b80
    Feb 15 08:12:32 thethecounter kernel: _do_fork+0x94/0x3f0
    Feb 15 08:12:32 thethecounter kernel: __x64_sys_clone+0x81/0xa0
    Feb 15 08:12:32 thethecounter kernel: do_syscall_64+0x4e/0x150
    Feb 15 08:12:32 thethecounter kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
    Feb 15 08:12:32 thethecounter kernel: RIP: 0033:0x7f7d02e3e3c5
    Feb 15 08:12:32 thethecounter kernel: Code: 48 85 ff 74 3d 48 85 f6 74 38 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 7c 13 74 01 c3 31 ed 58 5f ff d0 48 89 c7 b8 3c 00 00 00
    Feb 15 08:12:32 thethecounter kernel: RSP: 002b:00007ffdd7adb938 EFLAGS: 00000206 ORIG_RAX: 0000000000000038
    Feb 15 08:12:32 thethecounter kernel: RAX: ffffffffffffffda RBX: 00007f7cfbc83700 RCX: 00007f7d02e3e3c5
    Feb 15 08:12:32 thethecounter kernel: RDX: 00007f7cfbc839d0 RSI: 00007f7cfbc82a30 RDI: 00000000003d0f00
    Feb 15 08:12:32 thethecounter kernel: RBP: 00007ffdd7adbc28 R08: 00007f7cfbc83700 R09: 00007f7cfbc83700
    Feb 15 08:12:32 thethecounter kernel: R10: 00007f7cfbc839d0 R11: 0000000000000206 R12: 00007ffdd7adb9ee
    Feb 15 08:12:32 thethecounter kernel: R13: 00007ffdd7adb9ef R14: 00007f7cfbc82a40 R15: 00007f7cfbc83700
    Feb 15 08:12:32 thethecounter kernel: Modules linked in: snd_hda_codec_hdmi ofpart cmdlinepart intel_rapl_msr intel_rapl_common intel_spi_platform intel_spi spi_nor i915 brcmfmac mei_hdcp mtd iTCO_wdt iTCO_vendor_support btusb snd_hda_codec_cirrus nls_iso8859_1 snd_hda_codec_generic btrtl nls_cp437 brcmutil vfat snd_usb_audio fat ledtrig_audio x86_pkg_temp_thermal btbcm btintel intel_powerclamp snd_hda_intel uvcvideo coretemp snd_usbmidi_lib snd_intel_dspcfg kvm_intel bluetooth snd_hda_codec i2c_algo_bit snd_rawmidi videobuf2_vmalloc cfg80211 drm_kms_helper applesmc snd_hda_core videobuf2_memops kvm drm snd_seq_device snd_hwdep videobuf2_v4l2 mmc_core snd_pcm ecdh_generic irqbypass intel_cstate videobuf2_common mei_me tg3 intel_uncore mei intel_gtt videodev pcspkr rfkill lpc_ich i2c_i801 intel_rapl_perf bdc_pci intel_pch_thermal snd_timer ecc agpgart input_leds syscopyarea joydev mousedev bcm5974 mc snd acpi_als sysfillrect thunderbolt libphy sbs sysimgblt kfifo_buf soundcore fb_sys_fops sbshc industrialio
    Feb 15 08:12:32 thethecounter kernel: apple_gmux evdev apple_bl ac mac_hid sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_apple uas usb_storage hid_generic usbhid hid dm_crypt dm_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ahci libahci aesni_intel libata xhci_pci crypto_simd cryptd xhci_hcd glue_helper scsi_mod
    Feb 15 08:12:32 thethecounter kernel: ---[ end trace e639b560608972c3 ]---
    Feb 15 08:12:32 thethecounter kernel: RIP: 0010:kmem_cache_alloc+0x7d/0x210
    Feb 15 08:12:32 thethecounter kernel: Code: 6f 48 8b 70 08 48 39 f2 75 e7 4c 8b 28 4d 85 ed 0f 84 75 01 00 00 41 8b 5e 20 49 8b 3e 48 8d 8a 00 02 00 00 4c 89 e8 4c 01 eb <48> 33 1b 49 33 9e 70 01 00 00 65 48 0f c7 0f 0f 94 c0 84 c0 74 ae
    Feb 15 08:12:32 thethecounter kernel: RSP: 0018:ffff95a00308ba30 EFLAGS: 00010286
    Feb 15 08:12:32 thethecounter kernel: RAX: cd712bb18f074514 RBX: cd712bb18f074514 RCX: 0000000094fa3000
    Feb 15 08:12:32 thethecounter kernel: RDX: 0000000094fa2e00 RSI: 0000000094fa2e00 RDI: 0000000000033490
    Feb 15 08:12:32 thethecounter kernel: RBP: 0000000000000cc0 R08: 0000000000000000 R09: ffff8c484a7fd700
    Feb 15 08:12:32 thethecounter kernel: R10: 0000000000000000 R11: 0000000000000002 R12: ffffffffc0e208e5
    Feb 15 08:12:32 thethecounter kernel: R13: cd712bb18f074514 R14: ffff8c486d423800 R15: ffff8c486d423800
    Feb 15 08:12:32 thethecounter kernel: FS: 00007f7cfce43cc0(0000) GS:ffff8c486f200000(0000) knlGS:0000000000000000
    Feb 15 08:12:32 thethecounter kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    Feb 15 08:12:32 thethecounter kernel: CR2: 00007f7cfbc82a38 CR3: 000000026fa92001 CR4: 00000000001606f0
    Feb 15 08:12:32 thethecounter kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    Feb 15 08:12:32 thethecounter kernel: DR3: 0000000000000080 DR6: 00000000ffff0ff0 DR7: 0000000020000400
```

Last edited by trevordf (2020-02-15 23:35:23)

Offline

#2 2020-02-18 20:00:53

clydedroid
Member
Registered: 2020-01-22
Posts: 5

Re: General Protection Fault

Just wanted to jump in - I am facing the exact same issue. Mouse freezes at random times, no input accepted, can't switch to TTY, but audio continues IE in a zoom call. Have to force poweroff and reboot. journalctl output is the same too. I'm on a Razer Blade 15, also using Xorg/i3-gaps. Haven't been able to hunt anything down yet but will keep searching and post here if I find anything.

Offline

#3 2020-02-18 20:07:45

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: General Protection Fault

Welcome to the arch linux forums trevordf.  Please post the full kernel messages for that boot in code tags.  Please also test on the latest kernel 5.5.4.arch1-1.

Offline

#4 2020-02-18 20:34:25

clydedroid
Member
Registered: 2020-01-22
Posts: 5

Re: General Protection Fault

Offline

Board footer

Powered by FluxBB