Re: CFZombieLevel
Re: CFZombieLevel
- Subject: Re: CFZombieLevel
- From: Jim Correia <email@hidden>
- Date: Fri, 22 Sep 2006 15:26:56 -0400
On Sep 21, 2006, at 10:07 AM, Jakob Olesen wrote:
Is setting CFZombieLevel known to be crash prone in Cocoa apps?
[...]
What is going on? Did I mess up my installation somehow, or is
CFZombie simply not usable with the current framework versions?
Unfortunately, CFZombieLevel is not going to be generally useful on
current OS releases.
There are two problems I know about:
Problem #1 is now documented in the debugging magic technote.
http://developer.apple.com/technotes/tn2004/tn2124.html
WARNING: CFZombieLevel is not currently compatible with custom
allocators (created using CFAllocatorCreate) (r. 4158401). If you
attempt this combination, your program will crash the first time you
deallocate an object with a custom deallocator.
Problem #2 There appear to be issues with the custom CFObjects used
by the security framework and how it manages them which make it
unfriendly to CFZombie which are independent from problem #1.
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden