Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
Old 02-02-2008, 05:23 PM   #1
rumirocks
Triple-A Player
 
Join Date: Jan 2006
Posts: 77
Error Code -10810

Running Leopard on Intel MccBook. Get Error Code -10810 when I try to open apps. At first, only TextEdit affected, then iTunes, then other apps, finally Safari.

A Restart returned the ability to open apps, but this has been happening for a week.

Can't find what Error Code -10810 means. Does anyone know?
rumirocks is offline   Reply With Quote
Old 02-02-2008, 05:43 PM   #2
blb
All Star
 
Join Date: Jan 2002
Location: CO, USA
Posts: 908
It's actually a generic error message from Launch Services (source makes sense if you're seeing it when trying to launch apps):
Code:
kLSUnknownErr     -10810     An unknown error has occurred.
If you open Console.app (/Applications/Utilities, and assuming it launches), is there anything to be found from the time of these launch failures?

Also, you may want to boot from the install DVD to run a Repair Disk.
blb is offline   Reply With Quote
Old 02-02-2008, 06:18 PM   #3
rumirocks
Triple-A Player
 
Join Date: Jan 2006
Posts: 77
Thank you so much, blb. Where did you find this error code explanation. I spent three hours looking for it.

Will check Console.
rumirocks is offline   Reply With Quote
Old 02-02-2008, 07:01 PM   #4
Mikey-San
Hall of Famer
 
Join Date: Jan 2002
Posts: 3,541
The kLSUnknownErr constant is defined in LSInfo.h. It is one of many result codes Launch Services functions can return.

http://developer.apple.com/documenta...-CH4g-BCIHFFIA
__________________
COMPUTER TYPE
SOME SPECIFICATIONS I COPIED FROM THE BOX
STUFF I INSTALLED ALL BY MYSELF
"WITTY QUOTE"
Mikey-San is offline   Reply With Quote
Old 02-02-2008, 07:07 PM   #5
rumirocks
Triple-A Player
 
Join Date: Jan 2006
Posts: 77
Thanks! I would never have known they were called 'Result Codes'.
rumirocks is offline   Reply With Quote
Old 02-02-2008, 07:50 PM   #6
Mikey-San
Hall of Famer
 
Join Date: Jan 2002
Posts: 3,541
Google is your friend.

http://www.google.com/search?q=error%2010810
__________________
COMPUTER TYPE
SOME SPECIFICATIONS I COPIED FROM THE BOX
STUFF I INSTALLED ALL BY MYSELF
"WITTY QUOTE"
Mikey-San is offline   Reply With Quote
Old 02-03-2008, 02:17 PM   #7
blb
All Star
 
Join Date: Jan 2002
Location: CO, USA
Posts: 908
I cheated and used Xcode, which is actually a nice way to look up most error codes, but of course google will give you other people talking about it as well.
blb is offline   Reply With Quote
Old 12-18-2008, 12:18 AM   #8
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
The difficult thing about this error situation (I too have been encountering it for a while) is that once you see this error with one app., other apps won't open. You can't open Console, for example, or run Disk First Aid or Leopard Cache Cleaner. I already have LCC open, but I can't use it, because it is unresponsive (unusual behaviour for LCC). Restarting does fix it for a while. Repairing permissions after restarting hasn't fixed the problem for me.

