Error -10810: what's that?

I just installed leopard. Erase and install, then I copied my setting back using migration assistant.
I am going through my programs to see if everything works.
One weird thing, it happened twice since yesterday: all of a sudden, many if not all programs refuse to open (terminal, disk utility, activity monitor, etc., but also non apple programs (office, quicken, ecc.).
The message is "The application "<name of the application>" cannot be launched. -10810".
In addition, i have stuff in the trash, and if I try to empty it, I get the message "the operation cannot be completed becaus you do not have sufficient privileges".
Mine is an administrator account.
When I restart, everything is working back.
Has anybody seen this -10810 error? What happens? What triggers it? How to avoid it?
Thanks for helping.

MacBook Pro, Mac OS X (10.5), 2 GB ram

Posted on Oct 28, 2007 10:01 AM

Reply
22 replies

Nov 1, 2007 6:39 AM in response to Sjaak Zwart

Hi,
I don't use bin-it. I removed most of pre-leopard software from login items, as well as less used preference panels and menu-only applications.
Anyway, this **** -10810 error re-appers. It is quite ramdom (its appearance), but once there, I could not open other applications. The only way to fix it is to reboot.
Furthermore, once -10810 error appears, I can't open any further applications (an unexpected error -10810 occurred) but the ones already opened continue to work, I can't empty the trash (not enough privileges), I can't mount disk images (too many threads).
If I force quit the finder, I can open new applications but after few seconds, the error -10810 is back again.
If I reboot, everything is back working. If I run disk utility, privileges and disk appear to be OK. So there is something that screws things up, but without knowing what that **** error code means, it will be though to try to fix it.
Does anybody know where to get info about that error code, what it is... or, how to contact directly somebody at apple support who can explain what that -10810 error means, what triggers it, how to fix it etc.?
Thanks a lot.
DZ

Nov 24, 2007 7:38 AM in response to gts_ny

Dunno.
booted from leopard dvd, repaired privileges and disk. don't know how it will work using the program already on the HD.
Second, i just moved out of the preference panels folders (both in the mail library and in the user library) all the panes not installed by leopard, and explored. after few day of everything working fine, i start to put back few of them, and so on. definitely this error has something to do with old software...

Nov 24, 2007 7:54 AM in response to donazipe

This is really interesting because I've recently spent almost two hours on the phone with a level-2 apple technician who had to do a Google search to identify this error number and claimed there were no internal documents that referenced it.

He (I'm not naming him because I believe the problem is at a higher level) was only able to identify the issue because of these discussions. I also believe this group is subject to censure and topic erasure by Apple.

My system is mostly stable now, however I've also removed almost all of my utilities from my startup group and uninstalled software running drivers I couldn't swear didn't cause a conflict (like Wacom's Graphire tablet software). I'm afraid to plug in my Samson usb microphone.

I wonder when Apple will release 10.5.2........

Nov 27, 2007 3:32 AM in response to reneooms

Are you ABSOLUTELY sure you do not have old software? Have you checked every preference panel, launch agent, launch daemon, startup item, input manager etc. you have on your mac, both in the mail library and in the user library (and why not, in the system library) ?
I will suggest you to run a deep check. I can assure you that since I did that, I haven't seen the **** error and all the associated weirdnesses...
And for safety, just boot from the leopard dvd, and run a privileges and disk check/fix.
In addition, I recently got a new iMac, leopard on, no old software, and I have never seen the -10810 error.
I am still testing all "old software" one by one, to see if I can stumble in the culprit...
Good luck!

Nov 30, 2007 6:23 AM in response to donazipe

It's a pain in the ***, that's what it is. 😟
I can't believe I'm not finding any solutions that work in this forum or elsewhere on the Internet.
I erased my hard disk, installed Leopard and must have moved some Tiger app settings that are not compatible using the import from your old computer-option.
Well then that's a problem in the assistant that helps you move your account then, isn't it?? IT SHOULDN'T ALLOW INCOMPATIBLE STUFF TO BE COPIED.
Why doesn't Apple do something about that?!

Dec 5, 2007 4:52 AM in response to donazipe

The process count is the problem, but shutting down unneeded processes is not a fix, there is an airport process that is forking new children soon after you free up a process slot (actually, I don't know the rate of forking as it is likely slow enough to work). There is a bug in airport on this issue.

I've seen this a few times now and we need a fix from Apple. I have airport turned off and it still happens.

If you log out and login back in, this will fix it for a while.

Dec 10, 2007 11:03 AM in response to donazipe

It seems to be the error that happens when your computer reaches the maximum amount of threads.
It turns out AppTrap was causing the problem for me. To find out what is causing the problem, quit an open program and immediately open activity monitor, closing an open app should free up some threads. Organize the list by number of threads. Be sure to list all processes. Whatever is at the top of the list is probably what is causing the problem.

Dec 11, 2007 1:30 AM in response to donazipe

donazipe,

The following file defines the error -10810:

/System/Library/Frameworks/CoreServices.framework/... /Frameworks/LaunchServices.framework/... /Headers/LSInfo.h

as:

/* ======================================================== */

/* LaunchServices Type & Constants */

/* ======================================================== */

enum {

kLSUnknownErr = - 10810 , /* Unexpected internal error*/

};

Basically, it means that the Launch Services framework is misbehaving and is encountering errors when trying to launch an application. This is fairly rare, as I've only seen a few other people in these forums have this error in the last several years.

When you encounter this error message, it is probably best to restart the machine (as I can't think of any other easy way out of this, since it's a catch-22 situation: if there was an app that could fix the problem you still wouldn't be able to launch it).

There could be a potential problem with the Launch Services database cache file, which is a file that OS X uses to store information about what applications are installed and the types of documents they can open, etc. You could try rebuilding this database as a step to troubleshoot the issue. I've written a small application that can do this: http://homepage.mac.com/mdouma46/images/LaunchServicesDatabaseRebuildApp.zip (.zip, ~60 KB). (Yes, there are literally hundreds of other third-party utilities that offer to basically accomplish this same thing, but none that I've seen follow the advice given to a developer friend of mine several years ago in a Developer Technical Support Incident (not customer support, developer support, normally these are $200/problem where you get help from an actual Apple engineer on a specific problem). That advice is to quit the Finder during the rebuild and to restart afterward). Obviously, if you're encountering the launch error, you'll need to run this after you restart, but it should hopefully prevent the problem from occurring in the future.

Sorry, I'm not sure about the Trash errors...

Hope this helps....

Dec 11, 2007 3:15 AM in response to donazipe

While you are correct in finding the result, the problem is that some process is running multiple copies of itself and sucking up the all of the per user process ids that are permitted. In my case, it is "always" airport. Everyone else might be identifying the "symptom" when they try to start a process and get the error, but the error is with the process that is found in the process list 25+ times. Logging out and back in will work for a few days, but the problem will come back. Anyone who comes across this again should quit something, and quickly open a shell and type 'ps -ax' and post the results. You might have to quit two or three apps.

Once we have that data, then we can make a guess.

I did notice that my ISP was having DNS errors last night (slow actually) and this preceded the problem. the DNS resolution library on Unix is the most nasty piece of business I have worked with since you can't timeout or abort with out using a setjump/longjump setup and that is evil stuff. This might be a hint.

Robert

Dec 12, 2007 7:36 PM in response to donazipe

It happened again, but this time I found the criminal. The "(airport)" process was launched through the dashboard and there was an active dashboard widget named "Air Traffic Control" that watched for wireless signal strength. I had wireless turned off, but the widget was active. It looks like it spawns a child process on every activation of the widget desktop and since there was no wireless interface active, it hangs that process. Nothing wrong with Apple's launch process, just a bad widget.

Like any process that spawns a child process, they must ensure they reap the dead child processes and make sure the child's life time is controlled!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Error -10810: what's that?

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