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: what does FAILED TO GET ASN FROM CORESERVICES mean?



Thanks, Shawn.  Looks like this question should go to cocoa-dev.  I'm
amazed that a system daemon can get access to the window server *at any
time*, yet this setup seems to work most of the time.  So I'm puzzled
at what's going on here, IPC-wise.

Bil

Shawn Erickson <email@hidden> wrote:

> On Thu, Nov 20, 2008 at 7:48 PM, Bill Janssen <email@hidden> wrote:
> > I'm running a daemon, started by SystemStarter at boot time, and
> > running as me (an admin account), which periodically invokes
> > OpenOffice's "soffice" binary to convert MS Office docs to PDF.  Works
> > most of the time, but sometimes OpenOffice crashes with this error
> > message:
> 
> Likely failing to get a connection to the window server... anything
> listed in the console log when it crashes out?
> 
> The crash log appears to live under /Library so this application isn't
> being truly run as a particular user, at least not in the way it
> normally would. As a result I think all bets are off having it work
> consistently ... depending on how it was coded / what frameworks it
> depends on.
> 
> You really should use a launch agent to launch this type of thing in a
> users aqua session and not a daemon. Daemons live in the root session
> and don't have reliable access to the window server and this software
> appears to require such a connection, it is using AppKit for example.
> 
> -Shawn
 _______________________________________________
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: 
 >what does FAILED TO GET ASN FROM CORESERVICES mean? (From: Bill Janssen <email@hidden>)
 >Re: what does FAILED TO GET ASN FROM CORESERVICES mean? (From: "Shawn Erickson" <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.