Re: [NSMenu _enableItem} crash
Re: [NSMenu _enableItem} crash
- Subject: Re: [NSMenu _enableItem} crash
- From: Martin Wierschin <email@hidden>
- Date: Wed, 04 May 2011 13:59:14 -0700
> Most of the time the stack ends with:
>
> 0 objc_msgSend
> 1 stub helpers
> 2 [NSMenu _enableItem]
>
> Occasionally it consists of
> 0 objc_msgSend
> 1 ??? (or a reasonable facsimile)
>
> After reading through some threads on this I thought my validation stuff may be an issue
Likely menu validation is the problem- not your validation code itself, but the objects responsible. I bet one of your menus/items has a target or delegate that has deallocated (something set by the closed document/window). Try running your application with NSZombieEnabled=YES to check.
~Martin
_______________________________________________
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