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



I don't think there's any "behavior" for Rosetta to emulate, re uninitialized variables. They will contain random noise. If you were getting lucky on PPC, then that's cool, but it was always subject to change when anything is different (OS version, plugins installed, current desktop pattern, dock size, time of day, phase of the moon, etc :) )


On Aug 6, 2007, at 8:05 AM, Durango wrote:

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/jstiles% 40blizzard.com


This email sent to 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
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>)
 >Re: Wrong stack when debugging CFM app under Rosetta (From: Durango <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.