• 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
Fwd: -[NSInvocation length]: selector not recognized [self = 0x30abd0]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: -[NSInvocation length]: selector not recognized [self = 0x30abd0]


  • Subject: Fwd: -[NSInvocation length]: selector not recognized [self = 0x30abd0]
  • From: NSTask <email@hidden>
  • Date: Sun, 23 Sep 2007 23:27:10 +0200

On 9/23/07, Jim Correia <email@hidden> wrote:
>
> On Sep 23, 2007, at 4:14 PM, NSTask wrote:
>
> > NSZombie has returned this.
> >
> > Selector 'retain' sent to dealloced instance 0x30ca40 of class
> > NSInvocation.
> > Break at '-[_NSZombie retain]' to debug.
>
> So an instande of NSInvocation is being used, but has been deallocated.
>
> Are you using NSInvocation directly?


Yes, I am using NSInvocation directly.


Follow the advice of the logged message, and when you stop look at
> the backtrace and work backwards to find the memory management bug.


I backtraced it to see the memory management bug and fixed it. By the time
object
reaches to the client it automatically gets released.
So for testing I retained it again and got this

 [NSConcreteData _fastCharacterContents]: selector not recognized [self =
0x30d000]


/S.
_______________________________________________

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: 
 >-[NSInvocation length]: selector not recognized [self = 0x30abd0] (From: NSTask <email@hidden>)
 >Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0] (From: Jim Correia <email@hidden>)
 >Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0] (From: NSTask <email@hidden>)

  • Prev by Date: Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0]
  • Next by Date: Communicate two window controllers.
  • Previous by thread: Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0]
  • Next by thread: Re: -[NSInvocation length]: selector not recognized [self = 0x30abd0]
  • Index(es):
    • Date
    • Thread