Problem with MoreSCF
Problem with MoreSCF
- Subject: Problem with MoreSCF
- From: Jen Beaven <email@hidden>
- Date: Wed, 1 Mar 2006 13:06:20 -0500
At 3:49 PM +0100 2/27/06, John Andersson wrote:
On the new intel-based iMacs, and Mac OS 10.4.5, MoreSCF doesn't
seem to work correctly under rosetta. I have a problem with this
line of code:
err = MoreSCNewSet(userVisibleName, &newSetID);
My SetupTool (running as uid 0) crashes.
OK, I've tracked down this problem (or one of them) to a call to
SCPreferencesPathGetLink. At least, this is one problem I can't get
around because it's in the SC framework itself. The inputs look OK
and are the appropriate type. Here's the pertinent bit of the crash
log:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0xa1b1c1d8
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x9080c236 CFEqual + 32
1 com.apple.CoreFoundation 0x90815f1e
__CFDictionaryFindBuckets1b + 173
2 com.apple.CoreFoundation 0x9081feb5
CFDictionaryGetValueIfPresent + 225
3 com.apple.SystemConfiguration 0x91409902 getPath + 249
4 com.apple.SystemConfiguration 0x9141007f
SCPreferencesPathGetLink + 46
5 authtool 0x00005ebb
CopyResolvedServicePath + 490
6 authtool 0x0000746c MoreSCSetEntitiesDict + 98
7 authtool 0x0000909b MoreSCSetServiceActive + 176
8 authtool 0x0000c4e3
MoreSCMakeNewSingleServiceSet + 926
9 authtool 0x0000cdbc JMoreSCMakeNewDHCPSet + 395
10 authtool 0x000020a6 main + 1224
11 authtool 0x00001b86 _start + 228
12 authtool 0x00001aa1 start + 41
Is anyone from Apple reading this? Is this an Intel Mac problem or a
10.4.5 problem? Is MoreIsBetter/MoreSCF still a viable option or do I
have to fillet out the bits that still work and hack around the rest?
I realize this is sans-warranty code and am quite grateful that it
was there and worked as neatly as it did. However. Now it's causing
me to spend a lot of time I don't have to fix stuff that wasn't broke
(and ran happily on the test intel macs, which is why I didn't
allocate a lot of time to maintenance for this.)
/jen
--
http://pengcognito.com - weekly penguin cartoon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden