• 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: CFDictionaryCreateMutableCopy crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFDictionaryCreateMutableCopy crash


  • Subject: Re: CFDictionaryCreateMutableCopy crash
  • From: "\"Gábor Sebestyén\"" <email@hidden>
  • Date: Thu, 23 Sep 2004 04:31:54 -0700

More to mention: it very seems that all values of dict0 are released before I could do anything with them. I've put a new line before mutable copy to retain all values:

		CFDictionaryApplyFunction(dict0, CFDictRetain, NULL);
...
void CFDictRetain(const void *key, const void *value, void *context)
{
	CFShow(key);
	fprintf(stderr, "value=0x%x\n", value); fflush(stderr);
	CFShow(value);
	CFRetain(value);
}


and the called CFDictRetain crashes at once it tries to display the "value". The key is ok. So now what can I do to prevent such a behavior of the system. Actually I cannot see further steps I could take ..

(..sad..)

Gábor

 _______________________________________________
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: CFDictionaryCreateMutableCopy crash
      • From: Frederick Cheung <email@hidden>
References: 
 >CFDictionaryCreateMutableCopy crash (From: "\"Gábor Sebestyén\"" <email@hidden>)
 >Re: CFDictionaryCreateMutableCopy crash (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Cocoa application and regular expression
  • Next by Date: Re: CFDictionaryCreateMutableCopy crash
  • Previous by thread: Re: CFDictionaryCreateMutableCopy crash
  • Next by thread: Re: CFDictionaryCreateMutableCopy crash
  • Index(es):
    • Date
    • Thread