| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Nov 25, 2007, at 9:39 PM, Elango C wrote: I got the resolution for Daemon load error in Leopard; I try replaced the Why are you invoking fork() ? If you are launched via launchd, fork() should be unnecessary in most cases. Since you seem to be using CF-level functionality in the fork() child, you are very likely to encounter such errors again. If you have to use a separate process and use CF in them, you'll want to exec() after the fork(), or, on Leopard, use posix_spawn() to replace fork+exec. It's hard to tell with the information available, but it is getting rare for launchd clients to need to create a separate process. Eric Thanks for Jurgen and thanks for other guys too. |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden This email sent to email@hidden
| References: | |
| >Daemon/launchd crashes with EXC_BREAKPOINT (SIGTRAP) (From: "Elango C" <email@hidden>) | |
| >Re: Daemon/launchd crashes with EXC_BREAKPOINT (SIGTRAP) (From: Eric Gouriou <email@hidden>) | |
| >Re: Daemon/launchd crashes with EXC_BREAKPOINT (SIGTRAP) (From: "Elango C" <email@hidden>) | |
| >Re: Daemon/launchd crashes with EXC_BREAKPOINT (SIGTRAP) (From: Eric Gouriou <email@hidden>) | |
| >Re: Daemon/launchd crashes with EXC_BREAKPOINT (SIGTRAP) (From: "Elango C" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.