Re: App Launches in Finder, Hangs While Launching in Debugger
Re: App Launches in Finder, Hangs While Launching in Debugger
- Subject: Re: App Launches in Finder, Hangs While Launching in Debugger
- From: Joar Wingfors <email@hidden>
- Date: Mon, 14 Dec 2009 08:07:00 -0800
On 13 dec 2009, at 23.06, Joar Wingfors wrote:
>> Two occurrences of the following massage are appearing in the console:
>> -[NSCFArray _getCString:maxLength:encoding:]: unrecognized selector sent to instance 0x4016e0
>
> That's almost certainly an indication of a memory management error in your application. If you're not using Garbage Collection in your app, I'd suggest that you troubleshoot this using zombies. Search for "NSZombieEnabled" to find help on how you employ their assistance.
I forgot to mention that Instruments now provide a way for you to catch errors using zombies. This would be the easiest way to catch the problem, and to figure out where the object came from (since Instruments can show where the zombie was allocated).
j o a r
_______________________________________________
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