[Magisk] Phonegasm:
Next time it happens provide a full log: 02-19 00:10:59.127 18427 18427 E AndroidRuntime: DeadSystemException:

The system died; earlier logs will point to the root cause

[/QUOTE]

--------- beginning of main
02-20 17:06:56.013 16829 16829 E BufferItemConsumer: [unnamed-16829-130] Failed to release buffer: Unknown error -1 (1)
02-20 17:06:56.375 16829 16829 E BufferItemConsumer: [unnamed-16829-131] Failed to release buffer: Unknown error -1 (1)
02-20 17:06:56.854 5667 6131 E Avrcp : play status change 21 mPlayStatusChangedNT: 1
02-20 17:06:56.855 5667 6131 E bt_btif : register_notification_rsp: Avrcp device is not connected, handle: 0x0
02-20 17:06:57.278 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_lock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:06:57.278 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_unlock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:06:59.833 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_lock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:06:59.833 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_unlock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:02.398 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_lock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:02.399 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_unlock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:14.864 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_lock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:14.865 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_unlock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:19.819 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_lock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:19.819 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_unlock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:25.447 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_lock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:25.448 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_unlock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:28.001 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_lock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:28.002 3253 3340 E QC-QMI : linux_qmi_qmux_io_wake_unlock: Err in writing wakelock=qmuxd_port_wl_0, error [1:eek:peration not permitted]
02-20 17:07:34.762 9335 9335 E AndroidRuntime: FATAL EXCEPTION: main
02-20 17:07:34.762 9335 9335 E AndroidRuntime: Process: com.google.android.gms.persistent, PID: 9335
02-20 17:07:34.762 9335 9335 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause

adb logcat *:E

Do i need a higher log level?

Dead thread with same errors no solutions, could just be an unfixed issue:

https://xdaforums.com/nexus-6p/help/lots-linuxqmiqmuxiowakelock-t3668744