• 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: [NSMenu _enableItem} crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >[NSMenu _enableItem} crash (From: Tony Cate <email@hidden>)

  • Prev by Date: [NSMenu _enableItem} crash
  • Next by Date: Re: [NSMenu _enableItem} crash
  • Previous by thread: [NSMenu _enableItem} crash
  • Next by thread: Re: [NSMenu _enableItem} crash
  • Index(es):
    • Date
    • Thread