Crash on NIB Load?
Crash on NIB Load?
- Subject: Crash on NIB Load?
- From: "Jeff Hellman" <email@hidden>
- Date: Mon, 11 Dec 2006 00:00:08 -0800
Hi All-
I've got a universal coredata document based application that is
crashing on startup when running on PowerPC chips or in Rosetta on my
Intel Mac. The problem seems to be a binding issue with my nib, but I
can't track it down. When the app crashes in Rosetta I get the
standard "Close" "Report" "Reopen" dialog- clicking "Reopen" causes
the app to open perfectly normally. I'm confused to say the least.
It also runs perfectly on my Intel Mac.
I do think there's a NIB Binding issue present. How on earth does one
track such an issue down? The app makes it through initWithType: but
never makes it to awakeFromNIB:
Here's the last part of the stack trace from the crash report.
Thread 0: Crashed (0xb7fffabc, 0xb56b674b)
0x90a680c0: /usr/lib/libobjc.A.dylib : _flush_caches + 0x8c
0x92a23b9c: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
: _NSKVONotifyingClassSetMethodImplementation + 0x190
0x92a23954: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
: __NSKVONotifyingClassCreate + 0x1a8
0x92a23794: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
: __NSKeyValueContainerClassGetNotifyingClass + 0x30
0x92a236ac: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
: -[NSKeyValueUnnestedProperty isaForAutonotifying] + 0x54
0x92a235c8: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
: -[NSObject(NSKeyValueObserverRegistration)
_addObserver:forProperty:options:context:] + 0x1c8
0x92a22e4c: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
: -[NSObject(NSKeyValueObserverRegistration)
addObserver:forKeyPath:options:context:] + 0x350
0x93985668: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
: -[NSBinder _updateObservingRegistration:] + 0x364
0x939847e0: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
: -[NSBinder establishConnection] + 0x158
0x9397de94: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
: -[NSObject(NSKeyValueBindingCreation)
bind:toObject:withKeyPath:options:] + 0x26c
0x9372e938: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
: -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 0x2f8
0x93726300: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
: _loadNib + 0xe8
0x93725d28: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
: +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] + 0x320
Thanks for any help-
Jeff
--
Jeff Hellman
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden