• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 3.0 deadbeefs my app on PPC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Xcode 3.0 deadbeefs my app on PPC
      • From: "R.L. Grigg" <email@hidden>
References: 
 >Xcode 3.0 deadbeefs my app on PPC (From: R.L.Grigg <email@hidden>)
 >Re: Xcode 3.0 deadbeefs my app on PPC (From: Jack Repenning <email@hidden>)
 >Re: Xcode 3.0 deadbeefs my app on PPC (From: "R.L. Grigg" <email@hidden>)

  • Prev by Date: Re: Drawing not in a window
  • Next by Date: Re: environment.plist not being read at login?
  • Previous by thread: Re: Xcode 3.0 deadbeefs my app on PPC
  • Next by thread: Re: Xcode 3.0 deadbeefs my app on PPC
  • Index(es):
    • Date
    • Thread