Kernel panics appear while in sleep

Dear community,


My Macbook Pro 16" (2019) has kernel panics while in Sleep-mode. It happened just a few times when trying to wake up but since a few weeks, after updating macOS to 12.2 and 12.3, the sudden reboots drastically happen more often.


Usually, the screen goes blank and the fans spin up to full rpm. After rebooting, the booting process stops just before the middle of the process bar during the boot, followed by a second kernel panic where the fans spin up and a reboot occurs again. This happens in a loop, ending with four interruptions in total before the screen shows "support.apple.com/mac/startup" without any error code. After rebooting again and going through a few reboots again, the system finally boots up fully and greets the user with the message "Panic Medic Boot" (The panic medic boot message only recently started to appear).


To troubleshoot all of this, I was told to upgrade the software to its newest version, to re-install macOS and to try it in safe-mode. This, so far, did not help. Additionally, I unclicked every option concerning the graphics card change in the settings menu, as referenced by others in the support community (source is following soon). I also reset the SMC and the PRAM/NVRAM, deinstalled applications that could potentially be the trigger for the kernel panics, deleted LaunchAgents and LaunchDaemons that could potentially force the kernel to load extensions and made sure to remove all login items in the "Users & Groups" pane in the settings.


I initially assumed that there might be a problem with the graphics card due to:


panic(cpu 10 caller 0xffffff7fa8b7b749):
GPU Panic: [3:0:0][PPLIB] Failed Power Play Initialization. TTL Error Message:
{} --> {10715194226:[3:0:0] Error SW_IP_CLIENT_ID__SMU: event_id=0xc0140406
event_info:type=3 hw_id=0 event_specific_tag=0x6 pData=0 data_size=0 %s %s %d %s}.
: 8661iE8_11iE1_ : mux-regs 5 3 3 7f 1f 0 0 switch-state 13 IG FBs
 0 EG FBs 0:1f power-state 0 3D idle HDA idle system-state 0 power-level
 20:20 power-retry 0:0 connect-change 0 WS-ready 0
Panicked task 0xffffff950c492d10: 11 threads: pid 142: WindowServer
Backtrace (CPU 10), panicked thread: 0xffffff903e553550, Frame : Return Address
[...]
Kernel Extensions in backtrace:
         com.apple.iokit.IOGraphicsFamily(594.0)[...]
            dependency: com.apple.iokit.IOPCIFamily(2.9)[...]
         com.apple.kext.AMDRadeonX6000Framebuffer(4.0.8)[...]
            dependency: com.apple.AppleGraphicsDeviceControl(6.5.7)[...]


but I assume there could be other loaded kernel extensions which could cause the error.


Here is a link to the latest Apple report: https://pastebin.com/4pT06kUp

and here is one to the EtreCheckPro report: https://pastebin.com/RdvMkf13


I am lost and I don't know what else to check in order to find the source of the problem.

Could anybody please assist me?


Many thanks.

MacBook Pro 16″, macOS 12.3

Posted on Apr 15, 2022 3:32 AM

Reply

Similar questions

8 replies

Apr 15, 2022 5:05 AM in response to JosephFourier

Q - Security updates disabled - Security updates are disabled. This computer is at risk of malware infection.

A - Personal preference but would suggest enabling


Q - Apple security disabled - Apple security software is disabled. This computer is at risk of malware infection.


A - Personal preference but would suggest enabling


Q - Runaway user process - A user process is using a large percentage of your CPU.


A - Suggest opening Activity Monitor >> View and >> View ALL to investigate what process or Application by name is consuming all the CPU and / or Memory


Q -  com.focusrite.ControlServer.plist (Focusrite Audio Engineering Ltd. - installed 2021-02-16)


A - suggest verifying with the Developers for Monterey Compatible Versions https://focusrite.com/en/get-started


Q - Diagnostics Information (past 7-30 days):

Q - 2022-04-15 09:50:04 /Library/Logs/DiagnosticReports/ProxiedDevice-Bridge/ResetCounter-2022-04-15-095004.ips Crash


A - This appears to be connected to iBridge which is connected to the T2 Chip


