7 Replies Latest reply: Dec 3, 2012 1:08 PM by Linc Davis
aheroicman Level 1 Level 1 (0 points)

Safari is unexpectedly quitting when not in use.  I leave the computer and come back and it has quit.  I have turned off all extemsions, disabled pluins, reset Safari and all to no avail. Disk utility does't seem to help. I am on iMac 3.06 Intel Core 2 Duo, OSX 10.8.2 and Safari Version 6.0.2 (8536.26.17). Is there some preference embedded somewhere that I have to delete?


iMac
  • Linc Davis Level 10 Level 10 (159,195 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 icon grid.

     

    Step 1

     

    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.

     

    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.

     

    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 entire 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.

  • aheroicman Level 1 Level 1 (0 points)

    The messages from the last time it quit:

    11/23/12 9:51:48.100 AM com.apple.launchd.peruser.501[167]: (com.apple.Safari) Throttling respawn: Will start in 57 seconds

    11/23/12 9:51:48.192 AM com.apple.launchd.peruser.501[167]: (com.apple.Safari) Throttling respawn: Will start in 57 seconds

    11/23/12 9:51:48.306 AM com.apple.launchd.peruser.501[167]: (com.apple.Safari) Throttling respawn: Will start in 57 seconds

    11/23/12 9:51:48.307 AM com.apple.launchd.peruser.501[167]: (com.apple.Safari) Throttling respawn: Will start in 57 seconds

    11/23/12 9:51:53.175 AM apsd[56]: <APSConnectionNotificationQueue: 0x7fe0d1851970>: outstanding count -1 for com.apple.apsd-queue-port=com.apple.safaridavclient.push-user=501-env=productio n

    11/23/12 9:51:53.176 AM apsd[56]: <APSConnectionNotificationQueue: 0x7fe0d1851970>: outstanding count -1 for com.apple.apsd-queue-port=com.apple.safaridavclient.push-user=501-env=productio n

    11/23/12 9:51:53.176 AM apsd[56]: <APSConnectionNotificationQueue: 0x7fe0d1851970>: outstanding count -1 for com.apple.apsd-queue-port=com.apple.safaridavclient.push-user=501-env=productio n

     

    User Diagnostic Reports

    There was nothing there

     

    ???????

  • aheroicman Level 1 Level 1 (0 points)

    The most recent quit, while computer asleep:

     

    11/24/12 10:32:46.027 AM Safari[19305]: CGContextClipToRect: invalid context 0x0

  • Linc Davis Level 10 Level 10 (159,195 points)

    I'll take your word for it that there are no crash reports, though I find that hard to believe.

     

    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?

     

    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:

     

    • Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    • When you see the gray Apple logo, release the shift key.
    • If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.

     

    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, or if the boot volume is a software RAID, you can’t boot in safe mode.

     

    Test while in safe mode. Same problem?

     

    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.

  • aheroicman Level 1 Level 1 (0 points)

    Tried the Guest Login and the Safari application did not quit while computer unattended.  No other apps running.

     

    Switched back to regular account and, with only Safari running, it quit while computer unattended. No string messages.  Daignostic message this time reads:

     

    12/3/12 9:26:11.083 AM hidd[46]: MT gesture parser: logged smartzoom/dockdtap/ql count

    com.apple.message.domain: com.apple.MultitouchSupport.gesturestats

    com.apple.message.value: 1

    com.apple.message.value2: 0

    com.apple.message.value3: 0

    com.apple.message.value4: 2000

    com.apple.message.value5: 4

    com.apple.message.signature: smartzoom-dockdtap-quicklook_ctr

    com.apple.message.signature2: external

    com.apple.message.result: noop

    com.apple.message.uuid: 8EB2E65D-F8DF-4CCC-A120-418E9BD25B6B

     

     

    12/3/12 9:55:12.884 AM Safari[2480]: Window count

    com.apple.message.domain: com.apple.Safari.WindowCount

    com.apple.message.value: 0

     

     

    12/3/12 9:55:12.884 AM Safari[2480]: Tabs per window count

    com.apple.message.domain: com.apple.Safari.TabsPerWindowCount

    com.apple.message.value: 0

     

     

    12/3/12 9:55:19.884 AM Safari[2480]: Items modified in last hour

    com.apple.message.domain: com.apple.Safari.History.ItemsModifiedIn1Hour

    com.apple.message.value: 1

    com.apple.message.summarize: YES

     

    Trying other option (safe) now.

  • aheroicman Level 1 Level 1 (0 points)

    OK.  Tried safe boot operation with all periperals (except USB keyboard and bluetooth mouse) detached. Safari only thing running.  Put display asleep and left computer unattended.  Sting for Safari is (but note time is wrong):

    12/3/12 6:34:56.809 AM Safari[2142]: CGContextClipToRect: invalid context 0x0

     

    Diagnostic and usage messages before crash is:

     

    12/3/12 10:09:22.820 AM UserEventAgent[2397]: com.apple.message.domain: com.apple.usage.app_activetime

    com.apple.message.signature: Safari

    com.apple.message.signature2: com.apple.Safari ||| 6.0.2 (8536.26.17)

    com.apple.message.value: 4431

    com.apple.message.value2: 234

    com.apple.message.value3: 0

    com.apple.message.value4: 0

    com.apple.message.value5: 3

    com.apple.message.value6: 1

    com.apple.message.value7: 536

    com.apple.message.result: YES

    com.apple.message.summarize: YES

     

     

    12/3/12 10:09:29.413 AM UserEventAgent[2397]: com.apple.message.domain: com.apple.usage.app_activetime

    com.apple.message.signature: Safari

    com.apple.message.signature2: com.apple.Safari ||| 6.0.2 (8536.26.17)

    com.apple.message.value: 6

    com.apple.message.value2: 2

    com.apple.message.value3: 0

    com.apple.message.value4: 0

    com.apple.message.value5: 1

    com.apple.message.value6: 0

    com.apple.message.value7: 6

    com.apple.message.result: YES

    com.apple.message.summarize: YES

     

     

    12/3/12 10:17:57.294 AM Safari[222]: Web Page visited

    com.apple.message.domain: com.apple.Safari.PageVisited

    com.apple.message.summarize: YES

     

    Can't see anything is User diagnostic and usage messages (bottom says no log selected).

     

    I di notice that if I leave a Safari page open (even minimized) that the crash doesn't seem to happen, but still verifying (testing) that.  Most irritating.

     

    Thanks for any and all suggestions.

    Lawrence

  • Linc Davis Level 10 Level 10 (159,195 points)

    From the menu bar, select  ▹ System Preferences ▹ Security & Privacy ▹ Privacy ▹ Diagnostics & Usage. If the box marked Send diagnostic & usage data to Apple is checked, uncheck it and see whether there's any improvement. You may have to click the padlock icon in the lower left corner of the window to unlock the settings. Enter your login password when prompted.