Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

abhibeckert

macrumors 6502
Original poster
Jun 2, 2007
432
596
Cairns, Australia
I have an Xcode build script that reliably causes my Early 2015 Retina MacBook Pro to freeze (at a different point in the build process each time).

It's not the same as the widespread 10.11.4 freeze, with this freeze I can still move the mouse, but cannot switch apps/etc.

All I can think is maybe having all four CPU cores running under full load for 5 minutes is causing the problem?

Has anybody experienced anything similar?
 

beebarb

macrumors 6502
Sep 10, 2015
288
258
Well no, but what you describe does sound like the cause is as you suspect.
Having all CPU cores maxed out will eventually cause the system to lock up for a period of time, because there's virtually no processing resources left.

It'll eventually resolve itself once the backlog of instructions are processed.
Is there some way you can reduce the processing load?
 

leman

macrumors Core
Oct 14, 2008
19,521
19,677
I have seen some similar reports on Apple dev forums. I'd recommend you to submit a bug report to Apple and attach the build script in question.
 

abhibeckert

macrumors 6502
Original poster
Jun 2, 2007
432
596
Cairns, Australia
It'll eventually resolve itself once the backlog of instructions are processed.
I don't think so, I left it stuck for a full hour on the same step with no progress. Normally it completes the entire process in about 5 or 10 minutes (5 min on my MacBook, 10 minutes on my older Mac Mini, which does not freeze).

Is there some way you can reduce the processing load?
I'm working with `xcodebuild`, `ibtool` and so on. They don't have any method of throttling as far as I know.

I guess I could put a 10 second sleep, but that'd make it painfully slow.
[doublepost=1465292134][/doublepost]
I have seen some similar reports on Apple dev forums. I'd recommend you to submit a bug report to Apple and attach the build script in question.
Have you got a link to those? I can't find anything.

I don't know enough about the bug (yet) to write up a useful in Radar issue.
 

beebarb

macrumors 6502
Sep 10, 2015
288
258
I don't think so, I left it stuck for a full hour on the same step with no progress. Normally it completes the entire process in about 5 or 10 minutes (5 min on my MacBook, 10 minutes on my older Mac Mini, which does not freeze).

Oh dear, yes that is a problem.
Beyond some sort of bug I'm not sure what could cause an indefinite hang like that.

The ability to still move the mouse is what made me think it might have been a resources issue.
I am sorry I wasn't helpful.
 

ScoobyMcDoo

macrumors 65816
Nov 26, 2007
1,188
37
Austin, TX
It wasn't from an xcode build script, and I cannot give any specifics except I think this happened when using netbeans a few times. Anyway, I recall that although I could not switch to different applications, I was able to get to the "force quit" dialog and quit the offending application. Also, I have in the past ssh'ed into the machine and used the command line "kill" command to continue.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.