Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Closing tabs in Safari freezes Macbook

I've had a problem with Safari. I'm running El Capitan on a Macbook Pro 15" mid-2014. I noticed this problem on Yosemite as well, though. It hasn't happened a whole lot of times but TWICE today, so it's getting annoying. When I close a tab in Safari it freezes the browser and the entire Mac. Sometimes I can move the cursor but other times even that is frozen. Then I have to wait maybe 15-20-25 seconds before it unfreezes. I think it mostly happens on youtube actually. Is this something you're familiar with? Also, after it unfreezes my Mac runs slower, like laggy, so I have to restart.


Hope you can help.

Jonas

MacBook Pro with Retina display, iOS 9.0.2, Mid-2014

Posted on Oct 14, 2015 3:22 AM

Reply
68 replies

Dec 10, 2015 1:28 AM in response to jonasgs1

So, the problem persists but here's what's going on with Apple Bug Reporter. They answered and told me to run "sudo sysdiagnosis" in Terminal when the problem occurred, and so I did and I filed the report it gave me. They then answered that my issue was a duplicate of someone else's issue, and therefore they closed my post. I've asked them if I could somehow see and follow that other issue, and we'll see if they answer back.. but at least it shows us that they're aware of the issue - even though they haven't been able to resolve it yet.

I'll post again if they give me access to that duplicate issue.

Dec 21, 2015 10:11 AM in response to jonasgs1

Hello jonasgs1, i'm Fernando!!!! I have the same problem as you. I have a MacBook Pro 2014 with Nvidia graphics and when I close youtube video tabs in safari in Yosemite, sometimes my computer freezes, only the cursor moves, but nothing happens. The only way to recover the computer is doing a force shutdown


I did one thing, i de-activate "WebGL" in safari preferences (safari --> preferences --> security --> uncheck "enable WebGL") and erase all the system caches.


This helps but no complete eliminates the issue. The computer continues freezing less times and recovers by itself in 15 seconds.


Even so I'm waiting for a safari improvement.

Dec 21, 2015 11:09 AM in response to FernandoSobrino

Yeah, it's super annoying.. I've thought about clearing all caches and the history and bookmarks and everything and starting fresh but I don't know if any of that's gonna work and I don't want my browser to forget all my passwords, etc.


I haven't heard anything from Apple Bug Reporter since I last posted, so I doubt they'll answer me. I'm afraid we're stuck unless some user finds a way.

Jan 5, 2016 10:38 AM in response to jonasgs1

Any updates on this? I have been having the same issue. I can't remember if it happened before El Capitan or not. I tried updating Adobe, will see if clearing caches and whatnot helps. I do use top sites and youtube is one of them. It always happens with youtube, especially after I post a comment on a video and then close a tab.


update: I updated my AdBlock extension and it seems to have helped. Though when I turned it off it didn't... so may just be a fluke. I will test some more and see if that fixed it or if I just lucked out on my last few tests.

Jan 7, 2016 12:06 PM in response to washburn085

I don't have any real updates. I have heard nothing from that Apple Bug Report place.. I have yet to try what Eric Roots has suggested, I will once I find the time. In the meantime I have found out that it only happens while I play a video. If I pause the vid and THEN close the tab I'm fine. It's only when I close the tab WHILE the vid is playing I have the problem. Or so it seems so far. I'll keep an eye out and see if my "lucky" streak continues 🙂

Feb 12, 2016 3:52 AM in response to jonasgs1

Hi all.


This issue is quite widespread on some machines and - after some of us have tried several fresh-installs - have had it reoccur, I believe that the ball is in Apple's court for resolving it but they have yet to acknowledge that they are aware of the issue other than what @jonasgs1 mentioned above (as in, those of us who've talked to Apple support have found the matter treated as if it's something unheard of). In bug reports they've been linked to the following thread where there's a much lengthier conversation about this:


Safari keeps crashing/freezing after install of El Capitan


