[I originally sent this, erroneously, to darwin-development.  It's
failing in NSApplication.init(), so it belongs here.  -- wcj]

What's an "ASN"?  How does a system daemon ever get one?

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, even though daemons supposedly don't have access to the window
server, but sometimes OpenOffice crashes with this error message:

FAILED TO GET ASN FROM CORESERVICES so aborting.

Here's the stack of the crashing thread:

$ cat /Library/Logs/CrashReporter/soffice.bin_2008-11-20-173308_suntzu.crash
Process:         soffice.bin [46197]
Path:            
/Library/GoodStuff/1.0/OpenOffice.org.app/Contents/MacOS/soffice.bin
Identifier:      soffice.bin
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  soffice [46196]

Date/Time:       2008-11-20 17:33:08.237 -0800
OS Version:      Mac OS X 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   libSystem.B.dylib                   0x0054bb9e __kill + 10
1   libSystem.B.dylib                   0x005c2ec2 raise + 26
2   libSystem.B.dylib                   0x005d247f abort + 73
3   com.apple.HIServices                0x02db5614 _RegisterApplication + 2447
4   com.apple.HIServices                0x02db4c5a GetCurrentProcess + 50
5   com.apple.HIToolbox                 0x00b2f2f8 GetSystemUIMode + 44
6   com.apple.HIToolbox                 0x00b2f2a7 IsMenuBarVisible + 41
7   com.apple.AppKit                    0x07241155 _NSInitializeAppContext + 59
8   com.apple.AppKit                    0x07240ade -[NSApplication init] + 819
9   com.apple.AppKit                    0x072404ef +[NSApplication 
sharedApplication] + 177
10  libvclmxi.dylib                     0x05b9ca9b component_getFactory + 138227
11  libvclmxi.dylib                     0x05b9cd79 component_getFactory + 138961
12  libvclmxi.dylib                     0x05969cd7 SVMain() + 17
13  libsofficeapp.dylib                 0x004a567c soffice_main + 160
14  soffice.bin                         0x00002bba main + 30
15  soffice.bin                         0x0000252a start + 258
16  soffice.bin                         0x00002451 start + 41


Can anyone explain what's going on when this happens?  Thanks.

Bill
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to