Re: Over-released NSMenuItem on using "Open Recent" via Help menu search

2010-11-07 Thread Keith Blount
ount Cc: cocoa-dev@lists.apple.com Sent: Sat, November 6, 2010 10:14:17 PM Subject: Re: Over-released NSMenuItem on using "Open Recent" via Help menu search On Sat, Nov 6, 2010 at 1:47 PM, Keith Blount wrote: > Thanks! I just tried that but the menu item is created and destroyed b

Re: Over-released NSMenuItem on using "Open Recent" via Help menu search

2010-11-06 Thread Sean McBride
On Sat, 6 Nov 2010 15:14:17 -0700, Kyle Sluder said: >herring. If something else was allocated at that address but >prematurely freed, that could be the thing that the offending code is >trying to send the -_bindingAdaptor message. Setting NSAutoreleaseFreedObjectCheckEnabled=YES and NSEnableAuto

Re: Over-released NSMenuItem on using "Open Recent" via Help menu search

2010-11-06 Thread Keith Blount
Thanks again for your reply and help. >> #CategoryEvent TypeRefCtTimestampAddressSizeResponsible LibraryResponsible >> Caller >> 0NSMenuItemMalloc13059475443200x1a4cccd064AppKit-[NSMenu >> insertItemWithTitle:action:keyEquivalent:atIndex:] >> 1NSMenuItemFree03289974881280x1a4cccd0-64AppKit-[NSMenu

Re: Over-released NSMenuItem on using "Open Recent" via Help menu search

2010-11-06 Thread Kyle Sluder
On Sat, Nov 6, 2010 at 1:47 PM, Keith Blount wrote: > Thanks! I just tried that but the menu item is created and destroyed by the > AppKit as far as I can see. The offending object: > > objc[88279]: FREED(id): message _bindingAdaptor sent to freed > object=0x1a4cccd0 > > Checking that object addr

Re: Over-released NSMenuItem on using "Open Recent" via Help menu search

2010-11-06 Thread Keith Blount
Many thanks for the replies, much appreciated. >> The really strange thing is that my program has no control >> over that menu and has nothing to do with it - as I understand >> it, its population is all handled internally by NSDocumentController > Have you tried with other NSDocument-based apps?

Re: Over-released NSMenuItem on using "Open Recent" via Help menu search

2010-11-06 Thread Kyle Sluder
On Sat, Nov 6, 2010 at 11:37 AM, Keith Blount 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 > Hel

Re: Over-released NSMenuItem on using "Open Recent" via Help menu search

2010-11-06 Thread Sean McBride
On Sat, 6 Nov 2010 11:37:18 -0700, Keith Blount said: >My application is an NSDocument-based app, and my user pointed out that >he could >make my application crash every time by following this sequence: > >1) Hit shift-cmd-/ to bring up the Help menu with the search field focussed. >2) Type "recen