Re: Xcode 3.0 deadbeefs my app on PPC
Re: Xcode 3.0 deadbeefs my app on PPC
- Subject: Re: Xcode 3.0 deadbeefs my app on PPC
- From: Jack Repenning <email@hidden>
- Date: Wed, 21 May 2008 16:02:39 -0700
On May 21, 2008, at 3:11 PM, R.L. Grigg wrote:
As my luck would have it, when I turn on Guard Malloc the bug hides.
Sadly, this too is characteristic of the breed. I would say that this
confirms the "memory corruption" diagnosis. It also serves to
illustrate why it's so widely held that these are the hardest kinds of
problems to resolve in all of programming.
You mentioned this is a Cocoa app, so it's at least partly Objective-
C. If it's all Objective-C, then Garbage Collection (Objective-C 2.0)
is specifically targeted to relieve you of a substantial portion of
the complications that lead to these problems. But that requires you
to be Leopard-only; any chance of that? And you have to translate
your program into the new idiom (there's a guide for that, and mostly
it consists of removing all retain/release/autorelease calls, but
there's a bit more to it than that). If your app also has a lot of C
or C++ memory management, the GC won't help those parts.
-==-
Jack Repenning
email@hidden
Project Owner
SCPlugin
http://scplugin.tigris.org
"Subversion for the rest of OS X"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden