• 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: tableView - message sent to deallocated instance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tableView - message sent to deallocated instance


  • Subject: Re: tableView - message sent to deallocated instance
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 26 Feb 2014 10:11:42 -0600

On 25 Feb 2014, at 2:39 PM, Pax <email@hidden> wrote:

> This is a really weird problem (in my view, anyway), because it only occurs in a very particular set of circumstances.  My application is NSDocument based (just in case it makes a difference), and my application uses ARC.

[Detailed description of various does-work execution paths]

> If I open the document and then double click on a file in the list, but then close my document **before** closing the newly opened file my application crashes with "message sent to deallocated instance".

You don’t say whether you have profiled the app with Instruments, using the Zombies template, which is the first-resort method for handling this situation. Product > Scheme > Edit Scheme… (cmd-<), and make sure the target you want to investigate is selected at the top-left popup. Select the Profile action, and then Zombies in the Instrument popup. Run the Profile action (various ways, including Product > Profile, cmd-I).

Reproduce your bug, and examine the Allocations trace to see the retain/release history of the object in question. At least you’ll know more, and can refine your question.

	— F


_______________________________________________

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: tableView - message sent to deallocated instance
      • From: Pax <email@hidden>
References: 
 >tableView - message sent to deallocated instance (From: Pax <email@hidden>)

  • Prev by Date: Re: exporting image files to disk using CGImageDestination
  • Next by Date: Re: deprecated BIGNUM replaced by what?
  • Previous by thread: tableView - message sent to deallocated instance
  • Next by thread: Re: tableView - message sent to deallocated instance
  • Index(es):
    • Date
    • Thread