Re: xcodebuild 3.1 crashes
Re: xcodebuild 3.1 crashes
- Subject: Re: xcodebuild 3.1 crashes
- From: Jim Wintermyre <email@hidden>
- Date: Thu, 4 Nov 2010 16:48:55 -0700
Hi John -
Digging up this one from the archives:
For the mailing list archives, or whatever it's worth....
on 7/23/08 12:30 PM, John C. Daub at email@hidden wrote:
> We upgraded to Xcode 3.1 earlier this week and ever since then our build
> machine has been having fits. Our builds are failing because
somewhere along
> the way xcodebuild will crash. Exactly where in the process of things it
> crashes isn't the same from build run to build run, but the crashes that
> happen are producing more or less the same crash every time: an
> EXC_BAD_ACCESS with -[PBXTargetBuildContext
analyzeDependenciesForNodes:] as
> the second to the last thing on the stack (last thing is objc_msgSend) .
>
> Again, we don't see the crash every time, but it's certainly bringing our
> automated builds to a halt. :-(
>
> I have filed <rdar://problem/6095644> about this, including crash logs.
>
> I'm posting here in hopes that others may have experienced the problem and
> have found a workaround. I can post more information if people need it.
Unfortunately I guess we're all alone here... no responses and we're still
crashing heavily. I updated my RADAR with as much information as I can
give... but if the Xcode team wants more, I guess they know where to find
me.
Meantime we had to downgrade back to Xcode 3.0. Hopefully the Xcode team can
resolve the problem and there'll be an Xcode 3.1.1 soon.
Did you ever get anywhere with this? Is it still happening (or are
you still on Xcode 3.0)?
I'm running into what looks to be the same issue. Just found your
post since it seems to be crashing in the same place. It's
intermittent, and used to be so infrequent that we never got anywhere
with it (and it always seemed to be cleared up after a reboot). But
now it's happening a lot more frequently, and in particular, on our
build server.
The crash log always looks like this:
Thread 6 Crashed:
0 libobjc.A.dylib 0x00007fff8209711c objc_msgSend + 40
1 com.apple.CoreFoundation 0x00007fff80bd3cc6
_CFAutoreleasePoolPop + 230
2 com.apple.Foundation 0x00007fff85cf62ec
-[NSAutoreleasePool drain] + 158
3 com.apple.Xcode.DevToolsCore 0x00000001001d23b9
-[PBXTargetBuildContext analyzeDependenciesForNodes:] + 1289
4 com.apple.Xcode.DevToolsCore 0x00000001001d1e9e
-[PBXTargetBuildContext analyzeAllProductDependencies] + 206
5 com.apple.Xcode.DevToolsCore 0x00000001001813e9
-[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:]
+ 393
6 com.apple.CoreFoundation 0x00007fff80c24d2c __invoking___ + 140
7 com.apple.CoreFoundation 0x00007fff80c24bfd
-[NSInvocation invoke] + 141
8 com.apple.Xcode.DevToolsCore 0x0000000100180d3f
-[PBXTargetBuildContext(DependencyGraphEvents)
processDependencyGraphEvents] + 479
9 com.apple.Xcode.DevToolsCore 0x00000001002123b5
-[PBXTarget(XCBuildables)
workQueueForBuildingWithBuildOperation:buildLogRecorder:] + 1061
10 com.apple.Xcode.DevToolsCore 0x000000010021147f
-[XCBuildOperation
addWorkQueueForNextReadyBuildableToWorkQueueOperation:] + 1151
11 com.apple.Xcode.DevToolsCore 0x0000000100210814
-[XCBuildOperation runOperationInBackground] + 1716
12 com.apple.Xcode.DevToolsCore 0x000000010020ffb4
-[XCThreadedOperation _runOperationInBackground] + 1172
13 com.apple.Foundation 0x00007fff85ce0e8d
__NSThread__main__ + 1429
14 libSystem.B.dylib 0x00007fff8529a456 _pthread_start + 331
15 libSystem.B.dylib 0x00007fff8529a309 thread_start + 13
For what it's worth, in our case, this usually happens in a shell
script that is building an Xcode project via xcodebuild. It is
building the same project multiple times (like 60+) with different
preprocessor defines. The project itself is fairly straightforward,
with just a single source file. It does have a couple shell script
build phases; one to munge a pre-built Info.plist file (since it's
the same for the 60+ bundles we're building, except for the name of
the output file which gets replaced in the plist in a few places),
and a post-processing script to do miscellaneous bundle munging like
copying a custom icon into place.
Having this trip up our automated build server pretty regularly now
is quite frustrating. Any tips appreciated.
Thanks,
Jim
_______________________________________________
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