Haiminh Le

Q: 'A problem repeatedly occurred with [website]' followed by a crash report

This has happened regularly since upgrading to El Capitan.

 

Specific – but seemingly random – pages won't load (such as this Wikipedia article and this AMA from Reddit) I get a grey screen that explains a problem repeatedly occurred with [web address] with a Reload Webpage button. A Problem Report window also appears, explaining com.apple.WebKit.WebContent quit unexpectedly. Clicking the Reload Webpage button only brings up the grey screen and crash report again.

 

So far I've tried the following:

• restarted the machine

• made sure OS X is up to date (10.11.1) as well as Flash

• disabled Safari extensions

• starting up Safari while holding down Shift

• removed plug-ins and other add-ons from my Library folders (as per this help article)

• disabled plug-ins, JavaScript and WebGL from the Safari preferences

 

I don't have any problem loading those pages when logged in as a guest user or in Safe Mode, so I assume the problem is specific to my user account.

 

Am completely stumped as to how to fix this. Any help would be much appreciated.

Posted on Nov 22, 2015 11:20 AM

Close

Q: 'A problem repeatedly occurred with [website]' followed by a crash report

  • All replies
  • Helpful answers

Page 1 Next
  • by Linc Davis,

    Linc Davis Linc Davis Nov 22, 2015 12:06 PM in response to Haiminh Le
    Level 10 (208,000 points)
    Applications
    Nov 22, 2015 12:06 PM in response to Haiminh Le

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.

    The test works on OS X 10.7 ("Lion") and later. I don't recommend running it on older versions of OS X. It will do no harm, but it won't do much good either.

    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.

    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.

    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.

    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.

    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.

    In this case, however, there are ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the requisite skill can verify what it does.

    You may not be able to understand the script yourself. But variations of it have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message. See, for example, this discussion.

    Another indication that the test is safe can be found in this thread, and this one, for example, where the comment in which I suggested it was recommended by one of the Apple Community Specialists, as explained here.

    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.

    4. Here's a general summary of what you need to do, if you choose to proceed:

    ☞ Copy a particular line of text to the Clipboard.

    ☞ Paste into the window of another application.

    ☞ Wait for the test to run. It usually takes a few minutes.

    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.

    These are not specific instructions; just an overview. The details are in parts 7 and 8 of this comment. The sequence is: copy, paste, wait, paste again. You don't need to copy a second time.

    5. Try to test under conditions that reproduce the problem, as far as possible. For example, if the computer is intermittently slow, run the test during a slowdown.

    You may have started up in safe mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual before running it. If you can only test in safe mode, do that.

    6. If you have more than one user, and only one user is affected by the problem,, and the affected user is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.

    7. Load this linked web page (on the website "Pastebin.") The title of the page is "Diagnostic Test." Below the title is a text box headed by three small icons. The one on the right represents a clipboard. Click that icon to select the text, then copy it to the Clipboard on your computer by pressing the key combination command-C.

    If the text doesn't highlight when you click the icon, select it by triple-clicking anywhere inside the box. Don't select the whole page, just the text in the box.

    8. Launch the built-in 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 and start typing the name.

    Click anywhere in the Terminal window to activate it. Paste from the Clipboard into the window by pressing command-V, then press return. The text you pasted should vanish immediately.

    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter

    exec bash

    and press return. Then paste the script again.

    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. If you don't know the password, or if you prefer not to enter it, just press return three times at the password prompt. Again, the script will still run.

    If the test is taking much longer than usual to run because the computer is very slow, you might be prompted for your password a second time. The authorization that you grant by entering it expires automatically after five minutes.

    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.

    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, a series of lines will appear in the Terminal window like this:

    [Process started]
            Part 1 of 4 done at … sec
            …
            Part 4 of 4 done at … sec
            The test results are on the Clipboard.
            Please close this window.
    [Process completed]

    The intervals between parts won't be exactly equal, but they give a rough indication of progress.

    Wait for the final message "Process completed" to appear. If you don't see it within about 15 minutes, the test probably won't complete in a reasonable time. In that case, press the key combination control-C or command-period to stop it. Then go to the next step. You'll have incomplete results, but still something. If you close the Terminal window while the test is still running, the partial results won't be saved and you'll have to start over.

    12. When the test is complete, or if you stopped it because it was taking too long, quit Terminal. The results will have been saved to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.

    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.

    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.

    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the software that runs this website. Please post the test results on Pastebin, then post a link here to the page you created.

    If you have an account on Pastebin, please don't select Private from the Paste Exposure menu on the page, because then no one but you will be able to see it.

    14. This is a public forum, and others may give you advice based on the results of the test. They speak for themselves, not for me. The test itself is harmless, but whatever else you're told to do may not be. For others who choose to run it, I don't recommend that you post the test results on this website unless I asked you to.

    ______________________________________________________________

    Copyright © 2014, 2015 by Linc Davis. As the sole author of this work (including the referenced "Diagnostic Test"), I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • by Haiminh Le,

    Haiminh Le Haiminh Le Nov 22, 2015 2:53 PM in response to Linc Davis
    Level 1 (80 points)
    Nov 22, 2015 2:53 PM in response to Linc Davis

    Hello.

     

    Thanks for that very thorough and detailed – and simple! – explanation. Really appreciated.

     

    Link to the results on Pastebin.

  • by Linc Davis,

    Linc Davis Linc Davis Nov 22, 2015 4:07 PM in response to Haiminh Le
    Level 10 (208,000 points)
    Applications
    Nov 22, 2015 4:07 PM in response to Haiminh Le

    A

    Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

    Back up all data before proceeding.

    Step 1

    If you have more than one user, and the one in question is not an administrator, then go to Step 2.

    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

    sudo find ~ $TMPDIR.. -exec chflags -h nosappnd,noschg,nosunlnk,nouappnd,nouchg,nouunlnk {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

    Step 2 (optional)

    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

    Start up in Recovery mode. When the OS X Utilities screen appears, select

              Utilities Terminal

    from the menu bar. A Terminal window will open. In that window, type this:

    resetp

    Press the tab key. The partial command you typed will automatically be completed to this:

    resetpassword

    Press return. A Reset Password window will open. You’re not going to reset a password.

    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.

    Select your username from the menu labeled Select the user account if not already selected.

    Under Reset Home Directory Permissions and ACLs, click the Reset button.

    Select

               Restart

    from the menu bar.

    B

    Back up all data.

    Run the following command in the same way as before. It moves to the Trash "semaphore" files that have not been cleaned up by the system and may be interfering with normal operation. The files are empty; they contain no data. There will be no output this time.

    find L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.??????? -exec mv {} .Trash/ \; 2>&-

    Log out or restart the computer and empty the Trash.

    C

    If the above steps don't solve the problem, and I doubt that they will, please see below.

    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 and start typing the name.

    Step 1

    For this step, the title of the Console window should be All Messages. If it isn't, select

              SYSTEM LOG QUERIES All Messages

    from the log list on the left. If you don't see that list, select

              View Show Log List

    from the menu bar at the top of the screen.

    In the top right corner of the Console window, there's a search box labeled Filter. Enter the name of the crashed application or process. For example, if WebContent crashed, you would enter "WebContent" (without the quotes.)

    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.

    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.

    Please don't indiscriminately dump thousands of lines from the log into this discussion.

    Please don't post screenshots of log messages—post the text.

    Some private information, such as your name, may appear in the log. Anonymize before posting.

    Step 2

    In the Console window, select

              DIAGNOSTIC AND USAGE INFORMATION User Diagnostic Reports

    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.

    I know the report is long, maybe several hundred lines. Please post all of it anyway.

    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.

    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 other kinds of diagnostic report—they're very long and rarely helpful.

    When you post the log extract or the crash report, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

    If you have an account on Pastebin, please don't select Private from the Paste Exposure menu on the page, because then no one but you will be able to see it.

  • by Haiminh Le,

    Haiminh Le Haiminh Le Nov 22, 2015 4:14 PM in response to Linc Davis
    Level 1 (80 points)
    Nov 22, 2015 4:14 PM in response to Linc Davis

    I'll perform these steps and get back to you tomorrow since I don't have time to perform all of these tonight but wanted to thank you and let you know. It's very kind of you to help.

  • by Haiminh Le,

    Haiminh Le Haiminh Le Nov 23, 2015 4:36 PM in response to Linc Davis
    Level 1 (80 points)
    Nov 23, 2015 4:36 PM in response to Linc Davis

    A

    Step 1: I copy-pasted the Terminal command but got the error 'unknown primary or operator'

    Step 2: Clicking Reset Home Directory Permissions and ACLs was (remarkably?) quick – the Reset button instantly read Done and greyed out. After a restart, no effect.

     

    B

    I copy-pasted the Terminal command but got the error 'unknown primary or operator'. Restarted the machine and emptied the Trash anyway. No effect.

     

    C

    Step 1: The latest set of log lists at the time of the latest crash (Pastebin)

    Step 2: User diagnostic report (Pastebin)

  • by Linc Davis,

    Linc Davis Linc Davis Nov 23, 2015 5:47 PM in response to Haiminh Le
    Level 10 (208,000 points)
    Applications
    Nov 23, 2015 5:47 PM in response to Haiminh Le

    A, B

     

    I would have to see a screenshot that shows what you did. The commands are correct. You may not have copied the whole line.

     

    C

    Please back up all data before proceeding.

    Launch the Font Book application and validate all fonts. You must select the fonts in order to validate them. See the built-in help and this support article for instructions. If Font Book finds any issues, resolve them.

    Start up in safe mode to rebuild the font caches. Restart as usual and test.

    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 start in safe mode. In that case, ask for instructions.

    If you still have problems, then from the Font Book menu bar, select

              FileRestore Standard Fonts...

    You'll be prompted to confirm, and then to enter your administrator login password.

    Also note that if you deactivate or remove any built-in fonts, for instance by using a third-party font manager, the system may become unstable.

  • by Haiminh Le,

    Haiminh Le Haiminh Le Nov 24, 2015 2:33 PM in response to Linc Davis
    Level 1 (80 points)
    Nov 24, 2015 2:33 PM in response to Linc Davis

    A + B

    You were right, I hadn't copied the entire line. Performed these steps again (without any error messages) but with no effect.

     

    C

    • Validated fonts, disabled any that showed errors. Booted into Safe Mode, then booted as normal – no effect.

    • Restored the standard OS X fonts (and can confirm there is now a Fonts (Removed) folder in my Library folder), booted into Safe Mode to rebuild the font caches, then booted as normal – no effect.

    • I don't have any third-party font managers.

     

    Am struggling with this one...

  • by Linc Davis,

    Linc Davis Linc Davis Nov 24, 2015 4:14 PM in response to Haiminh Le
    Level 10 (208,000 points)
    Applications
    Nov 24, 2015 4:14 PM in response to Haiminh Le

    From the Safari menu bar, please select

              Safari Preferences... Privacy Remove All Website Data...

    and confirm. Test.

  • by Haiminh Le,

    Haiminh Le Haiminh Le Nov 24, 2015 4:21 PM in response to Linc Davis
    Level 1 (80 points)
    Nov 24, 2015 4:21 PM in response to Linc Davis

    No effect, sadly.

  • by Linc Davis,

    Linc Davis Linc Davis Nov 24, 2015 5:09 PM in response to Haiminh Le
    Level 10 (208,000 points)
    Applications
    Nov 24, 2015 5:09 PM in response to Haiminh Le

    You wrote earlier that you did not get the crashes while in safe mode or while logged in as Guest. Are you absolutely sure that's correct? If so, please post another crash report.

  • by Haiminh Le,

    Haiminh Le Haiminh Le Nov 25, 2015 5:31 PM in response to Linc Davis
    Level 1 (80 points)
    Nov 25, 2015 5:31 PM in response to Linc Davis

    That's correct, I don't get the crashes while in Safe Mode or logged in as a Guest. I've just tried again while logged in as a Guest and can confirm there are no problems.

     

    Latest set of log lists (I don't know if it's relevant, but I had to delete 670-odd lines that read 26/11/2015 01:15:44.000 kernel[0]: com.apple.nke.webcontentfilter: ERROR holy_data_out_cb: 'to' address is NULL and sock_isNOTconnected)

    User diagnostic report

    Problem Report for com.apple.WebKit.Webcontent

     

    As I said before, I really appreciate you taking the time to help.

  • by Linc Davis,

    Linc Davis Linc Davis Nov 25, 2015 9:02 PM in response to Haiminh Le
    Level 10 (208,000 points)
    Applications
    Nov 25, 2015 9:02 PM in response to Haiminh Le

    You may be triggering a bug that has something to do with Spotlight. In the Safari preferences window, please select the Search tab and uncheck the boxes marked

     

         Include Safari Suggestions

     

    and

     

         Enable Quick Website Search

     

    if they're checked. Any change?

  • by Haiminh Le,

    Haiminh Le Haiminh Le Nov 26, 2015 4:22 AM in response to Linc Davis
    Level 1 (80 points)
    Nov 26, 2015 4:22 AM in response to Linc Davis

    Sadly not.

  • by Linc Davis,

    Linc Davis Linc Davis Nov 26, 2015 12:13 PM in response to Haiminh Le
    Level 10 (208,000 points)
    Applications
    Nov 26, 2015 12:13 PM in response to Haiminh Le

    Please run the diagnostic script again and post the results. I'd like to see what has changed.

Page 1 Next