Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Daemon crashes during Mac Leopard startup



On Nov 25, 2007, at 9:14 PM, Elango C wrote:

The Daemon started working in Leopard too using your help (fork()). Thanks for your help. But I am calling/initiating the executable file
from the Daemon but it is crashing and following is the crash report.

According to the stack trace in the crash report you posted, what you're calling a "daemon" is actually a Cocoa application. It therefore cannot simply fork, daemonize, etc. — it has a lot more restrictions upon its runtime behavior.
Application Specific Information:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'


This exception is thrown by AppKit when it cannot connect to the WindowServer. Which it cannot if you're trying


Since your application is built using Cocoa, you need to ask your question on the cocoa-dev mailing list. You will also be best off describing exactly what the high-level goal is that you wish to accomplish, rather than simply describing some of the low-level calls you've used to try to accomplish your goal. The former is Rule #1 when it comes to getting help on the lists or IRC (if you happen to ask on #macdev on irc.freenode.net or something).

Thanks.

  -- Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Daemon crashes during Mac Leopard startup (From: "Elango C" <email@hidden>)
 >AW: Daemon crashes during Mac Leopard startup (From: Jürgen Ockert <email@hidden>)
 >Re: Daemon crashes during Mac Leopard startup (From: "Elango C" <email@hidden>)
 >Re: Daemon crashes during Mac Leopard startup (From: "Elango C" <email@hidden>)



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.