• 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: Unregistered weak referrer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unregistered weak referrer


  • Subject: Re: Unregistered weak referrer
  • From: Ross Carter <email@hidden>
  • Date: Thu, 23 Oct 2008 12:35:26 -0400


On Oct 22, 2008, at 9:54 PM, Bill Bumgarner wrote:

On Oct 22, 2008, at 4:48 PM, Ross Carter wrote:
Yes, GC is enabled. I get the message when I remove a subview from a NSScrollView's documentView. The removed subview contains 3 NSTextViews, 2 of which have their own layoutManager and textStorage. A lot of code fires at that time. Without knowing what "unregistered weak referrer" means, or how to find what the offending object is, it's hard to know where to start.
On 23/10/2008, at 10:31 AM, Ross Carter wrote:
What does this console message mean?

malloc: auto malloc[542]: attempted to remove unregistered weak referrer 0x128538c

Mmm... fun.

So far, the only time this log message has been barfed up is when something somewhere has clobbered memory. Might you be stomping memory somewhere?

There is a chance this is a bug in the frameworks. Please file a bug. If you have a reproducible case, attaching the application (no source necessary) would be very much appreciated.

b.bum


Thanks Bill! Bug filed: 6314550. I included a Release build of the app, which produces the message 100% of the time.


I'll look for a memory stomper, but I confess I'm not sure exactly what I should be looking for.

Ross
_______________________________________________

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


  • Follow-Ups:
    • Re: Unregistered weak referrer
      • From: "Sean McBride" <email@hidden>
References: 
 >Unregistered weak referrer (From: Ross Carter <email@hidden>)
 >Re: Unregistered weak referrer (From: Kiel Gillard <email@hidden>)
 >Re: Unregistered weak referrer (From: Ross Carter <email@hidden>)
 >Re: Unregistered weak referrer (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: CGPoint wrapper?
  • Next by Date: Re: Unregistered weak referrer
  • Previous by thread: Re: Unregistered weak referrer
  • Next by thread: Re: Unregistered weak referrer
  • Index(es):
    • Date
    • Thread