• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: auto malloc[27012]: attempted to remove unregistered weak referrer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >auto malloc[27012]: attempted to remove unregistered weak referrer (From: Marco S Hyman <email@hidden>)
 >Re: auto malloc[27012]: attempted to remove unregistered weak referrer (From: Marco S Hyman <email@hidden>)
 >Re: auto malloc[27012]: attempted to remove unregistered weak referrer (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: auto malloc[27012]: attempted to remove unregistered weak referrer
  • Next by Date: Re: NSSlider and arrangedObjects
  • Previous by thread: Re: auto malloc[27012]: attempted to remove unregistered weak referrer
  • Next by thread: Re: auto malloc[27012]: attempted to remove unregistered weak referrer
  • Index(es):
    • Date
    • Thread