Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ICGetPref in 7b39



Is it just me or has has IC gone crazy in 7b39? The following crashes my application:
ICInstance theInstance;
Str255 temp;
OSErr err;
ICAttr attr;
long ks;
err=ICStart(&theInstance,kMyCreatorCode);
if(err==noErr){
ICBegin(theInstance,icReadOnlyPerm);
ks=256;
err=ICGetPref(theInstance,kICFTPProxyHost,&attr,temp,&ks))
}

ICGetPref causes the crash, ICStart returns noErr and theInstance is non null. The crash happens both in my app and in a separate application containing just the above. (crash log below)

Anyone know what's up?

Fred


Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
#0 0x00000000 in 0x0
#1 0x92e7cb94 in ICPrefSystemConfiguration::SetBoolDataForKeyFromIntData(__CFDictionary*, unsigned char const*, void const*) (ICPrefSystemConfiguration::SetBoolDataForKeyFromIntData(__CFDictionary* , unsigned char const*, void const*) + 88)
#2 0x92e7389c in ICPrefSystemConfiguration::GetProxyDict() (ICPrefSystemConfiguration::GetProxyDict() + 368)
#3 0x92e71c90 in ICPrefSystemConfiguration::GetValue(__CFString const*, unsigned long*, void const**) (ICPrefSystemConfiguration::GetValue(__CFString const*, unsigned long*, void const**) + 32)
#4 0x92e71904 in ICPrefDomain::CopyValue(__CFString const*, unsigned long*, void const**) (ICPrefDomain::CopyValue(__CFString const*, unsigned long*, void const**) + 40)
#5 0x92e711a4 in OpaqueICInstance::GetPrefCore(ICKeyInfo const&, long, void*, long*, unsigned long*) (OpaqueICInstance::GetPrefCore(ICKeyInfo const&, long, void*, long*, unsigned long*) + 160)
#6 0x92e71794 in OpaqueICInstance::GetPref(ICKeyInfo const&, long, void*, long*, unsigned long*) (OpaqueICInstance::GetPref(ICKeyInfo const&, long, void*, long*, unsigned long*) + 144)
#7 0x92e71550 in ICGetPref (ICGetPref + 164)
#8 0x000ead84 in main (main.c:16)
#9 0x00001c18 in start (start + 444)
#10 0x00001a8c in start (start + 48)
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.