On Aug 28, 2009, at 1:36 PM, Eric Gorr wrote:

I am pretty sure I've got my .xib setup correctly, but when I call loadView on my View Controller, my application crashes.

Unfortunately, I am not getting any useful information out of the crash. The only thing I appear to have is a stack trace, but I am not sure what it is telling me.

#0      0x906e9911 in __CFBasicHashDeallocate
#1      0x906d1bab in _CFRelease
#2      0x906fe5bd in _CFAutoreleasePoolPop
#3      0x92c1de62 in NSPopAutoreleasePool
#4      0x96811c95 in -[NSNib instantiateNibWithExternalNameTable:]
#5      0x96811968 in -[NSNib instantiateNibWithOwner:topLevelObjects:]
#6      0x96810de1 in -[NSViewController loadView]

Anyone have an idea?


-[NSViewController loadView] is a method that's meant to be overridden instead of directly invoked. Does the crash reproduce if you call - [NSViewController view] instead?

Jon Hess


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/jhess%40apple.com

This email sent to jh...@apple.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to