• 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: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:


  • Subject: Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:
  • From: Charles Srstka <email@hidden>
  • Date: Wed, 27 May 2015 13:27:30 -0500

> On May 27, 2015, at 10:22 AM, Kyle Sluder <email@hidden> wrote:
>
>> On May 27, 2015, at 8:17 AM, Scott Ribe <email@hidden <mailto:email@hidden>> wrote:
>
>>
>>> On May 27, 2015, at 8:20 AM, Kyle Sluder <email@hidden <mailto:email@hidden>> wrote:
>>>
>>> The bug is in your code. It has always been a requirement that you nil out any delegate and datasource backpointers before the thing they point to gets deallocated. You just happened to get away with it due to some aspect of older Xcode versions’ codegen.
>>
>> I’m pretty sure that a window and it’s views should not be trying to redraw after being closed…
>
> Raglan said nothing about the window being closed.

He said that he fixed it by nilling out the delegate and datasource in windowWillClose:. This implies that the crash occurred sometime after the window either was closing or had closed.

Again, though, I had this happen with a table view that was in a window that neither had closed, nor should have had its datasource/delegate nilled out. It was a perfectly valid, active table view in an open window, and when you’d click on it to change its selection, it’d crash (but only on 10.6.8, and only when compiled with Xcode 6). IMO, Xcode 6 and 10.6.8 are just a bad combo, as I doubt Apple has tested compiling for such an old system in some time.

Charles

_______________________________________________

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: 
 >Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row: (From: Kyle Sluder <email@hidden>)
 >Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row: (From: Scott Ribe <email@hidden>)
 >Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row: (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Found It - Problem with Outline View and Manual Memory Management
  • Next by Date: Re: Anyone else having trouble with the Provisioning Profile?
  • Previous by thread: Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:
  • Next by thread: NSPathControl
  • Index(es):
    • Date
    • Thread