Previous 1 2 3 Next 32 Replies Latest reply: Nov 9, 2012 2:26 PM by gryphontech
charlesbt Level 1 Level 1

Safari has just started hanging today. It will only happen on certain sites and the spinning beachball is not permanent.

This does not happen if I log in with a guest account.

 

Any ideas anyone?

 

Thanks in advance


MacBook Pro with Retina display, OS X Mountain Lion (10.8.1)
Solved by pippy on Oct 13, 2012 2:18 PM Solved
I started getting Safari freezes as well today (which is how I ended up here). I managed to solve it by disabling Rapport (in System preferences)... Rapport's some stupid thing my bank recommended I install. If you've got it installed this might solve the problem.
Reply by Linc Davis on Oct 13, 2012 2:30 PM Helpful
Please read this whole message before doing anything.   This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands. Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. Launch the Terminal application in any of the following ways: ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. Step 1 Copy or drag — do not type — the line below into the Terminal window, then press return:kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'  Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.) You can omit the final line ending in “$”. Step 2 Repeat with this line:sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'  This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. Step 3launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'  Step 4ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null   Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. Step 5osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null  Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output. You can then quit Terminal.

All replies

  • Linc Davis Level 10 Level 10
    expertise.desktops
    Desktops

    Select Safari Preferences Extensions from the Safari menu bar. If any extensions are installed, disable them and test.

  • charlesbt Level 1 Level 1

    Hi Linc

     

    I have disabled all extensions by using the "off button".

  • charlesbt Level 1 Level 1

    Hi Linc

     

    I have disabled all extensions by using the "off button" but its still doing the same thing.

  • Bootup Level 1 Level 1

    You could try resseting Safari. You will want to back up your book marks before doing this. This used to restore it to default settings.

    To backup book marks go to File > Export Bookmarks

    To reset Safari go to Safair > Reset Safari

     

     

     

    Safari 6 reset Apple

    http://support.apple.com/kb/PH11914

  • charlesbt Level 1 Level 1

    HI Bootup

     

    I have tried doing this a few times but it has not helped.

    Any other suggestions? Interesting that it will not do this when I am in a guest account....

     

     

    Thanks

     

    Otherwise a comple reinstall of osx?

  • Bootup Level 1 Level 1

    So if you have logged into a guest account the issue is not there. Does is do the same issue if you created a new account.  That would suggest to me it could be a preferance issue.

     

    Have you tried removing the safair preferances from the user with the troubles.

  • charlesbt Level 1 Level 1

    Hi

     

    I am logged into a guest account now and Safari is one hundred percent-no freezing at all.

    I have not tried to create a new account to test it in that way.

     

    How do I remove Safari preferences on my usual account(the one that is giving me trouble)?

     

    Thanks

  • charlesbt Level 1 Level 1

    Hi Bootup

     

    I have just created a new account and its fine-it only misbehaves on my own(usual) account

  • Linc Davis Level 10 Level 10
    expertise.desktops
    Desktops

    Read this whole message before doing anything.

     

    Back up all data.

     

    Quit Safari if it’s running. Then select  Force Quit... from the menu bar. A small window will open with a list of running applications. Safari may appear in that list, even though you quit it. If so, select it and press return. Close the window.

     

    Step 1

     

    In the Finder, press the key combination shift-command-A to open the Applications folder. Select the Safari icon in that folder and press the key combination command-I to open the Info window. There’s a checkbox in the Info window labeled Open in 32-bit mode. Uncheck it, if checked. Close the Info window and the Applications folder.

     

    Hold down the option key and select Go Library from the Finder menu bar. Delete the following items from the Library folder (some may not exist):

     

    Caches/com.apple.Safari

    Caches/com.apple.WebKit.PluginProcess

    Caches/Metadata/Safari

    Preferences/com.apple.WebKit.PluginHost.plist

    Preferences/com.apple.WebKit.PluginProcess.plist

    Saved Application State/com.apple.Safari.savedState

     

    Leave the Library folder open. Try Safari again. If it works now, stop here. Close the Library folder.

     

    Step 2

     

    If you still have problems, quit Safari again.

     

    Launch the Terminal application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

     

    Drag or copy — do not type — the following line into the Terminal window, then press return:

     

    rm -fr $TMPDIR../C/com.apple.Safari

     

    Quit Terminal. Launch Safari and test.

     

    Step 3

     

    If Safari still doesn’t work right, quit, go back to the Finder and move the following items from the open Library folder to the Desktop (some may not exist):

     

    Cookies/Cookies.binarycookies

    Preferences/com.apple.Safari.LSSharedFileList.plist

    Preferences/com.apple.Safari.plist

    Preferences/com.apple.Safari.RSS.plist

    Preferences/com.apple.WebFoundation.plist

    PubSub/Database

    Safari

     

    (Note: you are not moving the Safari application. You’re moving a folder named “Safari.”)

     

    Try again. This time Safari should perform normally, but your settings and bookmarks will be lost.

     

    If the issue is still not resolved, quit Safari again and put all the items you moved to the Desktop back where they were, overwriting the newer ones that will have been created in their place. You don’t need to replace the files you deleted in step 1. Stop here and post again.

     

    If Safari is now working normally (apart from the lost settings), look inside the “Safari” folder on the Desktop for a file named “Bookmarks.plist”. Select File Import Bookmarks from the Safari menu bar. Import from that file. Recreate the rest of your Safari settings. You can then delete the items you moved to the Desktop.

     

    Note: This step will remove your Safari Extensions, if any, and their settings. If you choose to restore them, do so one at a time, testing after each step to make sure you haven’t restored the problem.

     

    If you don’t like the results of step 3, you can undo it completely by quitting Safari and restoring the items you moved or deleted in that step from your backup, overwriting any that were created in their place.

  • Bootup Level 1 Level 1

    Hi,

     

    So removing the preferance file fo safari will be in the local user library.

    Quit Safari completly.

    To get to this library have finder open, go to Go then hold down the option button and you should see the Library folder Appear. Select this icon an you will be take to your local user library. From there go to the Preferance Folder and Look the file called com.apple.Safari.plist  Move this file to your trash or desktop. And relaunch Safari

  • charlesbt Level 1 Level 1

    HI Linc

     

    The first two options have not worked and so I am about to try the third one. In the folder with all these files that I am going to put on the desktop, there is often a lockfile next to it with the same name.

     

    See attached screenshot. Do I delete these ones too?file://localhost/Users/charlesbowes-taylor/Desktop/Plist.jpgfile://localhos t/Users/charlesbowes-taylor/Desktop/Plist.tiff

  • charlesbt Level 1 Level 1

    HI Bootup

     

     

    Tried this and its not working either

  • Linc Davis Level 10 Level 10
    expertise.desktops
    Desktops

    I can't see your screenshot, but if you're seeing files with a name ending in ".plist.lockfile" in the Preferences folder, they're left over from 10.7. You can ignore them.

  • charlesbt Level 1 Level 1

    HI Linc

     

    Firstly, thank you for all your help with this one.

     

    I tried the third option but with no luck. Its so weird that its only on my account that this happens. I suppose a complete reinstall of osx is the only way now?

     

    I am trying to think of what could have caused this. The only thing that I can think of(and you won't believe this) is that I have been downloading a torrent of a forty year old audiobook that I cant buy anywhere on the web.

     

    Could this be the cause of this?

     

    Thanks again

Previous 1 2 3 Next