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: CFM to Mach-O Conversion Crash in CodeWarrior



It has been brought to my attention that my response to Mark was not as kind as it could have been.  I apologize to Mark if he took any offense at the tone of my response. Looking over it again I can see that it would be easy to interpret it that way. All I can say is I didn't mean to express any contempt - though I did intend seriousness - through my tone of typing.

Daniel

On Oct 26, 2005, at 12:18 PM, Daniel Jalkut wrote:

Hi Mark - I appreciate your familiarity with your own code, but...

On Oct 26, 2005, at 11:17 AM, Mark D. Gerl wrote:

No, I haven't.  I'm pretty sure that we're OK in the memory stomping department, because our code is well tested in CFM and during this app-init sequence, there's basically no changes between the CFM and MachO code.

That's a dangerous assumption.  Compiler changes can easily cause previously non-stomping code to become deadly. Everything is thrown up in the air,  even when you just change a few build options. When you're changing compilers and code format, you've got a different flavor of soup altogether!

I'll try MallocDebug, just for kicks... but I don't think it will help.

That's a dangerous attitude. You should be excited to try something already installed on your system, which could potentially track down your bug quickly and without the hassle or delay of waiting for mailing list responses. The response you've gotten here sort of hints at the fact that "Mach-O projects don't just crash themselves."

I also strongly recommend trying "Guard Malloc," which is a much more accurate (and painstakingly slow) tool for detecting overruns. I  don't know how easy it is to do outside of Xcode, but it is great for catching "Oh my gosh, I didn't *think* I had any memory stompers!" bugs.

I think it sends the wrong message when you enter a desperate plea for help to a mailing list, and then to follow up with expressions mild dismissal when people offer good suggestions.

Good luck catching this bug!

Daniel


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

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: 
 >CFM to Mach-O Conversion Crash in CodeWarrior (From: "Mark D. Gerl" <email@hidden>)
 >Re: CFM to Mach-O Conversion Crash in CodeWarrior (From: John Stiles <email@hidden>)
 >Re: CFM to Mach-O Conversion Crash in CodeWarrior (From: "Mark D. Gerl" <email@hidden>)
 >Re: CFM to Mach-O Conversion Crash in CodeWarrior (From: Daniel Jalkut <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.