Re: Over-released NSMenuItem on using "Open Recent" via Help menu search
Re: Over-released NSMenuItem on using "Open Recent" via Help menu search
- Subject: Re: Over-released NSMenuItem on using "Open Recent" via Help menu search
- From: Kyle Sluder <email@hidden>
- Date: Sat, 6 Nov 2010 12:50:23 -0700
On Sat, Nov 6, 2010 at 11:37 AM, Keith Blount <email@hidden> wrote:
> I can reproduce this every time myself (I've copied the backtrace at the end of
> this e-mail). And yet if you go to the File > Open Recent menu and open a
> document directly from there, everything is fine - it's only when using the Help
> search field and resulting dynamic menu that the crash occurs.
>
> It was an EXC_BAD_ACCESS crash with this error:
>
> FREED(id): message _bindingAdaptor sent to freed object=0x17e36d10
>
> So I turned on NSDebugEnabled, NSZombieEnabled and MallocStackLogging to find
> out what was getting over-released or accessed after being released. The result
> was:
>
> *** -[NSMenuItem _bindingAdaptor]: message sent to deallocated instance
> 0x15c28bb0
You should now run with the Allocations instrument so you can see what
is retaining and releasing the menu.
--Kyle Sluder
_______________________________________________
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