Mail is a frequent offender at this time (it won't send messages or becomes unresponsive), while Omniweb (my browser) is unaffected.

I'll try booting from the Leopard install disk and running Repair Disk. I do hope that helps. This is a tiresome problem. Thanks for the suggestion.
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Old 12-18-2008, 02:13 AM   #9
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
Hmm, Disk Utility's Repair Disk routine said the disk was OK. I repaired permissions yet again, and apart from two CUPS files which are probably not involved, there was one Finder Resources file (most of the information on which was hidden by the non-horizontally-scrollable DU window) which could be a problem, even though I quit the Finder and use PathFinder instead. That resource might still be in use.

Anyway, I'll report back in a day or two, see if booting from the Leopard install disk and using Disk Utility to repair disk and permissions does solve the problem. rumirocks didn't say if it worked on their MacBook.
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Old 12-18-2008, 03:11 AM   #10
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
After restarting, I checked Console for messages. The app-not-starting-up is reported like this:
Code:
Dec 18 16:36:09 Pearl Dock[102]: spawn_via_launchd() failed, errno=12 label=[0x0-0x703703].com.apple.systempreferences path=/Applications/System Preferences.app/Contents/MacOS/System Preferences flags=1
Dec 18 16:36:18 Pearl Dock[102]: spawn_via_launchd() failed, errno=12 label=[0x0-0x704704].com.apple.systempreferences path=/Applications/System Preferences.app/Contents/MacOS/System Preferences flags=1
Dec 18 16:36:09 Pearl com.apple.launchd[74] ([0x0-0x703703].com.apple.systempreferences): fork() failed, will try again in one second: Resource temporarily unavailable
Dec 18 16:36:09 Pearl com.apple.launchd[74] ([0x0-0x703703].com.apple.systempreferences): Bug: launchd_core_logic.c:6780 (23714):35: jr->p
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Old 12-20-2008, 12:34 PM   #11
fklaszus
Registered User
 
Join Date: Dec 2008
Posts: 1
Unhappy

I am experiencing the same problem. I notice that if I quit one application, I usually can open another...If anyone figures out the solution to this, I would sure appreciate some help with it.
fklaszus is offline   Reply With Quote
Old 01-05-2009, 02:18 AM   #12
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
Unhappy Still having problems :(

I am still encountering this same problem, after following the instructions posted. The problem didn't occur for a while afterwards, but it has now occurred twice in a couple of days (requiring two complete restarts). It's really frustrating: has anyone been able to fix this problem persistently?

Judging by the Console messages, it looks like an inability to fork is involved. Is there a limit on the number of processes which can be run simultaneously? Is fork running short of tines?

Code:
5/01/09 5:44:38 PM Quicksilver[192] An error ocurred while scanning "OmniWeb Favorites": couldn't fork: errno 35 
5/01/09 5:54:38 PM Quicksilver[192] An error ocurred while scanning "OmniWeb Favorites": couldn't fork: errno 35 
5/01/09 6:00:01 PM com.apple.launchd[111] (com.apple.PreferenceSyncAgent) fork() failed, will try again in one second: Resource temporarily unavailable 
5/01/09 6:04:38 PM Quicksilver[192] An error ocurred while scanning "OmniWeb Favorites": couldn't fork: errno 35 
5/01/09 6:13:21 PM /Applications/Toolbox/Keyboard Maestro.app/Contents/Resources/Keyboard Maestro Engine.app/Contents/MacOS/Keyboard Maestro Engine[206] spawn_via_launchd() failed, errno=12 label=[0x0-0x65a65a].org.psi-im path=/Applications/Comms/Psi.app/Contents/MacOS/psi flags=1 
5/01/09 6:13:21 PM Keyboard Maestro Engine[206] Keyboard Maestro: Assertion Failed: err = LSOpenApplication( &params, NULL ) == 0 ,  file: /Users/xxxxx/Keyboard Maestro/Project/Source/Actions/AActivateApplication.cpp, line: 99, value: -10810 
5/01/09 6:13:29 PM Dock[127] spawn_via_launchd() failed, errno=12 label=[0x0-0x65b65b].org.psi-im path=/Applications/Comms/Psi.app/Contents/MacOS/psi flags=1 
5/01/09 6:13:43 PM /Applications/Quicksilver.app/Contents/MacOS/Quicksilver[192] spawn_via_launchd() failed, errno=12 label=[0x0-0x65c65c].com.apple.Console path=/Applications/Utilities/Console.app/Contents/MacOS/Console flags=1 
5/01/09 6:13:43 PM Quicksilver[192] LSOpenFromURLSpec() returned -10810 for application (null) path /Applications/Utilities/Console.app. 
5/01/09 6:13:21 PM com.apple.launchd[111] ([0x0-0x65a65a].org.psi-im) fork() failed, will try again in one second: Resource temporarily unavailable 
5/01/09 6:13:21 PM com.apple.launchd[111] ([0x0-0x65a65a].org.psi-im) Bug: launchd_core_logic.c:6780 (23714):35: jr->p 
5/01/09 6:13:29 PM com.apple.launchd[111] ([0x0-0x65b65b].org.psi-im) fork() failed, will try again in one second: Resource temporarily unavailable 
5/01/09 6:13:29 PM com.apple.launchd[111] ([0x0-0x65b65b].org.psi-im) Bug: launchd_core_logic.c:6780 (23714):35: jr->p 
5/01/09 6:13:43 PM com.apple.launchd[111] ([0x0-0x65c65c].com.apple.Console) fork() failed, will try again in one second: Resource temporarily unavailable 
5/01/09 6:13:43 PM com.apple.launchd[111] ([0x0-0x65c65c].com.apple.Console) Bug: launchd_core_logic.c:6780 (23714):35: jr->p
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Old 01-05-2009, 03:46 AM   #13
blb
All Star
 
Join Date: Jan 2002
Location: CO, USA
Posts: 908
Quote:
Originally Posted by Clytie
Judging by the Console messages, it looks like an inability to fork is involved. Is there a limit on the number of processes which can be run simultaneously? Is fork running short of tines?

Yes, there is a default limit to the number of processes an individual users can run (on my 10.5.6 machine, it looks like 532).

While increasing that number would help alleviate the problem, the real trick is figuring out the actual cause. Perhaps there is something having issues, spawning another process, and repeating?

One thing to try to track it down is to launch Activity Monitor (while you can), and leave it running until you see this issue again. When that happens, look in Activity Monitor to see if there's a very large number of processes owned by you, and what they are.
blb is offline   Reply With Quote
Old 01-29-2009, 04:13 AM   #14
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
OK, here we go. I've been keeping an eye on Activity Monitor (why on earth doesn't Peek-a-Boo have this total?) and my number of processes hovers in the nineties. Today, the "can't fork" messages started appearing in Console again (I can't open any more apps.) and Activity Monitor says a total of 106 processes (are running on system 10.5.6 Intel). I can't see anything unusual in the process list. :S

<sigh> I'm off to restart AGAIN.
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Old 04-06-2009, 04:08 AM   #15
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
It looks like the Apple Discussions guys have chased this error down to Mail and Address Book. I'm going to try their workarounds.
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Old 05-02-2009, 04:06 AM   #16
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
I am unsure if Mail and Address Book are the main culprits, or not. Quitting Mail doesn't seem to help. Is anyone else getting anywhere with this issue?
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Old 07-29-2009, 06:32 AM   #17
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
Frustratingly, although I have moved to a different laptop (MacBook Pro mid-2009), the problem has followed me. I had really hoped I could leave it behind.

Before migrating my files, I deleted a LOT of things to try and reduce the possible causes of this problem. I deleted all my developer files, all my fink, MacPorts, CPAN etc. installs, all my manual installs and all my Unsanity preference panes and prefs. I deleted all apps, prefs and Application Support dirs which I hadn't used for a while.

The only non-default pref. panes I have left are Default Folder X, GnuPG, CocoAspell, Growl and TextExpander. I turned Growl off, and that didn't help. I'll try eliminating each of the others, but I have a nasty feeling it isn't as easy as that.

When migrating to the new laptop, I only brought my current apps, documents, pictures, music and the Library files needed for them. I suppose the problem must be in there somewhere. I certainly didn't have it with Tiger, so I have a faint hope that Snow Leopard will fix it.

Has anyone actually been able to fix this problem? Any help or advice would be very much welcome!

Thankyou.
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Old 08-29-2009, 01:53 AM   #18
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
Thumbs up Found the culprit!

I finally found the application which is creating so many zombie processes and thus creating the "cannot fork" situation.

(Note: this application may vary for you, but the method to find it should still work.)

Every now and then I Google to see if anyone has posted anything new about this "cannot fork" problem on OSX.

A week or two ago, I found this blog post. In summary, the blog poster tracked down his or her zombie-spawner by running two commands:

Code:
sudo dtrace -n 'syscall::fork*:entry{printf("%s %d",execname,pid);}
and

Code:
ps -aA | wc
I do not get any results from the first command. When I input it, the following line only displays a greater-than symbol (>), and nothing is added to it as time goes on. When my Mac inevitably reports the "cannot fork" problem, there is still no result from this command, and I just have to restart again.

However, I got quick results from the "ps" command. It displays three numbers, and the number on the left is the total number of processes running. My total at that moment was 148, despite the fact that Activity Monitor showed 85.

I started quitting apps, one by one, and checking how many "ps" reported as the total number of processes. Each app. being quit only decreased this number by one or two processes, but when I quit QuickSilver, the number decreased by 64 !

Somehow, Quicksilver had created 63 zombie processes by that point.

I restarted it, and the total number of processes according to "ps" only increased by 1. Interesting...

I waited a few minutes and rebooted QS again again, only one extra process was running.

I waited half an hour and checked again: 37 extra processes.

Again, quitting QS and rebooting only added one process, but it looks like leaving it running will inexorably create more and more zombie processes until fork runs out of tines.

I am going to query this on the QuickSilver forum, as I use QS continually, it's an excellent utility, and I certainly don't want to live without it. It is notable that the blog poster's zombie-spawner was Eclipse, not QuickSilver, so the culprit varies (Mail was the culprit in the thread on Apple Discussions mentioned earlier here).

Good luck in finding your zombie-spawner.

Even while I'm looking into QuickSilver's involvement in "Left for Dead", I'm rather hoping that checking things occasionally with "ps" and quitting QS when the process total has climbed, will postpone the inevitable, exasperating and far too frequent restarts forced on me by this "cannot fork" problem.
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Old 08-29-2009, 11:33 AM   #19
defenestrator
Registered User
 
Join Date: Aug 2009
Posts: 1
Exclamation It might not be Quicksilver itself to blame

Just one quick thought -- did you look at the details from the 'ps' command to see what the zombies were? It's quite possible that something Quicksilver is launching is leaving the zombie behind, but when you kill QS, the system reaps all of its children for you.

ps -aA | grep '('

will show you all of the zombie processes (of course, you can add flags to get even more details) -- their names may point you at the real culprit.

--
David Singer (http://readthisblog.net)
defenestrator is offline   Reply With Quote
Old 08-31-2009, 09:40 AM   #20
Clytie
Major Leaguer
 
Join Date: Feb 2004
Location: Renmark, in the Riverland of South Australia
Posts: 322
Unfortunately, due to illness, I am no longer capable of using the command line, other than following simple instructions. Sorry.

Inputting your helpful command created the following output:

Code:
(a bit earlier)$ ps -aA | wc
      83     459    7645
(time-of-post)$ ps -aA | wc
     110     570    8870
(time-of-post)$ ps -aA | grep '('
 6062 ??         0:00.00 (tar)
11554 ??         0:00.00 (perl)
11603 ??         0:00.00 (perl)
11661 ??         0:00.00 (perl)
11818 ??         0:00.00 (perl)
11858 ??         0:00.00 (perl)
11899 ??         0:00.00 (perl)
11949 ??         0:00.00 (tar)
12057 ??         0:00.00 (perl)
12098 ??         0:00.00 (perl)
12141 ??         0:00.00 (perl)
12289 ??         0:00.00 (perl)
12331 ??         0:00.00 (perl)
12374 ??         0:00.00 (perl)
12527 ??         0:00.00 (perl)
12567 ??         0:00.00 (perl)
12610 ??         0:00.00 (perl)
12762 ??         0:00.00 (perl)
12805 ??         0:00.00 (perl)
12846 ??         0:00.00 (perl)
12996 ??         0:00.00 (perl)
13036 ??         0:00.00 (perl)
13079 ??         0:00.00 (perl)
Two tar and quite a few perl processes... I wonder why, and for what purpose?

Sorry I can't remember enough about "ps" or understand the manpage anymore to sort this out myself. <embarrassed>

I appreciate the help.
__________________
from Clytie

MacBook Pro 2.8GHz, 4GB RAM, OSX latest, iPhone 4
Clytie is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.