On Jan 20, 2012, at 7:07 AM, Sean McBride wrote: > On Wed, 18 Jan 2012 15:47:47 -0800, Marco S Hyman said: > >> I've done some searches and haven't found anything regarding this >> in my situation. An appropriate RTFM pointer would be appreciated. >> >> I'm running a *garbage collected* application in Lion (10.7.2) that was >> most recently compiled using Xcode 4.2.1. I'm getting these messages >> logged: auto malloc[27012]: attempted to remove unregistered weak >> referrer 0xblahblah > > Have you tried the various debugging environment variables? > >> NSOpenPanel *panel = [NSOpenPanel openPanel]; >> CFArrayRef types = CGImageSourceCopyTypeIdentifiers(); >> CFMakeCollectable(types); >> [panel setAllowedFileTypes: (NSArray*) types]; > > You can avoid the cast using NSMakeCollectable (which also handles nil > better). > >> In the open panel I can click, move the mouse, then shift-click and all is >> OK. >> If instead I click and drag I get the error multiple times. So where did I >> go wrong? > > In my GC app, I haven't seen this, but am having various problems with > NSOpenPanel... half the time, it shows nothing.
I don't know if I saw a report on this come through. Did you log a bug on it? You could try calling validateVisibleColumns after it is visible as a hack/workaround. corbin _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com