Macbook Freezing and Restarting multiple times

Model: MacBook Air (13-inch, 2017)

Processor: 2.2 GHz Dual-Core Intel Core i7

Memory: 8 GB 1600 MHz DDR3

Graphics: Intel HD Graphics 6000 1536 MB


Problem:

For the past few weeks, my Mac has been freezing randomly and restarting. This problem has only escalated to the point that it now, many times, freezes right after the restart. I am not sure how to go about it.


Solutions tried:

  • Resetting SMC, PRAM and NVRAM
  • Booting in safe mode - no freezing/beach balling during the beginning of the problem but happens in this mode too now
  • Running Diagnostics - Says there is no problem with the Mac
  • Running EtreCheckPro (free version) - I already corrected the main issues shown in here. Cannot make it work anymore as Mac freezes in-between the process


I have yet to try wiping the disk and reinstalling the OS as I am still arranging an external hard drive to backup my files. Will try this step once I get a good backup in.


I am also adding the latest Problem Report report generated by the Mac when it restarted again below. I am not a technical guy so can't make any sense of it. I hope someone could help me. And if you could also tell me where I can find the panic diags report files.


Thanks a lot in advance! Cheers.




MacBook Air 13″

Posted on Aug 15, 2024 4:19 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 19, 2024 6:01 PM

CoSpiro wrote:

How do I test the cleanOS? Its my first factory reset so not sure how to go on about it. I did the first aid verification through the disk utility and it doesnt show any problems now which is a relief. What else do I do?


You just have to use the clean OS to see if the problem occurs. If a problem occurs with a clean install under the conditions I mentioned, then you know you have a hardware issue. How long do you test it? Ideally, at least as long if not longer than it took for the failure to show before the clean install.


Most SSD failures occur when powering on the computer or waking the computer from sleep. So sleeping the laptop for 5-10 minutes & waking up the laptop could trigger it....I like to let the laptop sleep longer sometimes. Use the Sleep option on the Apple menu to sleep the laptop since closing the Clamshell lid is not always enough. In fact, press the Caps Lock key prior to sleeping the computer so you can watch the Caps Lock LED go dark indicating the laptop did go to sleep (or as sure as you can be). Powering the laptop completely off at night can be useful since the SSD will be at rest & unpowered for a long time which may trigger a failure when you go to power on & boot the laptop the next day.


You can try running DriveDx (free trial period) to check the health of the SSD, but most SSD failures occur with the SSD's controller which does not show up in the SSD's health report. Plus the Apple SSDs have very little information in their health reports. Post the complete text report here using the "Additional Text" icon which looks like a piece of paper on the forum editing toolbar. It is Ok to install DriveDx on your clean install since I know it does not cause any problems that would interfere with your testing.


Similar questions

5 replies
Question marked as Top-ranking reply

Aug 19, 2024 6:01 PM in response to CoSpiro

CoSpiro wrote:

How do I test the cleanOS? Its my first factory reset so not sure how to go on about it. I did the first aid verification through the disk utility and it doesnt show any problems now which is a relief. What else do I do?


You just have to use the clean OS to see if the problem occurs. If a problem occurs with a clean install under the conditions I mentioned, then you know you have a hardware issue. How long do you test it? Ideally, at least as long if not longer than it took for the failure to show before the clean install.


Most SSD failures occur when powering on the computer or waking the computer from sleep. So sleeping the laptop for 5-10 minutes & waking up the laptop could trigger it....I like to let the laptop sleep longer sometimes. Use the Sleep option on the Apple menu to sleep the laptop since closing the Clamshell lid is not always enough. In fact, press the Caps Lock key prior to sleeping the computer so you can watch the Caps Lock LED go dark indicating the laptop did go to sleep (or as sure as you can be). Powering the laptop completely off at night can be useful since the SSD will be at rest & unpowered for a long time which may trigger a failure when you go to power on & boot the laptop the next day.


You can try running DriveDx (free trial period) to check the health of the SSD, but most SSD failures occur with the SSD's controller which does not show up in the SSD's health report. Plus the Apple SSDs have very little information in their health reports. Post the complete text report here using the "Additional Text" icon which looks like a piece of paper on the forum editing toolbar. It is Ok to install DriveDx on your clean install since I know it does not cause any problems that would interfere with your testing.


Aug 15, 2024 12:01 PM in response to CoSpiro

It appears you have a MBAir 13" 2015 or 2017 laptop (MBAir 7,2).


The Kernel Panic log had this bit in it which seems to indicate an issue with the internal SSD:

Root disk errors: "Could not recover SATA HDD after 5 attempts. Terminating."


More than likely the SSD is failing all things being equal (assuming the Logic Board does not have any accidental liquid damage). I hope you have a good backup since the SSD could fail completely at any time. There is a slim chance you could have some sort of software issue which is causing the problem, but we would need to examine the EtreCheck to see if anything stands out....it would also include summaries of other Kernel Panic Logs so we could see if there may be any pattern as well.


People should always have frequent and regular backups of their computer and all external media (including the cloud) which contains important & unique data. There are a lot more new ways to permanently lose access to the data stored on the internal SSD of the more recent Macs due to all the hardware, software, and security changes.

Aug 18, 2024 1:15 PM in response to CoSpiro

If you decide to go that route, then make sure to erase the whole physical SSD before reinstalling macOS. Make sure to thoroughly test the clean OS before you try to restore/migrate from a backup, before you install any app, and before you sign into your AppleID or iCloud. If booting into a macOS 10.13+ installer, then within Disk Utility you will need to click "View" and select "Show All Devices" before the physical SSD appears on the left pane of Disk Utility.

Aug 18, 2024 3:17 AM in response to HWTech

Hey thanks for the comment.


So I did get a new external HDD in and did a complete backup for my Mac (thankfully it did not freeze during the backup process).


And after that, I first did the first aid in disk utility (not in recovery mode), where it said it found some error in the partition map or something (I forgot to screenshot that) and I should run first aid in recovery mode.


So I went ahead with that, running first aid on every partition and container from bottom to top. And it no errors were found. After this, I also reinstalled the MacOS successfully.


However, the problem is still occuring. My Mac still freezes at pretty much all moments before restarting again after a certain amount of time. Worst of all, it is now also freezing in safe-mode. Does that mean I need to wipe the disk clean /factory reset it to fix it?

Aug 18, 2024 9:07 PM in response to HWTech

Hi so I went through the wipe and factory reset by following the instructions from the website. There was apparently also a problem with the EFI, which I repaired through the terminal and not a problem anymore.

It took a while, and a PRAM reset, before it reset completely. I now have a cleanOS.


How do I test the cleanOS? Its my first factory reset so not sure how to go on about it. I did the first aid verification through the disk utility and it doesnt show any problems now which is a relief. What else do I do?

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.

Macbook Freezing and Restarting multiple times

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