Skip navigation.
 
mlRe: Crazy CFPreferences!
FROM : SEBESTYÉN Gábor
DATE : Mon Oct 18 21:15:21 2004

>I would create the dictionary with kCFTypeDictionaryKeyCallBacks and
>kCFTypeDictionaryValueCallBacks

Yep, you were right it was really a bug, fixed..
But my problem remained: the crash happens in the other branch when the dict0 is not null:

0   libobjc.A.dylib                 0x908311ec objc_msgSend + 0xc
1   com.apple.CoreFoundation       0x9019cb2c CFDictionaryAddValue + 0x1f4
2   com.apple.CoreFoundation       0x901b377c CFDictionaryCreateMutableCopy + 0x1f4
3   libsilent.dylib                 0x01a2f36c Config::WriteInt(char*, char*, int) + 0x84 (Config.cpp:188)

CFDictionaryCreateMutableCopy does something bad.
Further ideas? :)

Related mailsAuthorDate
mlCrazy CFPreferences! SEBESTYÉN Gábor Oct 18, 13:24
mlRe: Crazy CFPreferences! Frederick Cheung Oct 18, 14:22
mlRe: Crazy CFPreferences! SEBESTYÉN Gábor Oct 18, 20:07
mlRe: Crazy CFPreferences! Frederick Cheung Oct 18, 20:57
mlRe: Crazy CFPreferences! SEBESTYÉN Gábor Oct 18, 21:15
mlRe: Crazy CFPreferences! [resent] SEBESTYÉN Gábor Oct 18, 22:36