Jon;

Thanks for the quick response!!

If I set the NSZombieEnabled variable to YES I get the following:
#0      0x9282b36d in -[NSException raise]
#1      0x92852247 in +[NSException raise:format:]
#2      0x928da79b in logMessageAndRaise
#3      0x927dc8af in NSPopAutoreleasePool
#4      0x932849d8 in loadNib
#5 0x932843d9 in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] #6 0x9328403a in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
#7      0x93283f7c in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#8      0x93283cc3 in NSApplicationMain
#9      0x00405ffc in main at main.m:18
Console:
2008-03-07 01:33:24.728 XYZ[372] *** Selector 'release' sent to dealloced instance 0x1baba2c0 of class NSConcreteData.
Break at '-[_NSZombie release]' to debug.

NOTE: I do an 'API' & and a Full-Text Search in the documentation for 'NSConcreteData' and there is nothing! Not a single reference. Google yields more but NSConcreteData is definitely not used directly by my app.

*** How do I determine what 'instance 0x1baba2c0 of class NSConcreteData' is?

If I add a global breakpoint for -[NSZombie release] I get:
#0      0x928da958 in -[_NSZombie release]
#1      0x927dc8af in NSPopAutoreleasePool
#2      0x932849d8 in loadNib
#3 0x932843d9 in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] #4 0x9328403a in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
#5      0x93283f7c in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#6      0x93283cc3 in NSApplicationMain
#7      0x00405ffc in main at main.m:18
Nothing in the console.
How does this help me? What is useful about this? Is there a gdb command I should invoke on frame 0?

If I 'Enable Guard Malloc" the application takes over 15 minutes and finally appears to launch and but just seems to hang!
Nothing in the debugger or console....

Thanks for your further consideration!
Steve


On Mar 7, 2008, at 12:44 AM, Jonathan Hess wrote:

I would start by debugging with the NSZombieEnabled environment variable set to YES. You can read about that environment variable here: http://developer.apple.com/technotes/tn2004/tn2124.html

If that doesn't work, I would try running with libgmalloc enabled. You can turn that on with "Enable Guard Malloc" in the Xcode "Run" menu.

Good Luck -
Jon Hess

On Mar 6, 2008, at 10:36 PM, Steve Cronin wrote:

Folks;

Tiger 10.4.11 -- XC 2.4.1
I'm baffled by an IB error.

Reasonable development has been on-going.
Pretty stringent Build Rules and no errors or warnings.
I decide to do a clean build, torch the app's prefs file and the CoreData store.
I want to focus on the initial installation phase of the app...

To my great surprise I cannot now get the app to launch successfully. It ran fine 15 minutes beforehand...

Regardless of whether I 'Run' or 'Debug' I get the exact same result:

I get all the way through the appDelegate's -awakeFromNib and the pref window opens (as I expect on first launch) but the debugger kicks in with the following:

#0      0x90a594c7 in objc_msgSend
#1      0xbffff7b8 in ??
#2      0x932849d8 in loadNib
#3 0x932843d9 in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] #4 0x9328403a in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
#5      0x93283f7c in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#6      0x93283cc3 in NSApplicationMain
#7      0x00405ffc in main at main.m:18

In the Console I see:
....Normal log messages that I generate and expect (including the 'end-of-awake-from-nib' stamp)
Program received signal:  "EXC_BAD_ACCESS".

I have the [NSException raise] as a Global breakpoint but it doesn't fire.

Using the po command I can tell that MainMenu is the nib involved; the prefs window is in a separate nib...

How do I track this down?
Steve

_______________________________________________

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 [EMAIL PROTECTED]


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to