Il giorno 02/ott/2013, alle ore 05:39, Jens Alfke <j...@mooseyard.com> ha scritto:
> > On Oct 1, 2013, at 5:47 PM, Livio Isaia <lis...@tiscalinet.it> wrote: > >> I mean that it reaches the awakeFromNib method of AppDelegate class and then >> seems to remain in >> NSApplicationMain -> [NSIBObjectData >> nibInstantiateWithOwner:topLevelObjects:] -> libobjc.A.dylib`objc_msgSend: >> without reaching the applicationDidFinishLaunching method of AppDelegate. >> I doesn't crash nor show any error message. It just continues looping…! > > Any kind of crash/hang in objc_msgSend means something is calling an invalid > object pointer, and nearly always it’s because the object was unexpectedly > dealloced. The first thing to try is Enable Zombie Objects; this should > identify what object got dealloced. > > —Jens Thanks Jens, the problem was in the nib file: a NSMatrix had a size of 40000! The fact is that I never changed that size, and it happen to change itself again after I reset it... Anyway, after I fixed that problem, the compiler gives me other crashes (EXC BAD ACCESS) in other parts of the app if I run it with "Activate Breakpoints" (and doesn't with "Deactivate Breakpoints"!). I find this a very strange behavior. I must say that I updated Xcode from 4 to 5: does it matter? Thank you. Regards, livio. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com