• 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: Debugging strange memory ( ? ) problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging strange memory ( ? ) problem


  • Subject: Re: Debugging strange memory ( ? ) problem
  • From: Steve Mills <email@hidden>
  • Date: Sun, 30 Apr 2017 08:57:16 -0500

> On Apr 30, 2017, at 08:37, Peter Hudson <email@hidden> wrote:
>
> I have a strange memory problem.
>
> My app is a typical document based app.
>
> I have one method which checks on the indexes of selected rows in a table view frequently.
>
> After this method has been called ( without a problem ) many times,
> the app grinds to a halt - and points the finger at the address of the table view….
>
> [self  theOriginalTblVwPointer] : 0x2155180        // took a ref to it in windowControllerDidLoadNib
> tblVw class pointer 0x2155180                // checking the value just before the offending statement…
>
> -[__NSArrayM numberOfRows]: unrecognized selector sent to instance 0x2155180
>
> It seems that my table view has changed into an array !

My first guess is that something isn't being retained properly, so the address is being reused. It's hard to give a better guess without seeing code.

Steve via iPad

_______________________________________________

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: 
 >Debugging strange memory ( ? ) problem (From: Peter Hudson <email@hidden>)

  • Prev by Date: Debugging strange memory ( ? ) problem
  • Next by Date: Re: Debugging strange memory ( ? ) problem
  • Previous by thread: Debugging strange memory ( ? ) problem
  • Next by thread: Re: Debugging strange memory ( ? ) problem
  • Index(es):
    • Date
    • Thread