• 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:57:58 -0700

 >That really isn't normal. I'm guessing that if you replace
>CFDictionaryCreateMutable(NULL, 1, NULL, NULL); by
>CFDictionaryCreateMutable(NULL, 1, &kCFTypeDictionaryKeyCallBacks,
>&kCFTypeDictionaryValueCallBacks); you will avoid some memory borking
>that could be your problem.

I seem to have a quick fix (not nice but working). If I call CFPreferencesAppSynchronize(kCFPreferencesCurrentApplication) right before getting dict0 it'll be fine and I can write as many preferences as I want :)

Best regards,

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

References: 
 >CFDictionaryCreateMutableCopy crash (From: "\"Gábor Sebestyén\"" <email@hidden>)
 >Re: CFDictionaryCreateMutableCopy crash (From: Frederick Cheung <email@hidden>)
 >Re: CFDictionaryCreateMutableCopy crash (From: "\"Gábor Sebestyén\"" <email@hidden>)
 >Re: CFDictionaryCreateMutableCopy crash (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: CFDictionaryCreateMutableCopy crash
  • Next by Date: Re: Downloading files via HTTP with 304 support?
  • Previous by thread: Re: CFDictionaryCreateMutableCopy crash
  • Next by thread: (repost) CFDictionaryCreateMutableCopy crash
  • Index(es):
    • Date
    • Thread