Mac OS 10.15.4: Random restarts due to panic(cpu 1 caller
My MacBook is restarting randomly from last few days with following error messages:
- "BAD MAGIC! (flag set in iBoot panic header)" (freezes, need to restart manually, 5-6 times a day)
- panic(cpu 1 caller 0xfffffff00df677b4): x86 CPU CATERR detected (automatic restart)
- panic(cpu 0 caller 0xfffffff025f05f64): "void AppleEmbeddedPCIeUpLinkMgmt: (automatic restart)
In all three cases, only safari was open with background services (Creative Cloud and OneDrive only). Nothing installed recently.
Can someone please explain the reason for these panics, logs are as follows:
Case 2:
panic(cpu 1 caller 0xfffffff00df677b4): x86 CPU CATERR detected
Debugger message: panic
Memory ID: 0xff
OS version: 17P4263
macOS version: 19E266
Kernel version: Darwin Kernel Version 19.4.0: Mon Mar 2 20:38:56 PST 2020; root:xnu-6153.101.6~2/RELEASE_ARM64_T8010
Kernel UUID: 3695E9D9-323E-350E-9A6E-65819BE397D7
iBoot version: iBoot-5540.105.2
secure boot?: YES
x86 EFI Boot State: 0x16
x86 System State: 0x0
x86 Power State: 0x0
x86 Shutdown Cause: 0x7
x86 Previous Power Transitions: 0x10001000100
PCIeUp link state: 0x89473614
Paniclog version: 13
Kernel slide: 0x0000000005f30000
Kernel text base: 0xfffffff00cf34000
mach_absolute_time: 0x63d86ef5e6
Epoch Time: sec usec
Boot : 0x5e7aa096 0x000606d7
Sleep : 0x5e7ab184 0x000525ba
Wake : 0x5e7ab672 0x000d3056
Calendar: 0x5e7af45a 0x000baf4f
Panicked task 0xffffffe0000c8200: 3144 pages, 214 threads: pid 0: kernel_task
Panicked thread: 0xffffffe000380fd8, backtrace: 0xffffffe0154e34b0, tid: 323
lr: 0xfffffff00d7f8764 fp: 0xffffffe0154e34f0
lr: 0xfffffff00d7f85c0 fp: 0xffffffe0154e3560
lr: 0xfffffff00d912e7c fp: 0xffffffe0154e3610
lr: 0xfffffff00ddc162c fp: 0xffffffe0154e3620
lr: 0xfffffff00d7f7f28 fp: 0xffffffe0154e3990
lr: 0xfffffff00d7f8280 fp: 0xffffffe0154e39e0
lr: 0xfffffff00e62e934 fp: 0xffffffe0154e3a00
lr: 0xfffffff00df677b4 fp: 0xffffffe0154e3a30
lr: 0xfffffff00df58be4 fp: 0xffffffe0154e3aa0
lr: 0xfffffff00df5ab0c fp: 0xffffffe0154e3b50
lr: 0xfffffff00df5831c fp: 0xffffffe0154e3be0
lr: 0xfffffff00df1f780 fp: 0xffffffe0154e3c10
lr: 0xfffffff00dd2eabc fp: 0xffffffe0154e3c50
lr: 0xfffffff00dd2e340 fp: 0xffffffe0154e3c90
lr: 0xfffffff00ddcc514 fp: 0x0000000000000000
Case 3:
panic(cpu 0 caller 0xfffffff025f05f64): "void AppleEmbeddedPCIeUpLinkMgmt::_linkInterruptAction(IOInterruptEventSource *, int): " "A link timeout has been seen after 650000 microseconds and 49999 iterations."@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleEmbeddedPCIeUpLinkMgmt/AppleEmbeddedPCIeUpLinkMgmt-102.100.1/AppleEmbeddedPCIeUpLinkMgmt.cpp:3986
Debugger message: panic
Memory ID: 0xff
OS version: 17P4263
macOS version: 19E266
Kernel version: Darwin Kernel Version 19.4.0: Mon Mar 2 20:38:56 PST 2020; root:xnu-6153.101.6~2/RELEASE_ARM64_T8010
Kernel UUID: 3695E9D9-323E-350E-9A6E-65819BE397D7
iBoot version: iBoot-5540.105.2
secure boot?: YES
x86 EFI Boot State: 0x16
x86 System State: 0x0
x86 Power State: 0x0
x86 Shutdown Cause: 0xc1
x86 Previous Power Transitions: 0x10001000100
PCIeUp link state: 0x89473611
Paniclog version: 13
Kernel slide: 0x000000001debc000
Kernel text base: 0xfffffff024ec0000
mach_absolute_time: 0x935988e94
Epoch Time: sec usec
Boot : 0x5e7af472 0x000636b9
Sleep : 0x5e7ba195 0x000e2a08
Wake : 0x5e7bbb14 0x0005f8d1
Calendar: 0x5e7bbc86 0x000ab712
Panicked task 0xffffffe00053fc00: 3131 pages, 214 threads: pid 0: kernel_task
Panicked thread: 0xffffffe00093d520, backtrace: 0xffffffe0157335b0, tid: 275
lr: 0xfffffff025784764 fp: 0xffffffe0157335f0
lr: 0xfffffff0257845c0 fp: 0xffffffe015733660
lr: 0xfffffff02589ee7c fp: 0xffffffe015733710
lr: 0xfffffff025d4d62c fp: 0xffffffe015733720
lr: 0xfffffff025783f28 fp: 0xffffffe015733a90
lr: 0xfffffff025784280 fp: 0xffffffe015733ae0
lr: 0xfffffff0265ba8f8 fp: 0xffffffe015733b00
lr: 0xfffffff025f05f64 fp: 0xffffffe015733b30
lr: 0xfffffff025f00ed0 fp: 0xffffffe015733bc0
lr: 0xfffffff025cbbd88 fp: 0xffffffe015733c10
lr: 0xfffffff025cbaabc fp: 0xffffffe015733c50
lr: 0xfffffff025cba340 fp: 0xffffffe015733c90
lr: 0xfffffff025d58514 fp: 0x0000000000000000
MacBook Pro 13”, macOS 10.15