11 Replies Latest reply: Apr 30, 2013 2:40 PM by Javier Bonafont
jasond85 Level 1 Level 1 (0 points)

Hi,

 

Since clean installing ML when it came out, Safari 6 has a nasty habit of randomly closing. This seems to happen on the Top Sites page when I use CMD+T to open new tabs, or when I right click any link to open in a new tab. I do not have any Add-ons running, and Safari runs great other than this crash. Unfortunately, it doesn't actually pick up as a crash, so no window pops up and no report to run. The window just closes instantly.

 

Any ideas of what I can do to fix this? It has become very troubling, especially when I have a lot of tabs open.

 

Thanks!


Mac Pro, OS X Mountain Lion (10.8.1), (Nehalem)
  • 1. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    Carolyn Samit Level 10 Level 10 (89,600 points)

    See if you can try this before Safari quits...

     

    From your Safari menu bar click Safari > Preferences then select the Extensions tab.

     

    If there are any installed, turn that OFF, quit and relaunch Safari to test.

     

    If extensions aren't the issue, open the Finder. From the Finder menu bar click Go > Go to Folder

     

    Type of copy / paste:   ~/LIbrary/Caches/com.apple.Safari

     

    Click Go then move the Cache.db file from the  com.apple.Safari folder to the Trash.

     

    Try Safari.

  • 2. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    Linc Davis Level 10 Level 10 (117,870 points)

    Launch the Console 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 Console in the page that opens.

     

    Step 1

     

    Enter the name of the crashed application or process in the Filter text field. Post the messages from the time of the last crash, if any — the text, please, not a screenshot.

    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.

    PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.

     

    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

     

    Step 2

     

    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • 3. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    jasond85 Level 1 Level 1 (0 points)

    Linc,

     

    I turn off all addons for Safari, and the problem is still happening. I just had it disappear instantly and checked the logs. I only see a couple of lines, but only two are distinct:

     

    CGContextClipToRect: invalid context 0x0

     

    and a couple of these

     

    GContextClipToRect: invalid context 0x0

     

    They all seem to relate to coregraphics. I am running at Mac Pro 4,1 with a Radeon 4870.

  • 4. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    Linc Davis Level 10 Level 10 (117,870 points)

    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. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. 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 personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; 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(s)?

     

    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.

     

    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:

     

    1. Be sure your Mac is shut down.
    2. Press the power button.
    3. Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    4. Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).

     

    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.

     

    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.

     

    *Note: If FileVault is enabled, or if a firmware password is set, you can’t boot in safe mode.

     

    Test while in safe mode. Same problem(s)?

     

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

  • 5. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    Thelgord Level 1 Level 1 (5 points)

    I am also experiencing the same issue on 10.8.2. It doesn't happen all the time, but when it does it is very annoying. Any progress on a solution?

  • 6. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    jasond85 Level 1 Level 1 (0 points)

    Sorry this is so late. I finally fixed the issue, but only by re-installing Mountain Lion from the Recovery partition. At least it was relatively painless! =)

  • 7. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    FTV Level 1 Level 1 (10 points)

    I belive the problem is caused by the Ad Block extension. If you have it installed, disable it and see if you can now open links in new tabs without issue. Worked for me so far.

  • 8. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    Javier Bonafont Level 1 Level 1 (0 points)

    Hi Jason.

    Has it stayed fixed since you did the Recovery?

  • 9. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    jasond85 Level 1 Level 1 (0 points)

    Hi Javier,

     

    Well, no, it hasn't. It didn't do it for a while, and then it is back again. I might just wait until I reinstall a clean copy of OS X again later on. I don't have anything odd running that should affect it, nor do I have an addons running. I think I give up.

  • 10. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    jasond85 Level 1 Level 1 (0 points)

    Well, an update for anyone who is still following this, OS 10.8.3 has fixed the issue apparently. I can't get it to break at all now, so it finally feels solid!

  • 11. Re: Safari 6 Crashes/Disappears instantly in 10.8.1
    Javier Bonafont Level 1 Level 1 (0 points)

    I agree.  Mine has been crash proof for weeks.  Finally!