akotako

Q: Safari shut down suddenly and it doesn't reopen

I use McAir with OSX Version 10.9.5.  Safari has been updated to 9.0.2 since 31 Dec/15.   A couple of days ago when I opened my computer from the sleep mode, I saw an error message notifying me that an error occurred and Safari shut down unexpectedly.  Since then, whenever I tried to reopen Safari, a problem report screen shows up and my reopen attempts have failed.  I don't have any other internet browser on my MacAir.  How can I fix it?

MacBook Air, OS X Mavericks (10.9.5)

Posted on Jan 15, 2016 5:04 AM

Close

Q: Safari shut down suddenly and it doesn't reopen

  • All replies
  • Helpful answers

  • by dominic23,

    dominic23 dominic23 Jan 15, 2016 5:55 AM in response to akotako
    Level 8 (41,820 points)
    Mac OS X
    Jan 15, 2016 5:55 AM in response to akotako

    1. Delete Caches

     

        Close all windows and quit all applications.

        Hold "option" key down and click "Go" menu in the Finder menu bar.

        Select "Library" from the dropdown.

     

        Library > Caches > com.apple.Safari

        Right click the com.apple.Safari file and select "Move To Trash.

        Close windows and relaunch Safari.

     

    2. Delete com.apple.Safari.plist file and test.

     

        Empty the Trash.

        Quit all applications.

        Hold the option key down and click the "Go" menu in the Finder menu bar.

     

        Select "Library" from the drop down.

     

        Library > Preferences >  com.apple.Safari.plist

        Right click on it and select "Move it to Trash".

        Restart.    Relaunch Safari.

     

        If this doesn’t help, “Put Back” the com.apple.Safari.plist

     

        Right click on  the Trash icon in the Dock and select “Open”.

        Right click on the com.apple.Safari.plist and select “Put Back”.

     

    3. https://support.apple.com/en-us/HT203353

  • by Linc Davis,

    Linc Davis Linc Davis Jan 15, 2016 6:06 AM in response to akotako
    Level 10 (208,000 points)
    Applications
    Jan 15, 2016 6:06 AM in response to akotako

    Please read this whole message before doing anything.

    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.

    Step 1

    The purpose of this step is to determine whether the problem is localized to your user account.

    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”

    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.

    Test while logged in as Guest. Same problem?

    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.

    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

    Step 2

    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.

    Please take this step regardless of the results of Step 1.

    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem.

    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.

    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.

    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

    Test while in safe mode. Same problem?

    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • by Eric Root,

    Eric Root Eric Root Jan 15, 2016 7:03 AM in response to akotako
    Level 9 (72,561 points)
    iTunes
    Jan 15, 2016 7:03 AM in response to akotako

    Safari Corruption       See post by Linc Davis

  • by akotako,

    akotako akotako Jan 15, 2016 10:21 AM in response to Linc Davis
    Level 1 (0 points)
    Jan 15, 2016 10:21 AM in response to Linc Davis

    Hi! 

     

    I tried both steps.

     

    Step 1: I can use Safari without problem when I log in as guest user.  

    Step 2: The same problem exists when I tried to open Safari in safe mode. 

     

    After I completed Step 2, I restarted the computer and tried Safari.  Same problem.

     

    What should I do next?

  • by Linc Davis,Solvedanswer

    Linc Davis Linc Davis Jan 16, 2016 1:33 AM in response to akotako
    Level 10 (208,000 points)
    Applications
    Jan 16, 2016 1:33 AM in response to akotako

    Please back up all data before proceeding.

    Quit Safari if it’s running.

    Step 1

    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.Safari.SearchHelper

              Caches/com.apple.SafariServices

              Caches/com.apple.WebKit.PluginProcess

              Caches/com.apple.WebProcess

              Caches/Metadata/Safari

              Preferences/com.apple.WebKit.PluginHost.plist

              Preferences/com.apple.WebKit.PluginProcess.plist

              Saved Application State/com.apple.Safari.savedState

              WebKit/com.apple.Safari

    Leave the Library folder open. Try Safari again. If the problem is solved, stop here. Close the Library folder. If you still have a problem, continue.

    Step 2

    Move the following items from the open Library folder to the Desktop (again, some may not exist):

              Cookies/Cookies.binarycookies

              Cookies/com.apple.Safari.SearchHelper.binarycookies

              Internet Plug-Ins

              Preferences/ByHost/com.apple.Safari.*.plist

              Preferences/com.apple.Safari.Extensions.plist

              Preferences/com.apple.Safari.LSSharedFileList.plist

              Preferences/com.apple.Safari.plist

              Preferences/com.apple.WebFoundation.plist

              PubSub/Database

              Safari

              SyncedPreferences/com.apple.Safari-com.apple.Safari.UserRequests.plist

              SyncedPreferences/com.apple.Safari.plist

    Here, "*" stands for a long string of letters, numbers, and dashes.

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

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

    Try again. Your settings and bookmarks will be lost. The default set of bookmarks will be restored. Delete them all.

    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 From Bookmarks HTML File... (or 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.

    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 may 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 you don’t like the results of the last step, 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.

  • by akotako,Helpful

    akotako akotako Jan 16, 2016 1:35 AM in response to Linc Davis
    Level 1 (0 points)
    Jan 16, 2016 1:35 AM in response to Linc Davis

    Worked after Step 2!! Now Safari is back!!!  Thank you so much! 

     

    I imported bookmarks, but others are still in Trash and Desktop.  Would there be a problem to delete all of them?

     

    Thank you again!

  • by Linc Davis,

    Linc Davis Linc Davis Jan 15, 2016 3:27 PM in response to akotako
    Level 10 (208,000 points)
    Applications
    Jan 15, 2016 3:27 PM in response to akotako

    If you have all the Safari data you need, you can delete the files you moved, as I wrote earlier.

  • by akotako,

    akotako akotako Jan 16, 2016 1:37 AM in response to dominic23
    Level 1 (0 points)
    Jan 16, 2016 1:37 AM in response to dominic23

    Thank you so much for your advice!

  • by akotako,

    akotako akotako Jan 16, 2016 8:58 AM in response to Eric Root
    Level 1 (0 points)
    Jan 16, 2016 8:58 AM in response to Eric Root

    Thank you so much for your advice!