Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Versions working erratically, with xpchelper errors

I’ve been working on a Pages document for several weeks and recently upgraded to Lion. The document is on my internal HFS+ hard drive, a drive which I installed within the last 6 months). Recently while saving, Pages beachballed and eventually produced an error message:

The document “Document name” is on a volume that does no support permanent version storage.
You will not be able to access older versions of this document once you close it.


Upon checking Console, I found error message being repeated many times per second:

04/08/2011 17:52:27.483 xpchelper: getpwuid_r() failed for UID: 501, ret: 0, errno: 0

04/08/2011 17:52:27.484 com.apple.launchd: (com.apple.xpchelper.F5010000-0000-0000-0000-000000000000[17733]) Exited with code: 1


I closed all documents and applications, logged out (instructing the Mac not to reopen windows), and logged back in. My desktop background did not load and Console was still filling up, so I shut the computer down.


When I booted again, the errors were no longer occurring and I could open my document, access old versions, and create new versions.


The error has happened at least once before.


Disk Utility reports no errors and permissions are fine.


Is this a Lion bug, or is my hard drive dying?

MacBook Pro, Mac OS X (10.7)

Posted on Aug 4, 2011 10:40 AM

Reply
40 replies

May 1, 2012 7:09 AM in response to Jonathan Boyd

Hello,


I've just fixed a problem with the xpchelper writing loads of messages to the console. In my case I found I had very high CPU usage (in Safari) and couldn't open new apps. I realised the problem started after I force quit Pages so I opend it up again (for some reason it was the only app that would open), started a new document and then closed Pages without saving. The CPU usage went back to normal, and no more xpchelper additions to the console.


Alas I cannot offer much insight into whats actually going on, perhaps the Safari CPU usage is a red herring maybe someone else knows?


James

May 1, 2012 1:54 PM in response to Jonathan Boyd

confirming that the issue still exists in MacOSX 10.7.3.


in less than 6 minutes the pattern below is repeated over 20000 times;


May  1 17:41:43 ******* xpchelper[8865]: getpwuid_r() failed for UID: 501, ret: 0, errno: 0
May 1 17:41:43 ******* com.apple.launchd[1] (com.apple.xpchelper.F5010000-0000-0000-0000-000000000000[8865]): Exited with code: 1


It seems as if it just occurred out of nowhere. Looking at the logfiles there doesn't seem to be some chain of events prior to when the logging starts, but perhaps interesting are the first three lines exactly before the above two lines start repeating:


May  1 17:19:59 ******* coreservicesd[92]: _scserver_ServerCheckin: client uid validation failure; getpwuid(501) == NULL
May 1 17:24:10 ******* coreservicesd[92]: _scserver_ServerCheckin: client uid validation failure; getpwuid(501) == NULL
May 1 17:29:50 ******* coreservicesd[92]: _scserver_ServerCheckin: client uid validation failure; getpwuid(501) == NULL


But i have no idea if those are themselves caused by the problem, or actually related to the source of it... the timestamps suggest the former..


gr

arri

May 11, 2012 9:09 AM in response to Jonathan Boyd

Same problem on my iMac running 10.7.4. This update did not solve this problem. Every time this happened was after the sleep mode. When this problem happens the CPU goes to use 100%, from this moment I can not access the Terminal application and also the System Preferences. The only procedure to fix is to restart the iMac. I was hoping that 10.7.4 solved this problem but it was my mistake. The Lion has greatly improved in version 10.7.3 but there are still bugs to be solved. I think we'll have to wait for the 10.7.5 version...

Dec 3, 2012 5:13 PM in response to arri

Running 10.7.5 here: The issue presented after resuming from sleep. In attempting the fast user switching trick, I forgot my wife's password and got into System Preferences to reset it. As soon as I reset the password for the second account, iTunes stopped beachballing, Activity Monitor launched itself after pending in the background, and the xpchelper errors stopped appearing in Console.


TL;DR: Try to reset the password for another account.


Hope this helps someone.

Feb 21, 2013 6:13 AM in response to arri

I'm on 10.7.5 and I've got the same issue.

Looking at system.log I found


Feb 21 14:25:10 skeggia xpchelper[27324]: getpwuid_r() failed for UID: 502, ret: 0, errno: 0

Feb 21 14:25:10 skeggia com.apple.launchd[1] (com.apple.xpchelper.F6010000-0000-0000-0000-000000000000[27324]): Exited with code: 1


Feb 21 14:25:10 skeggia xpchelper[27326]: getpwuid_r() failed for UID: 502, ret: 0, errno: 0

Feb 21 14:25:10 skeggia com.apple.launchd[1] (com.apple.xpchelper.F6010000-0000-0000-0000-000000000000[27326]): Exited with code: 1


Feb 21 14:25:10 skeggia coreservicesd[34]: _scserver_ServerCheckin: client uid validation failure; getpwuid(502) == NULL

Feb 21 14:25:10: --- last message repeated 1 time ---


Feb 21 14:25:10 skeggia xpchelper[27327]: getpwuid_r() failed for UID: 502, ret: 0, errno: 0

Feb 21 14:25:10 skeggia com.apple.launchd[1] (com.apple.xpchelper.F6010000-0000-0000-0000-000000000000[27327]): Exited with code: 1


Feb 21 14:25:10 skeggia xpchelper[27328]: getpwuid_r() failed for UID: 502, ret: 0, errno: 0

Feb 21 14:25:10 skeggia com.apple.launchd[1] (com.apple.xpchelper.F6010000-0000-0000-0000-000000000000[27328]): Exited with code: 1


So I think the _scserver_ServerCheckin messages are not part of the source of the problem but part of the effect.


Looking up the 501 UID I found that it is assigned to the macports user, so I wonder if you are using macports to install software on your machine.

Dec 22, 2013 6:04 PM in response to Jonathan Boyd

I've experienced this problem several times, and now I finally found final solution.

Go to Sys pref. and just change your account's password in Users & Groups settings.


In Console, it says...


12/23/13 10:38:23.186 AM com.apple.launchd: (com.apple.xpchelper.F5010000-0000-0000-0000-000000000000[39909]) Exited with code: 1

12/23/13 10:38:23.207 AM xpchelper: getpwuid_r() failed for UID: 501, ret: 0, errno: 0

12/23/13 10:38:23.208 AM com.apple.launchd: (com.apple.xpchelper.F5010000-0000-0000-0000-000000000000[39910]) Exited with code: 1

12/23/13 10:38:23.856 AM System Preferences: Can't ODFDEResetPassword because of NULL authorizationRef!


And it goes back to normal.

It works even if you're not launching Activity Monitor or Terminal.

Versions working erratically, with xpchelper errors

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.