• 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: Jens Alfke <email@hidden>
  • Date: Sun, 08 May 2016 12:59:09 -0700

> On May 8, 2016, at 12:19 PM, 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.

Sounds like the delegate is being dealloced before either of those two methods is called. Set a breakpoint in its dealloc method (create a stub dealloc if necessary) to figure out why.

I assume you’ve also enabled NSZombie in the scheme’s diagnostics tab?

—Jens
_______________________________________________

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: NSTableView is messaging zombie delegate
  • Next by Date: Re: NSTableView is messaging zombie delegate
  • Previous by thread: Re: NSTableView is messaging zombie delegate
  • Next by thread: Re: NSTableView is messaging zombie delegate
  • Index(es):
    • Date
    • Thread