On Jan 20, 2012, at 8:59 PM, Kyle Sluder wrote: >> Update... sometimes I'm getting this error, too... >> >> malloc: reference count underflow for 0x40048fb00, .... >> >> Garbage collected app, Xcode 4.2.1, Lion 10.7.2. >> >> The breakpoint is inside of NSOpenPanel -runModal but ONLY occurs when >> dragging to select multiple files. cmd-click or shift-click work fine. >> Running with malloc guards and other tests for trashed memory haven't >> shown anything obvious. And why only when dragging? > > 1. Are you sandboxed?
Nope. > 2. Does malloc_stack_logging yield any useful info for that address? I must > confess I don't know much at all about GC. None of the malloc debug options I've tried (and I think I've played with most of them in one combination or another) have made any difference. The application is small, so I think my next step will be to convert it to ARC. If nothing else it will give me a chance to play with ARC, something I've not done, yet. I'm curious as to what I'll find (if anything). Marc _______________________________________________ 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