I will warn you that it's difficult to follow as there is this issue, an issue with the Safari Flash extension, and a random assortment of Safari troubles being confused for each other and posted there. However, there are many pertinent messages if you have the time and are trying to chase the issue. If you don't, I'll repeat that this issue has been reported to Apple by many users who have followed their advice, ultimately ending in a fresh install with no change. From a few commenters comparing their problems, I reached the following observation:


System UI freezes when closing or switching a tab in Safari, often unfreezing after a minute but sometimes not


Under the following conditions:


  • El Capitan (all versions)
  • Safari (all versions)
  • A HTML5 video was embedded and active on the page that was closed/switched from. Appears to be exclusively YouTube.
  • Mid - 2014 mac
  • Flash not installed
  • No Extensions/extensions disabled
  • Fresh install


There's a sizeable demographic having this exact issue with few variations (for example, Safari also froze for some under Yosemite and one or two have this issue with machines from surrounding years). There are also other situations where freezes have occurred but none noteworthy as being repeatable or regular. Personally, I've also seen some HTML5 videos embedded from Vimeo appearing as garbled graphics when they're in an unplayed state. They play fine and there's no other adverse issues.


I'll emphasise that it's the UI that's freezing, apart from the mouse cursor. If the UI stays frozen (happens to me about 1 in 3 times and I need to hard reset) anything that was running at the time continues to run (such as music playing, video renders, etc.) if the frozen system is left untouched. The console logs confirm that activity continued and shows that the system clock kept running and was correct, despite the UI freeze causing the displayed clock to show the moment the freeze occurred.

Feb 17, 2016 7:29 AM in response to palegreenghosts

This has also been happening to me. I don't remember what tabs I have been closing, but I don't visit YouTube so its not YouTube in my case. However, the last tab I remember because it just happened and I was watching an embedded video, so that seems to fit what is happening here. Never noticed this until I upgraded to El Cap, and only in the last couple weeks even though I upgraded several months ago.

Feb 17, 2016 8:07 AM in response to Jessiah87

I have been closing, but I don't visit YouTube so its not YouTube in my case.

Are you 100% sure there wasn't a video from YouTube embedded* on the page you switched from/closed? When I specified it was HTML5 YouTube videos causing the problem, it's rarely on the actual YouTube site for me, but a page that contains a video. There's also been a situation where I might have four tabs open. Tab 4 might be playing a song from a YouTube video while I'm looking at tab 2. Closing tab 2 then freezes the computer (technically, just the UI**) which I believe is related to a video still playing in tab 4.

* embedded meaning a video placed anywhere on the page of a site.

** UI is the user interface - meaning everything that you - the user - sees (like windows, icons, buttons), but not including all the background work going on. Background (non-visible) work is pretty much anything you can think of like time keeping, saving, audio, calculations, wifi, bluetooth etc.

Feb 17, 2016 7:16 PM in response to palegreenghosts

Just weighing in here since @palegreenhosts brought up the thread. With all of the time I'm losing to this GUI crash issue, I don't really want to spend time tracking multiple threads for the same issue, but I've posted tons of info on Safari keeps crashing/freezing after install of El Capitan


Feel free to reach out on the main thread above if I can help.


BTW - I've sent the thread above to Apple many times with details about this issue.

Feb 18, 2016 10:48 AM in response to jonasgs1

I think I have found the way to unfreeze Macbook! It worked for me and I hope it will work for you too.


When frozen, just hold power button for about 3 seconds or longer (don't hold it for too long or your Macbook will turn off). Do this several times and your Mac will unfreeze. Unfortunately, you will have to restart Safari or you will experience stuttering or even freeze again. At least you will be able to continue using your Macbook without having to restart it.


I use Macbook Air 13-inch mid-2013 with OS X 10.11.1. Why not the latest (for the moment) 10.11.3? Well that is a whole other issue...

Feb 18, 2016 11:08 AM in response to palegreenghosts

jonasgs1 was saying something about 20 seconds. I was waiting minutes and I really don't even want try waiting longer. And I pressed button for about 2-3 times which takes about 6-10 seconds. That's not even close to 20.

And I know, newest Macbooks can restart really fast. It might be even easier to just restart. But sometimes you just don't want or can't do it.

Closing tabs in Safari freezes Macbook

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