Re: Debugging strange memory ( ? ) problem
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