Re: SOLVED: Build process stuck in XCode
Re: SOLVED: Build process stuck in XCode
- Subject: Re: SOLVED: Build process stuck in XCode
- From: Justin Walker <email@hidden>
- Date: Sat, 3 Jan 2004 17:51:39 -0800
On Saturday, January 3, 2004, at 11:32 AM, Shawn Erickson wrote:
On Jan 3, 2004, at 11:24 AM, Justin Walker wrote:
On Saturday, Jan 3, 2004, at 11:11 US/Pacific, Frank Rimlinger wrote:
Since I did a clean install of Panther 10.3.2 I have only had one or
two freezes. But I know how to avoid them, at least in C++. I have
bound the "Compile" command to <apple>K. You know you are toast
when the <apple>K just beeps instead of compiling. This means there
is a rogue build in the background. At this point you can save
everything, quit, and restart Xcode, and all will be well. My
theory is that sometimes a build will give the appearance of
terminating when in fact it has gone underground, creating untold
havoc. I think it is a build on top of a hidden build that causes
the freeze.
[snip]
Assuming an incomplete build is not deadlocked someplace because of a
locking issue or more likely a missed notification. Top will not show
much for this.
Correct. Thanks for catching that.
You can determine if this is the case by looking at the output from
'ps' to see if there are build processes loitering about, with no
visible means of progress :-}.
In either case, if you see them, you can run 'sample' on the active
ones, and try to attach to the idlers with gdb. Send the 'sample'
output, or the per-thread backtraces (in gdb: "t a a bt" will get a
list of the backtraces for all threads) to Apple. Assuming they want
them, of course :-}.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------*-------------------------------*
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.