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
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.)