Andy Staines

Q: Endless crash reports

2010 MacBook Pro Unibody 17 inch/Mountain Lion

 

Ever since upgrading to Mountain Lion I have had many issues not least of which are many apps that stop responding - some apps that stop immediately (like the App Store) and some that stop when I try something specific (editing a contact, accessing Security/Privacy settings, copying to clipboard form Mail etc).

 

Now I find that in the  console that I have an endless stream of crach reports - 5 every minute of:

 

com.apple.message.domain: com.apple.crashreporter.writereport.crash

com.apple.message.signature: accountsd

com.apple.message.signature2: UNBUNDLED ||| 182.2 (182.2)

com.apple.message.signature3: D65845B3E2F1EE4A81201E57913991FE

com.apple.message.result: NO

com.apple.message.summarize: YES

 

hundreds of these (just a few at random):

 

([628]) Mail(628) deny file-read-data /Library/Preferences/com.apple.mail.plist

CGSGetWindowTags: Invalid window 0x219

CGSBindWindow: Unable to obtain window information

 

and these:

 

Error while opening database Error Domain=NSCocoaErrorDomain Code=512 "The file couldn’t be saved." UserInfo=0x7fd41243d0f0 {reason=Failed to create file; code = 2}, {

    reason = "Failed to create file; code = 2";

}

Creating new database...

 

and that is just a few that get repeated several times every minute..

 

I rebooted into safe mode and am still getting reams of the entries. I have verified the disk and permissions and all reports as being fine. And mostly the machine seems to work except for the above apps and other occasional 'not responding' situations.

 

Can anyone tell me in simple terms where to start?

All help and advice appreciated...

Posted on Sep 1, 2012 3:34 PM

Close

Q: Endless crash reports

  • All replies
  • Helpful answers

