Re: Xcode not quitting
Re: Xcode not quitting
- Subject: Re: Xcode not quitting
- From: Andreas Grosam <email@hidden>
- Date: Fri, 10 Aug 2012 16:00:15 +0200
On 10.08.2012, at 15:21, McLaughlin, Michael P. wrote:
> With Xcode 4.4.1 under OS 10.7.4, I have an app targeting either 10.6 or 10.7 (I've tried both).
>
> This app creates one subtask (not thread) for each effective CPU (in my case, 8). The subtasks do a lengthy SIMD computation. [Note: Threads do not work here due to excessive malloc contention.]
>
> When I run the Release target from within Xcode then Quit the app (or just try Quit Xcode), the subtasks all quit but the main app that created them does not. Activity Monitor shows one thread for this app using 4 kb of memory. The Stop Tasks button in Xcode does not go off (and no longer works) and, even worse, Xcode itself will not Quit unless I use Force Quit. Strangely, the app thread showing in Activity Monitor will not terminate even with Force Quit. [I have to Restart the computer to get rid of it.]
>
> None of this happens with the Debug target. There, all is OK. Likewise, all of this worked fine in Snow Leopard.
>
> I'm a bit out of my depth here and would appreciate any hints.
I suspect, Xcode left the debuggie in an uninterruptible wait state.
You can verify this, after you have forcibly quite Xcode, using the following command in the terminal:
$ ps -lAc | grep <executable_name>
If you get something like this
301 2071 1 4004 0 31 0 2425596 4 - U ffffff800f939200 ?? 0:00.00 <executbale_name>
with the "U" as state, this indicates an "uninterruptible wait state".
I suffer from this bug as well. AFAIK, the only way to get rid of a stuck process is to restart your system.
Bug ID: 11910076
Andreas
_______________________________________________
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