Re: auto malloc[27012]: attempted to remove unregistered weak referrer
Re: auto malloc[27012]: attempted to remove unregistered weak referrer
- Subject: Re: auto malloc[27012]: attempted to remove unregistered weak referrer
- From: Marco S Hyman <email@hidden>
- Date: Fri, 20 Jan 2012 21:19:54 -0800
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 (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