My MacBook Pro (15-inch, 2018) is shutting down and restarting continuously during the past two months
I get the following error:
Panic(cpu 0 caller 0xfffffff00ad50bb0): "Sleep/Wake hang detected"
Debugger message: panic
Memory ID: 0xff
OS release type: User
OS version: 18P4759a
macOS version: 20G71
Kernel version: Darwin Kernel Version 20.6.0: Tue Jun 22 21:55:04 PDT 2021; root:xnu-7195.141.2~1/RELEASE_ARM64_T8010
Kernel UUID: E6B23446-BF1C-3A39-9311-EDEAEB220BF9
iBoot version: iBoot-6723.140.2
secure boot?: YES
x86 EFI Boot State: 0x16
x86 System State: 0x1
x86 Power State: 0x2
x86 Shutdown Cause: 0x5
x86 Previous Power Transitions: 0x40506040002
PCIeUp link state: not available
Paniclog version: 13
Kernel slide: 0x000000000309c000
Kernel text base: 0xfffffff00a0a0000
mach_absolute_time: 0x3da8e3acadf
Epoch Time: sec usec
Boot : 0x610da066 0x00075f04
Sleep : 0x00000000 0x00000000
Wake : 0x00000000 0x00000000
Calendar: 0x6110520a 0x000d2dec
CORE 0 is the one that panicked. Check the full backtrace for details.
CORE 1: PC=0xfffffff00b6bca64, LR=0xfffffff00b6c1b8c, FP=0xffffffe804793b00
Panicked task 0xffffffe19a1b8630: 3298 pages, 222 threads: pid 0: kernel_task
Panicked thread: 0xffffffe19aad6000, backtrace: 0xffffffe80466b850, tid: 129044
lr: 0xfffffff00a7ef4f0 fp: 0xffffffe80466b8a0
lr: 0xfffffff00a7ef348 fp: 0xffffffe80466b910
lr: 0xfffffff00a91ad90 fp: 0xffffffe80466b9e0
lr: 0xfffffff00ae155fc fp: 0xffffffe80466b9f0
lr: 0xfffffff00a7ef07c fp: 0xffffffe80466bd70
lr: 0xfffffff00a7ef07c fp: 0xffffffe80466bdd0
lr: 0xfffffff00b81f1c4 fp: 0xffffffe80466bdf0
lr: 0xfffffff00ad50bb0 fp: 0xffffffe80466be10
lr: 0xfffffff00a83cbdc fp: 0xffffffe80466bf00
lr: 0xfffffff00ae205a0 fp: 0x0000000000000000
MacBook Pro 15″, macOS 11.5