NSIsInsecureBundle
NSIsInsecureBundle
- Subject: NSIsInsecureBundle
- From: Lorenzo <email@hidden>
- Date: Tue, 12 Oct 2004 17:01:29 +0200
Hi,
since I have installed the latest Apple Security Update now my application
crashes when I set it to run with the root privileges (when geteuid()
returns 0). How can I fix this problem? I paste here the error log.
Thank you.
----------
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00010057
Thread 0 Crashed:
0 com.apple.AppKit 0x9317302c dirIsRootUnsafe + 0xa0
1 com.apple.AppKit 0x931730b8 dirIsRootUnsafe + 0x12c
2 com.apple.AppKit 0x931730b8 dirIsRootUnsafe + 0x12c
3 com.apple.AppKit 0x9317298c _NSIsInsecureBundle + 0x90
4 com.apple.AppKit 0x93085484 -[NSInputManager
_validateBundleSecurity] + 0x14
5 com.apple.AppKit 0x93084e94 -[NSInputManager _loadBundle] + 0x44
6 com.apple.AppKit 0x93086060 -[NSInputManager
initWithName:host:] + 0x548
7 com.apple.AppKit 0x92eb9234 +[NSInputManager initialize] + 0x398
8 libobjc.A.dylib 0x908329e0 class_initialize + 0x140
9 libobjc.A.dylib 0x90831524 _class_lookupMethodAndLoadCache +
0x84
10 libobjc.A.dylib 0x90831298 objc_msgSend + 0xb8
11 com.apple.AppKit 0x92e8efec -[NSApplication finishLaunching] +
0x84
12 com.apple.AppKit 0x92dfcde4 -[NSApplication run] + 0x74
13 com.apple.AppKit 0x92eb948c NSApplicationMain + 0x1d0
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden