Re: Problem with MoreSCF
Re: Problem with MoreSCF
- Subject: Re: Problem with MoreSCF
- From: Jen Beaven <email@hidden>
- Date: Fri, 3 Mar 2006 13:46:08 -0500
Unfortunately I don't have the time to give it the attention it needs
(I have other stuff that has to be done by end of next week.) I was
planning on opening an incident then if no one from Apple had
responded (no one has, here or to me personally), and hoping it won't
be a "thanks for paying, but we don't guarantee that code, bye bye"
answer.
It goes slowly, as whatever is happening causes other errors, and I
usually have to reboot after crashes :-( And it's authorized code, so
no easy way to debug (it's the called tool, so even running XCode as
root doesn't do it.)
I can say that some of MoreSCF can be fixed (the part that reads
configs) - it looks like at least one IORegistry propert that used
to be a CFData is now a CFString, so adding a conditional check of
CFTypeID fixes that. (It's reading the "name" property in the
CopyUserVisibleNameForEthernetPort function in MoreSCFPortScanner
that I had to modify, but there may be others.)
I still haven't verified whether it's the fault of 10.4.5 (I suspect
that) or the Intel macs. I will try to at least figure that out over
the weekend.
At 3:31 PM +0100 3/3/06, John Andersson wrote:
Nice work Jen. Have you had any luck with this bug, or heard
anything from Apple? I'll need to open up a Techhnical support
incident soon, hoping to get this solved! I feel stuck.
/John
1 mar 2006 kl. 19.06 skrev Jen Beaven:
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
--
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