Mailing Lists: Apple Mailing Lists

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

CFPreferencesCopyValue causes crash in shared library on iMac



Hi All,

(MacOS X 10.4.6 on Mac Intel Core Duo).

I've experienced "EXC_BAD_INSTRUCTION" exception calling
CFPreferencesCopyValue(...) API function.
Having traced this call I detected that the exception is raised by the
following instruction:
    .....
    0x90824daa      movdqa    [ebp - 0x28], xmm0                (within
_CFReadBytesFromFile internal procedure)
    .....
in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundatio
n shared library (@0x90801000).

Here effective address of [ebp - 0x28] is not 16-aligned as required for
SSE2 "movdqa" instruction.

Also I should say that this exception doesn't occur every time I call
CFPreferencesCopyValue(...).
Really, in all cases when ebp = 0xXXXXXXX8, it's clear, this exception
doesn't occur.

Has anyone experienced the same problem? How to aviod that?

Thanks,
Alexander Klyuev, email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



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.