• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Immediate Nib Loading Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Immediate Nib Loading Error


  • Subject: Re: Immediate Nib Loading Error
  • From: Keary Suska <email@hidden>
  • Date: Tue, 6 Jan 2009 11:16:04 -0700


On Jan 2, 2009, at 1:13 PM, Steve Cronin wrote:

I'm getting an immediate crash, before I can get anything written into a log (before any class +iniitialize). The stack at the crash is below.

In the debugger (XC3.1) I enter 'frame 9' and then do a 'po *(id*) ($ebp+16)' to see what the offending object is but I just get "No symbol "id" in current context."
I must be mis-remembering how to access arguments to the registers...
There are NO non Cocoa objects in the visual display of the MainMenu.nib in IB3 (8 - NSCustomObject).


What are all the '??' in this stack? (3-7) And what are the 2 at the lowest level? (16-17)
Any thoughts on how to go about debugging this?

The debugger is getting confused (it can't unwrap the frames). It happens--don't know why. One thing for sure, it is likely happening during the load of the main nib file, and is caused by some object in the nib (probably a binding).


I would think that frames 0-2 are the most importan. Often you can remove the *(id *) and still get results from po. Also, $ebp+8 would give you the object being called. I also find in these situations that if you experience an error at the debugger console, you will have to re-start to be able to access the registers.

HTH,

#0 0x90347e17 in objc_exception_throw
#1 0x96e90199 in _PFManagedObject_coerceValueForKeyWithDescription
#2 0x96eaa5aa in -[NSManagedObject setPrimitiveValue:forKey:]
#3 0x00094b01 in ??
#4 0x00092666 in ??
#5 0x00091e26 in ??
#6 0x000182f3 in ??
#7 0x0000784b in ??
#8 0x9270de73 in -[NSCustomObject nibInstantiate]
#9 0x926ee865 in -[NSIBObjectData instantiateObject:]
#10 0x926edf86 in -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:]
#11 0x926e4686 in loadNib
#12 0x926e3fe8 in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:]
#13 0x926e3c2b in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
#14 0x926e3b69 in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#15 0x926e3818 in NSApplicationMain
#16 0x0000227a in ??
#17 0x000021a1 in ??

Keary Suska Esoteritech, Inc. "Demystifying technology for your home or business"

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Immediate Nib Loading Error (From: Steve Cronin <email@hidden>)

  • Prev by Date: Private frameworks vs. dylibs
  • Next by Date: Re: Private frameworks vs. dylibs
  • Previous by thread: Immediate Nib Loading Error
  • Next by thread: Re: Immediate Nib Loading Error
  • Index(es):
    • Date
    • Thread