• 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: App never reaches applicationDidFinishLaunching method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App never reaches applicationDidFinishLaunching method


  • Subject: Re: App never reaches applicationDidFinishLaunching method
  • From: Lee Ann Rucker <email@hidden>
  • Date: Wed, 02 Oct 2013 13:41:05 -0700

On Oct 2, 2013, at 7:51 AM, Livio Isaia wrote:

>
> Il giorno 02/ott/2013, alle ore 05:39, Jens Alfke <email@hidden> ha scritto:
>
>>
>> On Oct 1, 2013, at 5:47 PM, Livio Isaia <email@hidden> 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?

It could; Xcode autosaves your files and that can cause layout changes if it saved in Xcode 5 format.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >App never reaches applicationDidFinishLaunching method (From: Livio Isaia <email@hidden>)
 >Re: App never reaches applicationDidFinishLaunching method (From: Jens Alfke <email@hidden>)
 >Re: App never reaches applicationDidFinishLaunching method (From: Livio Isaia <email@hidden>)

  • Prev by Date: Re: UIActionSheet -addButtonWithTitle weirdness on iPad
  • Next by Date: Data Detectors in iOS7
  • Previous by thread: Re: App never reaches applicationDidFinishLaunching method
  • Next by thread: Window too large for Versions Browser
  • Index(es):
    • Date
    • Thread