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: "R.L. Grigg" <email@hidden>
- Date: Fri, 23 May 2008 12:06:40 -0700
On May 23, 2008, at 11:47 AM, R.L. Grigg wrote:
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?
Just to add a bit more info, here are the console log messages when I
launch Xcode (w/no project):
[0x0-0x72072].com.apple.Xcode[580] Xcode(580,0xf0103000) malloc:
free_garbage: garbage ptr = 0x37e15a0, has non-zero refcount = 1
Xcode[10066] Error loading /Users/russ/Library/Application Support/
SIMBL/PlugIns/Afloat.bundle/Contents/MacOS/Afloat: dlopen(/Users/russ/
Library/Application Support/SIMBL/PlugIns/Afloat.bundle/Contents/MacOS/
Afloat, 265): no suitable image found. Did find:
/Users/russ/Library/Application Support/SIMBL/PlugIns/Afloat.bundle/
Contents/MacOS/Afloat: GC capability mismatch
Xcode[10066] Error loading /Users/russ/Library/InputManagers/SIMBL/
SIMBL.bundle/Contents/MacOS/SIMBL: dlopen(/Users/russ/Library/
InputManagers/SIMBL/SIMBL.bundle/Contents/MacOS/SIMBL, 265): no
suitable image found. Did find:
/Users/russ/Library/InputManagers/SIMBL/SIMBL.bundle/Contents/MacOS/
SIMBL: GC capability mismatch
Xcode[10066] Error loading /Users/russ/Library/InputManagers/Smart
Crash Reports/Smart Crash Reports.bundle/Contents/MacOS/Smart Crash
Reports: dlopen(/Users/russ/Library/InputManagers/Smart Crash Reports/
Smart Crash Reports.bundle/Contents/MacOS/Smart Crash Reports, 265):
no suitable image found. Did find:
/Users/russ/Library/InputManagers/Smart Crash Reports/Smart Crash
Reports.bundle/Contents/MacOS/Smart Crash Reports: GC capability
mismatch
[0x0-0x279279].com.apple.Xcode[10066] Xcode(10066,0xf0103000) malloc:
free_garbage: garbage ptr = 0x275a560, has non-zero refcount = 1
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