I have a garbage collected app which has been running fine, with no crashing or leaks and passing nicely using the Xray diagnostic tools.
A problem arose when I added an NSButton to my nib file and assigned an image to it in Interface Builder (just entering the image name NSAddTemplate) in the Inspector. As soon as I did this, I started getting the following kinds of messages in the log:
MyApp (20733,0x100537000) malloc: free_garbage: garbage ptr = 0x8000be360, has non-zero refcount = 1
I tried different approaches to setting the image, such as doing it programatically (keeping a persistent pointer to the image and referring to the button via an IBOutlet).
I have googled about such problems, but did not come up with anything. Is there a known issue with images and buttons under GC?
Thanks in advance for any info, Rick (43092.6825) _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com