Previous Page 2
  • by Andy Staines,

    Andy Staines Andy Staines Sep 2, 2012 12:34 PM in response to Linc Davis
    Level 1 (35 points)
    Sep 2, 2012 12:34 PM in response to Linc Davis

    No - there was no folder named 'Accounts'. I created it and rebooted again just in case.

    I am getting the same group of repeating 6 log entries but there are a few new ones scattered here and there while I was watching the console window - 2 groups of 2...

     

    1 - Persistent UI failed to open file file://localhost/Users/andy/Library/Saved%20Application%20State/com.apple.Conso le.savedState/window_1.data: No such file or directory (2)

     

    2 - Error writing daemon storage to /Users/andy/Library/SyncedPreferences/com.apple.syncedpreferences.plist: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “SyncedPreferences” in the folder “Library”." UserInfo=0x7f8182c3e740 {NSFilePath=/Users/andy/Library/SyncedPreferences, NSUnderlyingError=0x7f8182c223c0 "The operation couldn’t be completed. Permission denied"}

     

    1 - unable to get mobile documents URL

     

    2 - error in _handle_client_request: LibrarianErrorDomain/10/Unable to configure the collection.

     

    Also got this when I opened textEdit ot paste the abivbe into:

     

    1 - _CGXSetWindowHasMainAppearance: Operation on a window 0xee requiring rights kCGSWindowRightOwner by caller TextEdit

     

    Do I need to set some specific permissions to this Accounts folder. It remains empty...

  • by Linc Davis,

    Linc Davis Linc Davis Sep 2, 2012 12:41 PM in response to Andy Staines
    Level 10 (208,000 points)
    Applications
    Sep 2, 2012 12:41 PM in response to Andy Staines

    Something is still wrong with your home folder permissions. Post the output of the shell command below:

     

    ls -Odel Library

  • by Andy Staines,

    Andy Staines Andy Staines Sep 2, 2012 12:44 PM in response to Linc Davis
    Level 1 (35 points)
    Sep 2, 2012 12:44 PM in response to Linc Davis

    drwx------+ 51 andy  staff  - 1734  2 Sep 20:21 Library

    0: group:everyone deny add_file,delete,add_subdirectory,delete_child,writeattr,writeextattr,chown

    1: group:everyone deny delete

  • by Andy Staines,

    Andy Staines Andy Staines Sep 2, 2012 12:56 PM in response to Andy Staines
    Level 1 (35 points)
    Sep 2, 2012 12:56 PM in response to Andy Staines

    Er... this new 'Accounts' folder was created with a user of 'root', group 'staff' and permissions of 755.

    Shoud not the owner be me - 'Andy'?

  • by Linc Davis,Solvedanswer

    Linc Davis Linc Davis Sep 2, 2012 1:02 PM in response to Andy Staines
    Level 10 (208,000 points)
    Applications
    Sep 2, 2012 1:02 PM in response to Andy Staines

    Back up all data now. Before proceeding, you must be sure you can restore your data to its present state

     

    Step 1

    Launch the Terminal application.

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

    chmod -R -N ~

    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:

    sudo !!

    You'll be prompted for your login password, which won't be displayed when you type it.

    Step 2

    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.

    When the OS X Utilities screen appears, select Utilities Terminal from the menu bar. A text window opens.

    In the Terminal window, type this:

    resetpassword

    That's one word with no spaces. Then press return. A Reset Password window opens. You’re not going to reset a password.

    Select your boot volume 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.

  • by Andy Staines,

    Andy Staines Andy Staines Sep 2, 2012 1:15 PM in response to Linc Davis
    Level 1 (35 points)
    Sep 2, 2012 1:15 PM in response to Linc Davis

    OK... got bout 3GB left in my latest TM backup - probably all log files but hey!

    So when that finishes....

  • by Andy Staines,

    Andy Staines Andy Staines Sep 2, 2012 2:18 PM in response to Andy Staines
    Level 1 (35 points)
    Sep 2, 2012 2:18 PM in response to Andy Staines

    Linc - a quick question.

     

    In 2 or 3 days I will be getting my new Retina Macbook. I was, of course, hoping to just use Migration Assistant to transfer everything over.

     

    Before I start your latest scary procedure, if I did nothing more would the problem I am having get transferred to the new machine? Do you know the answer to that by any chance?

  • by Linc Davis,

    Linc Davis Linc Davis Sep 2, 2012 2:29 PM in response to Andy Staines
    Level 10 (208,000 points)
    Applications
    Sep 2, 2012 2:29 PM in response to Andy Staines

    I was, of course, hoping to just use Migration Assistant to transfer everything over.

     

    Don't use Migration Assistant. Use Setup Assistant. It launches automatically when you first boot the new Mac.

     

    ...if I did nothing more would the problem I am having get transferred to the new machine?

     

    Yes.

  • by Andy Staines,

    Andy Staines Andy Staines Sep 2, 2012 2:34 PM in response to Linc Davis
    Level 1 (35 points)
    Sep 2, 2012 2:34 PM in response to Linc Davis

    Yes - I figured that would probably be the answer.

    OK - this time machine backup is taking so, so long. i think it has had to shuffle a lot of stuff on the TM disk. But must be nearly finished and I will then go through your last instructions

    Thanks

    Andy

  • by Andy Staines,

    Andy Staines Andy Staines Sep 2, 2012 2:57 PM in response to Andy Staines
    Level 1 (35 points)
    Sep 2, 2012 2:57 PM in response to Andy Staines

    Wow... this is looking promising!

    Apps run. Console is not flooding. I now have the sqlite database in that Accounts folder.

     

    I really want to thank you for sticking with this and giving me such clear and concise instructions to follow. I am extremely grateful.

     

    So - is this it or is there anything else I should do jsut to make sure all is well?

     

    Andy

     

    [Added]: Any idea what the cause may have been in the first place? It started when I upgraded to ML...

  • by Linc Davis,

    Linc Davis Linc Davis Sep 2, 2012 2:56 PM in response to Andy Staines
    Level 10 (208,000 points)
    Applications
    Sep 2, 2012 2:56 PM in response to Andy Staines

    Figure out how such a mess got created in the first place. That's more than I can do.

  • by Andy Staines,

    Andy Staines Andy Staines Sep 2, 2012 3:03 PM in response to Linc Davis
    Level 1 (35 points)
    Sep 2, 2012 3:03 PM in response to Linc Davis

    Things were just fine before I upgraded to ML. I am not blaming ML as I am assuing it just exacerbated some sort of minor probpem I might have had already but it literally started then. The first thing I did was try and go to the App Store to get an app upgrade and found I couldn't.

     

    Linc - I thank you for your patience and the abundance of help and advice. And thanks for sticking it out to the end. I am relieved!

     

    regards

    Andy

  • by Auslegung,

    Auslegung Auslegung Mar 14, 2016 6:18 AM in response to Linc Davis
    Level 1 (16 points)
    Applications
    Mar 14, 2016 6:18 AM in response to Linc Davis

    I was having a nearly identical issue as the OP.  10.11.3 El Capitan, MacBook Air 5,2, every Apple app I used crashed at some point (TextEdit, Notes, Safari, Mail, Pages, Numbers, Message, FaceTime, iTunes, App Store), and sometimes several times in a row.  I got as far as chmod -R u+rwX ~ and it seems to have helped.  The only thing I can maybe point to is I gave Sonos permission to view my music folder, so it showed up when I checked my Home folder's permissions.  After removing it, that seemed to help things, and I ran the final bit of code mentioned above.  Not entirely sure if removing Sonos helped or the chmod helped.  Either way, thanks!!

  • by Auslegung,

    Auslegung Auslegung Apr 10, 2016 3:14 PM in response to Auslegung
    Level 1 (16 points)
    Applications
    Apr 10, 2016 3:14 PM in response to Auslegung

    Unfortunately I have to retract my statement that following these steps helped me, too.  I thought they did, as my computer ran better and nothing froze all day.  But the next day things were back to their old ways.

Previous Page 2