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: John Stiles <email@hidden>
- Date: Fri, 16 Dec 2005 10:25:50 -0800
It could be a one-in-a-million memory stomp. Perhaps it's even in a
framework :)
Or it could even be bad hardware. We are all used to computers being
flawless, but from personal experience, I can say that many of our
tech support issues end up being diagnosed as marginal hardware. The
biggest offenders are flaky RAM, power supplies pushed to their limit
(or supplied with dirty power), or overclocked setups. On the Mac,
Apple has pretty good QC and nobody builds homebrew boxes, so bad
third-party RAM is usually the culprit :)
On Dec 16, 2005, at 8:36 AM, Jonathan del Strother wrote:
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
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