Mailing Lists: Apple Mailing Lists

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

Re: Wrong stack when debugging CFM app under Rosetta



On Mon, Aug 6, 2007 6:14 AM, Stephen Chu <email@hidden> wrote:

>Or in the crash report. We ran into some Intel-only crashes with our PPC 
>CFM app. The Stack trace in the reports are just numbers. We can't even 
>find out what the app is doing at the time of crash.

All of those I ran into were caused by uninitialized variables.

Apparently Rosetta does not emulate the PPC behavior in such cases.
These are going to bite you when switch to Universal, so you might as
well fix them now.

Xcode's warnings in such cases seem more thorough than Code Warrior's,
so it might be worth getting your code compiled (but not necessarily
running) under Xcode just for the warnings. Otherwise it's code
walkthrough time.

 _______________________________________________
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

References: 
 >Re: Wrong stack when debugging CFM app under Rosetta (From: "Jan Barnholt" <email@hidden>)
 >Re: Wrong stack when debugging CFM app under Rosetta (From: Stephen Chu <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.