• 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
Re: Crash in CFStringHash - can I do anything about this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Crash in CFStringHash - can I do anything about this?
      • From: "Sean McBride" <email@hidden>
    • Re: Crash in CFStringHash - can I do anything about this?
      • From: John Stiles <email@hidden>
References: 
 >Crash in CFStringHash - can I do anything about this? (From: Jonathan del Strother <email@hidden>)
 >Re: Crash in CFStringHash - can I do anything about this? (From: John Stiles <email@hidden>)
 >Re: Crash in CFStringHash - can I do anything about this? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Using Localized Strings within a SecurityAgent Plugin
  • Next by Date: Re: Getting data from NSOutlineView [solved, kind of...]
  • Previous by thread: Re: Crash in CFStringHash - can I do anything about this?
  • Next by thread: Re: Crash in CFStringHash - can I do anything about this?
  • Index(es):
    • Date
    • Thread