XCode/Lion Crash Problem Cycle
XCode/Lion Crash Problem Cycle
- Subject: XCode/Lion Crash Problem Cycle
- From: Harald Striepe <email@hidden>
- Date: Sun, 06 Nov 2011 12:24:58 -0800
I have been running into an odd crash cycle on Lion with XCode 4.2 (Build 4D199 and, 4C199, and previous beta versions), which happens on only one system, a 1,1 Mac Pro.
After installing and running XCode a few times, DiskImageMounter starts crashing. The only way I have been able to fix it is to reinstall Lion, or apply the 10.7.1 or 10.7.2 Combo update. After that, XCode crashes, requiring XCode reinstallation. This is followed by DiskImageMounter crashes within a few XCode launches.
DiskImageMounter crashes thusly:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010
VM Regions Near 0x10:
-->
__TEXT 0000000106e1f000-0000000106e22000 [ 12K] r-x/rwx SM=COW /System/Library/CoreServices/DiskImageMounter.app/Contents/MacOS/DiskImageMounter
Application Specific Information:
objc_msgSend() selector name: autorelease
objc[45834]: garbage collection is OFF
Thread 4 Crashed:
0 libobjc.A.dylib 0x00007fff8c0bdfdf objc_msgSend_fixup + 95
1 com.apple.DiskImageMounter 0x0000000106e20be4 0x106e1f000 + 7140
2 com.apple.Foundation 0x00007fff8a3a67fe -[NSThread main] + 68
3 com.apple.Foundation 0x00007fff8a3a6776 __NSThread__main__ + 1575
4 libsystem_c.dylib 0x00007fff8d88e8bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff8d891b75 thread_start + 13
Thread 4 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000001 rbx: 0x0000000000000000 rcx: 0x00007fd00c015200 rdx: 0x0000000106f20670
rdi: 0x0000000000000001 rsi: 0x0000000106e227f0 rbp: 0x000000010981fc40 rsp: 0x000000010981fb80
r8: 0x00007fff8d7b536e r9: 0x0000000106e213a0 r10: 0x0000000000000001 r11: 0x0000000000000000
r12: 0x00007fd00b570330 r13: 0x0000000109820000 r14: 0x00007fd00d11db50 r15: 0x00000000000003e7
rip: 0x00007fff8c0bdfdf rfl: 0x0000000000010202 cr2: 0x0000000000000010
Logical CPU: 0
XCode has this issue:
Application Specific Information:
ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-903/Framework/Classes/DeveloperStructure/DVTDeveloperPaths.m:138
Details: _developerFolderPath(): Bundle not found for bundle identifier com.apple.dt.DVTFoundation;
Object: <IDEDeveloperPaths: 0x4001700a0>
Method: -_developerFolderPath
Thread: <NSThread: 0x40010a260>{name = (null), num = 1}
Hints: None
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-903/Framework/Classes/DeveloperStructure/DVTDeveloperPaths.m:138
Details: _developerFolderPath(): Bundle not found for bundle identifier com.apple.dt.DVTFoundation;
Object: <IDEDeveloperPaths: 0x4001700a0>
Method: -_developerFolderPath
Thread: <NSThread: 0x40010a260>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x000000010b6da466 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010ad56794 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010acf4726 -[DVTDeveloperPaths _developerFolderPath] (in DVTFoundation)
3 0x000000010acf4505 -[DVTDeveloperPaths init] (in DVTFoundation)
4 0x000000010acf44a1 __33+[DVTDeveloperPaths defaultPaths]_block_invoke_0 (in DVTFoundation)
5 0x00007fff91487224 dispatch_once_f (in libdispatch.dylib)
6 0x000000010acf4454 +[DVTDeveloperPaths defaultPaths] (in DVTFoundation)
7 0x000000010b25921f _IDEInitializeCrashTracerInfo (in IDEFoundation)
8 0x000000010b257ddb IDEInitialize (in IDEFoundation)
9 0x000000010b5d5d78 -[IDEApplicationController applicationWillFinishLaunching:] (in IDEKit)
10 0x00007fff8a362de2 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 (in Foundation)
11 0x00007fff91673e0a _CFXNotificationPost (in CoreFoundation)
12 0x00007fff8a34f097 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
13 0x00007fff93bc5922 -[NSApplication finishLaunching] (in AppKit)
14 0x00007fff93bc54d4 -[NSApplication run] (in AppKit)
15 0x00007fff93e4480c NSApplicationMain (in AppKit)
16 0x000000010ace0eec (in Xcode)
objc[45818]: garbage collection is ON
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8ea31ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8d8907d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff8d881a7a abort + 143
3 com.apple.dt.IDEKit 0x000000010b6d9f79 +[IDEAssertionHandler _handleAssertionWithLogString:] + 499
4 com.apple.dt.DVTFoundation 0x000000010ad56794 _DVTAssertionFailureHandler + 110
5 com.apple.dt.DVTFoundation 0x000000010acf4726 -[DVTDeveloperPaths _developerFolderPath] + 520
6 com.apple.dt.DVTFoundation 0x000000010acf4505 -[DVTDeveloperPaths init] + 70
7 com.apple.dt.DVTFoundation 0x000000010acf44a1 __33+[DVTDeveloperPaths defaultPaths]_block_invoke_0 + 68
8 libdispatch.dylib 0x00007fff91487224 dispatch_once_f + 53
9 com.apple.dt.DVTFoundation 0x000000010acf4454 +[DVTDeveloperPaths defaultPaths] + 33
10 com.apple.dt.IDEFoundation 0x000000010b25921f _IDEInitializeCrashTracerInfo + 31
11 com.apple.dt.IDEFoundation 0x000000010b257ddb IDEInitialize + 405
12 com.apple.dt.IDEKit 0x000000010b5d5d78 -[IDEApplicationController applicationWillFinishLaunching:] + 438
13 com.apple.Foundation 0x00007fff8a362de2 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
14 com.apple.CoreFoundation 0x00007fff91673e0a _CFXNotificationPost + 2634
15 com.apple.Foundation 0x00007fff8a34f097 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
16 com.apple.AppKit 0x00007fff93bc5922 -[NSApplication finishLaunching] + 333
17 com.apple.AppKit 0x00007fff93bc54d4 -[NSApplication run] + 125
18 com.apple.AppKit 0x00007fff93e4480c NSApplicationMain + 867
19 com.apple.dt.Xcode 0x000000010ace0eec 0x10ace0000 + 3820
I filed a bug report, but have not gotten very far with it.
It is well possible that there is a common third element causing the failure, but I seem to go in circles between reinstalling Lion/Lion Updater and XCode with a couple of days of normal function. No trouble on my other systems with essentially similar set of software, but different hw, and running in 64 bit instead of 32 bit kernel mode. If I do not run XCode, all stays well. But it is so much faster on this old Mac Pro than even my i7 MacBook Pro!
Has anybody seen anything similar? Any suggestions, of where to dig?
Thanks,
-- Harald
_______________________________________________
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