• 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: "R.L. Grigg" <email@hidden>
  • Date: Fri, 23 May 2008 11:47:33 -0700

On May 21, 2008, at 4:02 PM, Jack Repenning wrote:

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.

Im getting this "deadbeef" syndrome often for even new Cocoa apps that have nothing in them, just a blank window and a couple of methods, no awakeFromNib or init overrides, so Xcode is deadbeefing on its own standard initialization code not mine. Rebooting has no effect. I can launch such apps directly from the Finder but from within Xcode Im getting alot of deadbeefing. Do I need to reinstall Xcode 3.0?


Russ

_______________________________________________
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>)
 >Re: Xcode 3.0 deadbeefs my app on PPC (From: Jack Repenning <email@hidden>)

  • Prev by Date: Re: PPC/Intel difference for out-of-range double -> int conversion
  • Next by Date: Re: Viewing A Pointer As An Array
  • 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