Re: Zombies: "Not a Type release"
Re: Zombies: "Not a Type release"
- Subject: Re: Zombies: "Not a Type release"
- From: Ken Ferry <email@hidden>
- Date: Fri, 23 Jan 2009 08:23:54 -0800
On Thu, Jan 22, 2009 at 2:43 PM, Greg Parker <email@hidden> wrote:
> On Jan 22, 2009, at 2:15 PM, Sean McBride wrote:
>
>> On 1/22/09 2:11 PM, Alexander Heinz said:
>>
>>> *** -[Not A Type release]: message sent to deallocated instance
>>> 0xe412b30
>>>
>>> This doesn't tell me what kind of object is sent the message, so I'm
>>> having a very hard time debugging the problem.
>>>
>>> My questions are:
>>>
>>> What is a "Type release" (and, by extension, what does it mean to not
>>> be one)?
>>>
>>
>> I think you're reading that wrong. Think:
>>
>> -["Not A Type" release]
>>
>> The message 'release' was sent to.... something... can you 'po
>> 0xe412b30' in gdb? Or check the history of that address with Instruments?
>>
>
> "Not A Type" is the type name for the Core Foundation type with CFTypeID
> zero. That type isn't supposed to show up anywhere.
>
> If the object used to be an instance of a CF type, then you might get
> better information from CFZombie instead of NSZombie.
As of Leopard, NSZombieEnabled is fully functional for CFTypes, and I think
CFZombieLevel is dead.
-Ken
_______________________________________________
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