Q - 2022-04-10 20:46:09 DDNet.app High CPU Use Executable: /Users/***/Desktop/*/DDNet.app


A - Can not find too much info on this application and compatibility with Monterey https://ddnet.tw


1 - Suggest restarting in Safe Mode. This will perform a Disk Repair, clear cache files and only load Apple Software, extensions and fonts. The boot up will be slow and can take some time - Normal.


2 - Does the issue present in this mode ?


3 - If not - there could be something in the main User Account playing up. To further isolate this - Set up users, guests, and groups on Mac. Then log out of the Main User account and log into the dummy account and test again if the issue persists.


4 - If the issue is present in the dummy account - then, this appears to be a System Wide issue on the computer.


Apr 15, 2022 8:23 AM in response to Owl-53

Many thanks for your elaborate reply.


Q - Runaway user process - A user process is using a large percentage of your CPU.
A - Suggest opening Activity Monitor >> View and >> View ALL to investigate what process or Application by name is consuming all the CPU and / or Memory

From the EtreCheck report:

Top Processes Snapshot by CPU:

Process (count) CPU (Source - Location)

mds_stores 80.28 % (Apple)

Q -  com.focusrite.ControlServer.plist (Focusrite Audio Engineering Ltd. - installed 2021-02-16)
A - suggest verifying with the Developers for Monterey Compatible Versions https://focusrite.com/en/get-started

Just installed the newest version. Should be okay for >12.1. I'll check again.

Q - Diagnostics Information (past 7-30 days):
Q - 2022-04-15 09:50:04 /Library/Logs/DiagnosticReports/ProxiedDevice-Bridge/ResetCounter-2022-04-15-095004.ips Crash
A - This appears to be connected to iBridge which is connected to the T2 Chip

Interestingly, this seems to align with the times that I experience the reboots. I'll check to make sure.

Q - 2022-04-10 20:46:09 DDNet.app High CPU Use Executable: /Users/***/Desktop/*/DDNet.app
A - Can not find too much info on this application and compatibility with Monterey https://ddnet.tw

No worries here. This is just a game. High-CPU usage is expected.

1 - Suggest restarting in Safe Mode. This will perform a Disk Repair, clear cache files and only load Apple Software, extensions and fonts. The boot up will be slow and can take some time - Normal.
2 - Does the issue present in this mode ?
3 - If not - there could be something in the main User Account playing up. To further isolate this - Set up users, guests, and groups on Mac. Then log out of the Main User account and log into the dummy account and test again if the issue persists.
4 - If the issue is present in the dummy account - then, this appears to be a System Wide issue on the compute
  1. This has been done.
  2. I could reproduce the error while in that mode (if I remember correctly). I'll try again and report back.
  3. -
  4. I assume so too.


I just noticed something interesting, however. While going back to the Battery > Power Adapter settings to prevent the laptop from sleeping while plugged in, I saw that the "Automatic graphics switching" checkbox was ticked. Just as I tried to uncheck it, the laptop crashed (including the whole process ...) and rebooted in "Panic Medic Boot"-mode again (the checkbox itself remains ticked after the reboot). Therefore, I strongly suspect there to be an issue with something related to the GPU or the graphics card itself.

Apr 26, 2022 10:29 AM in response to Owl-53

Meanwhile the restarts happen abritrarily. My suspicion that it has something to do with the discrete graphics card (AMD Radeon Pro 5500M) is getting stronger. Just in the moments that the discrete graphics card is used (e.g. when launching a game), the system crashes. I could not reproduce this in the safe boot mode. Also, I could verify that the times of the ProxiedDevice-Bridge/ResetCounter diagnostic reports align with the times that I experience the reboots.


2022-04-26 16:34:58 /Library/Logs/DiagnosticReports/ProxiedDevice-Bridge/ResetCounter-2022-04-26-163458.ips - Crash
2022-04-26 16:34:15 /Library/Logs/DiagnosticReports/ProxiedDevice-Bridge/ResetCounter-2022-04-26-163415.ips - Crash
2022-04-26 16:33:28 /Library/Logs/DiagnosticReports/ProxiedDevice-Bridge/ResetCounter-2022-04-26-163328.ips - Crash
2022-04-26 16:32:41 /Library/Logs/DiagnosticReports/ProxiedDevice-Bridge/ResetCounter-2022-04-26-163241.ips - Crash
2022-04-26 16:31:54 /Library/Logs/DiagnosticReports/ProxiedDevice-Bridge/ResetCounter-2022-04-26-163154.ips - Crash


Is there anything I can do from here on?


Thank you.

Apr 15, 2022 5:05 AM in response to JosephFourier

Edit: The kernel panics now also happen suddenly, i.e. while the laptop is not in sleep-mode. The latest report https://pastebin.com/j0PpnFqw shows the following:


panic(cpu 10 caller 0xffffff7fa8b7b749): GPU Panic: [3:0:0][PPLIB] Failed Power Play Initialization.
TTL Error Message: {} --> {10715194226:[3:0:0] Error SW_IP_CLIENT_ID__SMU: event_id=0xc0140406
event_info:type=3 hw_id=0 event_specific_tag=0x6 pData=0 data_size=0 %s %s %d %s}.

: 8661iE8_11iE1_ : mux-regs 5 3 3 7f 1f 0 0 switch-state 13 IG FBs 0 EG FBs 0:1f power-state 0 3D idle
HDA idle system-state 0 power-level 20:20 power-retry 0:0 connect-change 0 WS-ready 0

Panicked task 0xffffff950c492d10: 11 threads: pid 142: WindowServer


with the same kernel extensions in backtrace.


I also want to add that the fans spin up to their highest rpm while the laptop's lid is closed several times throughout the night, seemingly at random intervals and that no peripherals were connected throughout the troubleshooting process to exclude errors coming from those. Apple Diagnostics and first aid have already been run as well. I am experiencing those kernel panics since macOS 12.1 at least.



Related articles:


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Kernel panics appear while in sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.