• 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: NSTableView is messaging zombie delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView is messaging zombie delegate


  • Subject: Re: NSTableView is messaging zombie delegate
  • From: Uli Kusterer <email@hidden>
  • Date: Mon, 09 May 2016 06:16:32 +0200

On 08 May 2016, at 21:19, Matthew LeRoy <email@hidden> wrote:
> Unfortunately, setting the table view’s delegate to nil during tear-down (either in -windowWillClose: or in NSViewController’s -dealloc) doesn’t seem to fix the issue. I still get random but regularly reproducible crashes, with the same stack trace.

Random ideas that may look similar:

1. -copy being called by the OS on a subclass of an AppKit class that you made (NSCells are popular for this), where you forgot to override -copyWithZone:
2. Random memory smasher (easily caused by manipulating UI from another thread)
3. Some MRC code in your ARC code over-releasing an object before it's even handed to NSViewController as a delegate.

… uh, can't think of anything else right now.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://stacksmith.org





_______________________________________________

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: 
 >NSTableView is messaging zombie delegate (From: Matthew LeRoy <email@hidden>)
 >Re: NSTableView is messaging zombie delegate (From: Jens Alfke <email@hidden>)
 >Re: NSTableView is messaging zombie delegate (From: Matthew LeRoy <email@hidden>)

  • Prev by Date: Re: How to keep things alive in Arc?
  • Next by Date: Re: How to keep things alive in Arc?
  • Previous by thread: RE: NSTableView is messaging zombie delegate
  • Next by thread: Re: NSTableView is messaging zombie delegate
  • Index(es):
    • Date
    • Thread