Re: Crash in CFStringHash - can I do anything about this?
Re: Crash in CFStringHash - can I do anything about this?
- Subject: Re: Crash in CFStringHash - can I do anything about this?
- From: Jonathan del Strother <email@hidden>
- Date: Fri, 16 Dec 2005 16:36:45 +0000
Mmm, I only discovered CFZombieLevel through that recent BigNerdRanch
article on retain count debugging (
http://weblog.bignerdranch.com/?p=2)
Regardless, I'm not seeing any undead objects after a few hundred
Amazon requests on my machine. So far it's looking like one of those
annoying unreproducible bugs...
Jon
On 16 Dec 2005, at 16:30, Sean McBride wrote:
Hi all,
Remember though that NSZombieEnabled does not work with toll free
bridged classes like NSString, for those you need CFZombieLevel. See:
<http://www.cocoadev.com/index.pl?NSZombieEnabled>
This seems to be a little known fact. It seems to me that _no one_
uses
CFZombieLevel. :( I implore you to turn it on, and try your apps with
it. Technote 2124 (<http://developer.apple.com/technotes/tn2004/
tn2124.html>) has some details, but the short version is: in
terminal type:
export CFZombieLevel=65537
open /path/to/app
QuickTime Player, iTunes, Safari, and probably many others crash _at
launch_ when this is turned on.
I really wish CFZombieLevel and friends were enabled by default by
Xcode
for Debug targets. Off to Radar I guess.
On 2005-12-15 16:46, John Stiles said:
Enable zombie detection and run again. It could be that someone is
working on a released object.
I don't think there's a bug in CFStringHash :)
On Dec 15, 2005, at 4:40 PM, Jonathan del Strother wrote:
I got a Smart Crash Report submitted to me recently, and have no
idea of the crash's cause or fix.
The crash log can be found here -
http://www.steelskies.com/CFStringHashCrash.txt
- but basically it's a crash in CFStringHash; my app isn't directly
involved in any of the callchain.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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