Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

manyelski

macrumors regular
Sep 3, 2014
200
9
Hi, Safari freezing when selecting the current web address since last nite's update to 10.1.3 When you try to enter a new web address and click in the long box, it takes 3 sec. and I see the beach ball for a while.


Mac Pro, OS X El Capitan (10.11.3), Mid 2014 13' Retina
 

rdijkgraaf

macrumors newbie
Jan 29, 2016
29
4
Netherlands
Since a couple of days is is impossible to enter text in the address and search window of Safari on the two iMacs (El Capitan) in my household. I use Firefox temporarely instead. Restarts etc. didn't solve the issue.
My wife and I both have AdBlock for Safari installed, could that be the problem? Angry adproducer?
 

e93to

macrumors 6502a
Jan 23, 2015
824
184
Toronto
I don't have this issue on my MBP, but El Cap is on partition. And the partition is almost unloaded with only a couple of apps installed (No Safari extensions).
 

manyelski

macrumors regular
Sep 3, 2014
200
9
Whenever I try to open a new tab it takes it a good 2-3 sec, and all freezes during it. In addition quite often see the beach ball doing all day things in the safari...hope they fix this soon!
 

registered

macrumors member
Feb 6, 2006
35
4
Ok so this is a super gross solution that might break OS X or prevent future updates, but I was tired of this happening all the time and hunted around for a solution. The Console made a lot of references to "IMKServer Stall detected" and "PressAndHold" when the tab freeze occurred, so I hunted around and found this kind soul on Github: https://gist.github.com/WojtekKruszewski/3d5ff7f908a180b87498

This **** has been bugging me for too long, so I went on a hunt and found a workaround.
The Symptoms are as follows:
* Clicking the address bar results in a 1-4 second delay
* Opening links in new tabs results in a 1-4 second delay
* +T results in a 1-4 second delay
* `PressAndHold[<pid>]: IMKServer Stall detected` is present in `/var/log/system.log` at the time of the hang.
It appears to be to do with the PressAndHold helper - the thing that shows an IOS style selection of accents when you hold a key down.
The fix may have some unwanted effects, I haven't really noticed any.
1. Reboot into system restore mode (+R immediately after boot)
2. Navigate to Utilities > Terminal
3. Enter the command `csrutil disable`
4. Reboot
5. Open Terminal
6. `defaults write -g ApplePressAndHoldEnabled -bool false && launchctl remove $(launchctl list | grep -oE 'com.apple.PressAndHold.+$')`
7. `sudo chmod 000 /System/Library/Input\ Methods/PressAndHold.app/Contents/MacOS/PressAndHold`
8. Reboot
You can choose reboot back into restore mode and issue `csrutil enable` again to re-enable rootless mode.
However, if you're constantly hacking around with bits of the OS like me, then you can leave it disabled.
Hope this helps

PLEASE BE CAREFUL THOUGH! It's certainly possible this can break OS X in unexpected ways or break future updates. Only use this if you know what you're doing and unafraid of the consequences. I just went forward with it and tried it because I was sick and tired of this issue with Safari. So far it seems to have resolved it - no more delays with new tabs in Safari!
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.