This is the following crash that a few users (not me) are experiencing according to crashlytics.
#0. Crashed: com.apple.main-thread
0 AppKit 0x7fff42f66454 -[NSApplication _crashOnException:] + 109
1 AppKit 0x7fff42f6633c -[NSApplication reportException:] + 953
2 AppKit 0x7fff42c30946 -[NSApplication run] + 957
3 AppKit 0x7fff42bffa72 NSApplicationMain + 804
4 libdyld.dylib 0x7fff6d4dd015 start + 1
--
#0. Crashed: com.apple.main-thread
0 AppKit 0x7fff42f66454 -[NSApplication _crashOnException:] + 109
1 AppKit 0x7fff42f6633c -[NSApplication reportException:] + 953
2 AppKit 0x7fff42c30946 -[NSApplication run] + 957
3 AppKit 0x7fff42bffa72 NSApplicationMain + 804
4 libdyld.dylib 0x7fff6d4dd015 start + 1
#1. Thread
0 libsystem_kernel.dylib 0x7fff6d62e28a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x7fff6d7f520e _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x7fff6d7f4be9 start_wqthread + 13
#2. Thread
0 libsystem_kernel.dylib 0x7fff6d62e28a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x7fff6d7f5009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x7fff6d7f4be9 start_wqthread + 13
3 (Missing) 0x5000000000000 (Missing)
#3. io.answers.EventQueue (QOS: BACKGROUND)
0 libsystem_kernel.dylib 0x7fff6d62e4fa close + 10
1 App 0x105128b3b -[ANSWriteEventOperation main] + 4324100923
2 Foundation 0x7fff477b68ee -[__NSOperationInternal _start:] + 778
3 Foundation 0x7fff477b2917 __NSOQSchedule_f + 369
4 libdispatch.dylib 0x7fff6d4a3db8 _dispatch_client_callout + 8
5 libdispatch.dylib 0x7fff6d4b6e81 _dispatch_continuation_pop + 472
6 libdispatch.dylib 0x7fff6d4ae733 _dispatch_async_redirect_invoke + 703
7 libdispatch.dylib 0x7fff6d4a59a9 _dispatch_root_queue_drain + 515
8 libdispatch.dylib 0x7fff6d4a5755 _dispatch_worker_thread3 + 101
9 libsystem_pthread.dylib 0x7fff6d7f5169 _pthread_wqthread + 1387
10 libsystem_pthread.dylib 0x7fff6d7f4be9 start_wqthread + 13
#4. Thread
0 libsystem_kernel.dylib 0x7fff6d62e28a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x7fff6d7f5009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x7fff6d7f4be9 start_wqthread + 13
3 (Missing) 0x1b307 (Missing)
#5. com.twitter.crashlytics.mac.MachExceptionServer
0 App 0x105119c93 CLSProcessRecordAllThreads + 4324039827
1 App 0x10511a08e CLSProcessRecordAllThreads + 4324040846
2 App 0x1051096a4 CLSHandler + 4323972772
3 App 0x105104c05 CLSMachExceptionServer + 4323953669
4 libsystem_pthread.dylib 0x7fff6d7f5661 _pthread_body + 340
5 libsystem_pthread.dylib 0x7fff6d7f550d _pthread_start + 375
6 libsystem_pthread.dylib 0x7fff6d7f4bf9 thread_start + 13
#6. Thread
0 libsystem_kernel.dylib 0x7fff6d62da16 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7fff6d7f6589 _pthread_cond_wait + 732
2 libc++.1.dylib 0x7fff6b431d43 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93
3 JavaScriptCore 0x7fff49316ab5 std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 117
4 JavaScriptCore 0x7fff493169a0 std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<bmalloc::Mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<bmalloc::Mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 96
5 JavaScriptCore 0x7fff493165c9 bmalloc::Scavenger::threadRunLoop() + 361
6 JavaScriptCore 0x7fff49316359 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
7 JavaScriptCore 0x7fff49316698 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 40
8 libsystem_pthread.dylib 0x7fff6d7f5661 _pthread_body + 340
9 libsystem_pthread.dylib 0x7fff6d7f550d _pthread_start + 375
10 libsystem_pthread.dylib 0x7fff6d7f4bf9 thread_start + 13
#7. com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x7fff6d62420a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x7fff6d623724 mach_msg + 60
2 CoreFoundation 0x7fff456a1785 __CFRunLoopServiceMachPort + 341
3 CoreFoundation 0x7fff456a0ad7 __CFRunLoopRun + 1783
4 CoreFoundation 0x7fff456a0153 CFRunLoopRunSpecific + 483
5 CFNetwork 0x7fff447eae84 -[__CoreSchedulingSetRunnable runForever] + 722
6 Foundation 0x7fff477ab1f8 __NSThread__start__ + 1197
7 libsystem_pthread.dylib 0x7fff6d7f5661 _pthread_body + 340
8 libsystem_pthread.dylib 0x7fff6d7f550d _pthread_start + 375
9 libsystem_pthread.dylib 0x7fff6d7f4bf9 thread_start + 13
#8. com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7fff6d62420a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x7fff6d623724 mach_msg + 60
2 CoreFoundation 0x7fff456a1785 __CFRunLoopServiceMachPort + 341
3 CoreFoundation 0x7fff456a0ad7 __CFRunLoopRun + 1783
4 CoreFoundation 0x7fff456a0153 CFRunLoopRunSpecific + 483
5 AppKit 0x7fff42d78fc4 _NSEventThread + 184
6 libsystem_pthread.dylib 0x7fff6d7f5661 _pthread_body + 340
7 libsystem_pthread.dylib 0x7fff6d7f550d _pthread_start + 375
8 libsystem_pthread.dylib 0x7fff6d7f4bf9 thread_start + 13
I've tried using the MacSymbolicator app, but I haven't had any success. It says UDIDs don't match even though I used the dsym for the archive build. ItunesConnect hasn't reported the crash at all. Not sure why crashlytics reported it, but not itunesconnect. Don't know what else I can do.
Exceptions on macOS are a real pain, because by default AppKit swallows the important information - the exception backtrace. I've opened a number of bugs with Apple about this, and I encourage you to do the same. UIKit is much, much better behaved.
Based on the stacktraces you've included, it looks like you have correctly configured Crashlytics for exception capture on macOS. But, just in case, their documentation is available here.
Despite that, it looks like you do not have the exception stack trace. It will not be possible to get useful information out of this report without it. After verifying that you've got things setup right, I might reach out to the Crashlytics support people to see if there's something else going wrong.
Related
I am facing this strange issue from few hours and it started suddenly. Whenever I try to select different tab in color panel in Xcode,the whole Xcode crashes with the error,
UNCAUGHT EXCEPTION (NSRangeException): Cannot remove an observer <NSColorPickerPageableNameListScrollView 0x7fb8f6ce0910> for the key path "contentLayoutRect" from <HighlightColorPanel 0x7fb8f6c94af0> because it is not registered as an observer.
Following is the full stack trace for error,
Process: Xcode [1958]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3.2 (7718)
Build Info: IDEFrameworks-7718000000000000~2
App Item ID: 497799835
App External ID: 812404257
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [1958]
User ID: 501
Date/Time: 2015-06-20 13:50:18.080 +0530
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: 1A8B5EF9-7E79-106C-D0F5-5648FF5FD699
Time Awake Since Boot: 6500 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6D2105
UNCAUGHT EXCEPTION (NSRangeException): Cannot remove an observer <NSColorPickerPageableNameListScrollView 0x7fb8f6ce0910> for the key path "contentLayoutRect" from <HighlightColorPanel 0x7fb8f6c94af0> because it is not registered as an observer.
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff8a22e024 __exceptionPreprocess (in CoreFoundation)
1 0x0000000104b5abb4 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff8839f76e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff8a22deed +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff89de0896 -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] (in Foundation)
5 0x00007fff89de05d9 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] (in Foundation)
6 0x00007fff89de04a4 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:context:] (in Foundation)
7 0x00007fff8ae8f09b -[NSScrollView _setWindow:] (in AppKit)
8 0x00007fff8a14d705 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
9 0x00007fff8a14ce09 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
10 0x00007fff8b535474 __21-[NSView _setWindow:]_block_invoke735 (in AppKit)
11 0x00007fff89e013be -[NSISEngine withBehaviors:performModifications:] (in Foundation)
12 0x00007fff8adb1c54 -[NSView _setWindow:] (in AppKit)
13 0x00007fff8ade9091 -[NSView removeFromSuperview] (in AppKit)
14 0x00007fff8b280034 -[NSColorPanel _switchToPicker:] (in AppKit)
15 0x00007fff8b0ee1b1 -[NSToolbarButton sendAction:to:] (in AppKit)
16 0x00007fff8afdef5a -[NSToolbarItemViewer mouseDown:] (in AppKit)
17 0x00007fff8b54f2fc -[NSWindow _reallySendEvent:isDelayedEvent:] (in AppKit)
18 0x00007fff8aeded76 -[NSWindow sendEvent:] (in AppKit)
19 0x00007fff8aedb312 -[NSApplication sendEvent:] (in AppKit)
20 0x0000000105bd8c14 -[IDEApplication sendEvent:] (in IDEKit)
21 0x00007fff8ae04c68 -[NSApplication run] (in AppKit)
22 0x00007fff8ad81354 NSApplicationMain (in AppKit)
23 0x00007fff952435c9 start (in libdyld.dylib)
24 0x0000000000000001
abort() called
Application Specific Signatures:
NSRangeException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8a22e03c __exceptionPreprocess + 172
1 DVTFoundation 0x0000000104b5abb4 DVTFailureHintExceptionPreprocessor + 194
2 libobjc.A.dylib 0x00007fff8839f76e objc_exception_throw + 43
3 CoreFoundation 0x00007fff8a22deed +[NSException raise:format:] + 205
4 Foundation 0x00007fff89de0896 -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 604
5 Foundation 0x00007fff89de05d9 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 114
6 Foundation 0x00007fff89de04a4 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:context:] + 253
7 AppKit 0x00007fff8ae8f09b -[NSScrollView _setWindow:] + 342
8 CoreFoundation 0x00007fff8a14d705 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
9 CoreFoundation 0x00007fff8a14ce09 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
10 AppKit 0x00007fff8b535474 __21-[NSView _setWindow:]_block_invoke735 + 169
11 Foundation 0x00007fff89e013be -[NSISEngine withBehaviors:performModifications:] + 155
12 AppKit 0x00007fff8adb1c54 -[NSView _setWindow:] + 3191
13 AppKit 0x00007fff8ade9091 -[NSView removeFromSuperview] + 453
14 AppKit 0x00007fff8b280034 -[NSColorPanel _switchToPicker:] + 231
15 AppKit 0x00007fff8b0ee1b1 -[NSToolbarButton sendAction:to:] + 75
16 AppKit 0x00007fff8afdef5a -[NSToolbarItemViewer mouseDown:] + 4981
17 AppKit 0x00007fff8b54f2fc -[NSWindow _reallySendEvent:isDelayedEvent:] + 14125
18 AppKit 0x00007fff8aeded76 -[NSWindow sendEvent:] + 470
19 AppKit 0x00007fff8aedb312 -[NSApplication sendEvent:] + 2504
20 IDEKit 0x0000000105bd8c14 -[IDEApplication sendEvent:] + 924
21 AppKit 0x00007fff8ae04c68 -[NSApplication run] + 711
22 AppKit 0x00007fff8ad81354 NSApplicationMain + 1832
23 libdyld.dylib 0x00007fff952435c9 start + 1
24 ??? 0x0000000000000001 0x0 + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8f7c7286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff85fb6b53 abort + 129
2 com.apple.dt.IDEKit 0x0000000105e09753 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1507
3 com.apple.dt.IDEKit 0x0000000105e0a9c8 -[IDEAssertionHandler handleUncaughtException:] + 1077
4 com.apple.dt.IDEKit 0x0000000105e0aa94 IDEHandleUncaughtException + 94
5 com.apple.AppKit 0x00007fff8ae04d1c -[NSApplication run] + 891
6 com.apple.AppKit 0x00007fff8ad81354 NSApplicationMain + 1832
7 libdyld.dylib 0x00007fff952435c9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8f7c8232 kevent64 + 10
1 libdispatch.dylib 0x00007fff92c90a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff89e28a59 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
6 com.apple.DTDeviceKitBase 0x000000010f108f3c -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 974
7 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
8 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
10 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8f7c73fa __select + 10
1 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
2 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
3 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 7:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.CFNetwork 0x00007fff8600f220 +[NSURLConnection(Loader) _resourceLoadLoop:] + 434
6 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
7 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff8aed766b _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 9:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff89e28a59 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
6 com.apple.Foundation 0x00007fff89e9e17f -[NSRunLoop(NSRunLoop) run] + 74
7 com.apple.GPUToolsMobileFoundation 0x00000001175d789b -[DYMobileDeviceManager _deviceNotificationThread:] + 134
8 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
9 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
10 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
11 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff8f7c7136 __psynch_cvwait + 10
1 com.apple.Xcode.DevToolsCore 0x000000010eb59866 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 456
2 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
3 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
5 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff8f7c7136 __psynch_cvwait + 10
1 com.apple.Xcode.DevToolsCore 0x000000010eb59866 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 456
2 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
3 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
5 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff8f7c7136 __psynch_cvwait + 10
1 com.apple.Xcode.DevToolsCore 0x000000010eb59866 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 456
2 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
3 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
5 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff8a1f3671 CFRunLoopRun + 97
6 com.apple.DebugSymbols 0x00007fff8ace1b8f SpotlightQueryThread(void*) + 463
7 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff8f7c748a __semwait_signal + 10
1 com.apple.CoreSymbolication 0x00007fff882dbe67 0x7fff882c9000 + 77415
2 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
3 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
4 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff5b27e948 rdx: 0x0000000000000000
rdi: 0x000000000000130f rsi: 0x0000000000000006 rbp: 0x00007fff5b27e970 rsp: 0x00007fff5b27e948
r8: 0x0000000000001fff r9: 0x00007fb8f3c38f60 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff8839a440 r13: 0x00007fb8f3eb68c0 r14: 0x00007fff77741300 r15: 0x00007fb8f3c23f00
rip: 0x00007fff8f7c7286 rfl: 0x0000000000000206 cr2: 0x00000001075f70e0
Logical CPU: 0
Error Code: 0x020000b8
Trap Number: 133
Thank you very much in advance.
In my case exactly the same issue was caused by ColorSenseRainbow plugin I installed via Alcatraz. As soon as I removed it, everything went back to normal.
This seems like an issue on Apple's part. Let me digest that log for you:
UNCAUGHT EXCEPTION: Cannot remove an observer <NSColorPickerPageableNameListScrollView 0x7fb8f6ce0910> for the key path "contentLayoutRect" from <HighlightColorPanel 0x7fb8f6c94af0> because it is not registered as an observer.
So, in the code for Xcode, what it's trying to do is remove the observer that is of type NSColorPickerPagableNameListScrollView (the up/down list that selects a dev's color preferences in IB) at memory address 0x7b7f6ce0910 from the HighlightColorPanel (possibly the dialog that's a color picker) at memory address 0x7fb8f6c94af0 before the scroll view registered as an observer of the color picker for the key path contentLayoutRect.
In layman's terms, the scrolling color view is an observer of the color picker, which makes seeing your color preferences easier. When the color picker selects a color, it sends a notification to its observer, the scrolling color box.
However, when the box is closed, the scroll view should remove itself from the observer tree, that is, the listing of items that are observers of the box, in an effort to get rid of (and deallocate resources for) the box.
The bug exists in just that part of the code, since, apparently, the scroll view never registered as an observer for the key path contentLayoutRect. It was an observer for everything else but that. Since it couldn't tell what the observer was when it tried to get rid of it, the system derped and crashed.
New Information: I have replicated the crash while the phone is connected to my computer with an exception breakpoint enabled, and the application is paused at the moment. If anyone wants to help me with what I should do to get the relevant information before I stop the app, that would be great. It stopped me on a line that was creating a sound which I haven't had a problem with for weeks, so that's confusing.
I recently implemented NSUserDefaults in my game, and it's been causing crashes. The problem is, it never crashes when it'c connected to my computer so I can't actualluy catch the crash - I'm only assuming it has to do with NSUserDefaults.
As of right now I've only stored Ints in my NSUserDefaults. I have realized this morning that I haven't been using the synchronize call, could this be causing the crashes?
Also, how do you check for a key that doesn't exist?
The crash occurs when I tap to switch from the game menu into actually playing the game. One of the first lines of code in the game scene's initWithSize is a call to check and NSLog some default values.
New information: After looking at the crash logs it appears that this crash has two parts. First, a KERN_PROTECTION_FAILURE which crashes the app when I'm using it, and actually another "crash" is being reported a few minutes later, at times which I am sure I am not using the app.
EDIT: CRASH LOG 1:
Hardware Model: iPhone6,1
Process: Pixel Pilot [28505]
Path: /var/mobile/Applications/0DD06667-D5BA-4FAA-A5B1-2747054A79A0/Pixel Pilot.app/Pixel Pilot
Identifier: com.pixelstewdio.Pixel-Pilot
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-12 07:34:03.272 -0500
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000018516aefa
Triggered by Thread: 0
Thread 0 Crashed:
0 SpriteKit 0x00000001873ac364 SKCSprite::removeSubsprite(SKCSprite*) + 152
1 SpriteKit 0x00000001873a0d04 -[SKShapeNode dealloc] + 52
2 libobjc.A.dylib 0x0000000190a1d470 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 520
3 CoreFoundation 0x00000001843f9b34 _CFAutoreleasePoolPop + 24
4 UIKit 0x00000001874b6540 _wrapRunLoopWithAutoreleasePoolHandler + 72
5 CoreFoundation 0x00000001844bb854 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
6 CoreFoundation 0x00000001844b8adc __CFRunLoopDoObservers + 368
7 CoreFoundation 0x00000001844b8e68 __CFRunLoopRun + 760
8 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
9 GraphicsServices 0x000000018a0e1c08 GSEventRunModal + 164
10 UIKit 0x000000018752afc0 UIApplicationMain + 1152
11 Pixel Pilot 0x000000010009034c main (main.m:16)
12 libdyld.dylib 0x0000000190ff7a9c start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001910d9aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000190fdd998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x000000018444f454 CFRunLoopRun + 108
5 CoreMotion 0x0000000184bb2538 ___lldb_unnamed_function1441$$CoreMotion + 632
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 7:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 AudioToolbox 0x0000000183d37040 AURemoteIO::IOThread::Run() + 108
2 AudioToolbox 0x0000000183d3a234 AURemoteIO::IOThread::Entry(void*) + 8
3 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
4 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
5 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 8:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 AudioToolbox 0x0000000183c79abc GenericRunLoopThread::Entry(void*) + 156
5 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x000000012cd11870 x1: 0x000000012cd116d0 x2: 0x0000000000000008 x3: 0x000000019112bcdc
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x000000018516aee6 x9: 0x00000001915e4ec8 x10: 0x0000000000000067 x11: 0x00000000002c2a00
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x00000000c1fb8c17 x15: 0x0000000016ed1586
x16: 0x000000019116d42c x17: 0x00000001873a0cd0 x18: 0x0000000000000000 x19: 0x000000012cd11500
x20: 0x000000012cd11870 x21: 0x0000000193ec4380 x22: 0x0000000193ec4380 x23: 0x00000000a1a1a1a1
x24: 0x0000000193eb0098 x25: 0x000000010012c048 x26: 0xa3a3a3a3a3a3a3a3 x27: 0x000000016fda6cd0
x28: 0x0000000000000001 fp: 0x000000016fda6780 lr: 0x00000001873ac344
sp: 0x000000016fda6760 pc: 0x00000001873ac364 cpsr: 0x60000000
CRASH LOG 2:
Hardware Model: iPhone6,1
Process: Pixel Pilot [28606]
Path: /var/mobile/Applications/0DD06667-D5BA-4FAA-A5B1-2747054A79A0/Pixel Pilot.app/Pixel Pilot
Identifier: com.pixelstewdio.Pixel-Pilot
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-12 07:43:50.305 -0500
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000001
Triggered by Thread: 0
Thread 0 Crashed:
0 libGPUSupportMercury.dylib 0x0000000189cb46f8 gpus_ReturnNotPermittedKillClient + 12
1 AGXGLDriver 0x00000001830d3248 SubmitPackets + 196
2 GLEngine 0x0000000186e3fa78 gliPresentViewES_Exec + 236
3 GLEngine 0x0000000186e3f908 gliPresentViewES + 192
4 OpenGLES 0x0000000186e4cc98 -[EAGLContext presentRenderbuffer:] + 76
5 SpriteKit 0x0000000187389fb8 -[SKView _renderContent] + 1080
6 libdispatch.dylib 0x0000000190fdbfd0 _dispatch_client_callout + 12
7 libdispatch.dylib 0x0000000190fe1c80 _dispatch_barrier_sync_f_invoke + 44
8 SpriteKit 0x0000000187389b40 -[SKView renderContent] + 96
9 SpriteKit 0x0000000187387790 __29-[SKView setUpRenderCallback]_block_invoke + 72
10 SpriteKit 0x00000001873a6a8c -[SKDisplayLink _callbackForNextFrame:] + 284
11 QuartzCore 0x0000000187100cb8 CA::Display::DisplayLinkItem::dispatch() + 32
12 QuartzCore 0x0000000187100ac4 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 296
13 IOKit 0x00000001853fbe70 IODispatchCalloutFromCFMessage + 360
14 CoreFoundation 0x00000001844aca8c __CFMachPortPerform + 188
15 CoreFoundation 0x00000001844bb03c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
16 CoreFoundation 0x00000001844baf9c __CFRunLoopDoSource1 + 440
17 CoreFoundation 0x00000001844b91c0 __CFRunLoopRun + 1616
18 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
19 GraphicsServices 0x000000018a0e1c08 GSEventRunModal + 164
20 UIKit 0x000000018752afc0 UIApplicationMain + 1152
21 Pixel Pilot 0x000000010011834c main (main.m:16)
22 libdyld.dylib 0x0000000190ff7a9c start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001910d9aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000190fdd998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x000000018444f454 CFRunLoopRun + 108
5 CoreMotion 0x0000000184bb2538 ___lldb_unnamed_function1441$$CoreMotion + 632
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 5:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 AudioToolbox 0x0000000183d37040 AURemoteIO::IOThread::Run() + 108
2 AudioToolbox 0x0000000183d3a234 AURemoteIO::IOThread::Entry(void*) + 8
3 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
4 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
5 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 AudioToolbox 0x0000000183c79abc GenericRunLoopThread::Entry(void*) + 156
5 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x00000000e00002e2 x2: 0x000000012cd58950 x3: 0x0000000000000030
x4: 0x0000000000000333 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000001 x9: 0x00000000deadbeef x10: 0x0000000000003fff x11: 0x000000012cd5c000
x12: 0x000000012cd58000 x13: 0x00000000a190c48e x14: 0x000000008beb8f17 x15: 0x00000000e6b617dd
x16: 0x000000019116c3fc x17: 0x0015a535773a04d9 x18: 0x0000000000000000 x19: 0x000000012f000000
x20: 0x00000000e00002e2 x21: 0x000000012f00085c x22: 0x000000010310e043 x23: 0x0000000000000001
x24: 0x000000000000a050 x25: 0x0000000000000000 x26: 0x0000000000000668 x27: 0x000000000000a6a0
x28: 0x0000000193eb0098 fp: 0x000000016fd1d890 lr: 0x0000000189cb56ac
sp: 0x000000016fd1d840 pc: 0x0000000189cb46f8 cpsr: 0x60000000
to check if NSUserDefault object is null do this:
NSUserDefaults *example = [NSUserDefaults standardUserDefaults];
NSObject * object = [example objectForKey:#"test"];
if(object == nil)
{
//object is nil
}
else
{
//object isn't nil
}
then you need to call the when you do something inside NSUserDefault
[example synchronize];
I have submitted a new version of my app for review and it was rejected because the app crashed. I got a screenshot showing the button that was clicked before the crash and the crashlog. However I was not able to reproducte the problem and have no idea what the source could be.
The button triggers a disconnection from iCloud which actually just releases some resources. Nothing that should make any trouble. I tried to interpret the crashlog but had no success. I studied several resources from the web but was not able to find any clue what might be the source of the problem.
I managed to symbolicate the crashlog. However this does not change a lot since only the two first entries in the crashed thread belong to my own code. The Exception Codes are not helpfull to me either.
Can anyone see more details from the log or give me a hint were to start with my search? Thank you very much!
Process: MyApp [69811]
Path: /Applications/MyApp.app/Contents/MacOS/MyApp
Identifier: com.example.MyApp
Version: 1.2 (1.2)
App Item ID: 0
App External ID: 0
Code Type: X86-64 (Native)
Parent Process: launchd [184]
Responsible: MyApp [69811]
User ID: 201
Date/Time: 2014-01-29 13:20:22.910 -0800
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: FE66701D-3E78-131A-A6CA-844122FA6616
Sleep/Wake UUID: DF88CF2B-42D1-40BD-BAC7-4C433EC11A34
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9266ea52 __semwait_signal_nocancel + 10
1 libsystem_c.dylib 0x00007fff8ca39a7c nanosleep$NOCANCEL + 189
2 libsystem_c.dylib 0x00007fff8ca635fe usleep$NOCANCEL + 54
3 libsystem_c.dylib 0x00007fff8ca8fbc4 abort + 135
4 coop.plausible.CrashReporter 0x000000010343030e uncaught_exception_handler + 27
5 com.apple.CoreFoundation 0x00007fff8bc0f8c2 __handleUncaughtException + 706
6 libobjc.A.dylib 0x00007fff8a805304 _objc_terminate() + 94
7 libc++abi.dylib 0x00007fff8e6623e1 std::__terminate(void (*)()) + 8
8 libc++abi.dylib 0x00007fff8e662456 std::terminate() + 54
9 libobjc.A.dylib 0x00007fff8a8050b0 objc_terminate + 9
10 libdispatch.dylib 0x00007fff91e912c1 _dispatch_client_callout + 28
11 libdispatch.dylib 0x00007fff91e98f03 _dispatch_main_queue_callback_4CF + 333
12 com.apple.CoreFoundation 0x00007fff8bb76839 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
13 com.apple.CoreFoundation 0x00007fff8bb31b14 __CFRunLoopRun + 1636
14 com.apple.CoreFoundation 0x00007fff8bb31275 CFRunLoopRunSpecific + 309
15 com.apple.HIToolbox 0x00007fff93622f0d RunCurrentEventLoopInMode + 226
16 com.apple.HIToolbox 0x00007fff93622cb7 ReceiveNextEventCommon + 479
17 com.apple.HIToolbox 0x00007fff93622abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
18 com.apple.AppKit 0x00007fff875e928e _DPSNextEvent + 1434
19 com.apple.AppKit 0x00007fff875e88db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
20 com.apple.AppKit 0x00007fff875dc9cc -[NSApplication run] + 553
21 com.apple.AppKit 0x00007fff875c7803 NSApplicationMain + 940
22 com.example.MyApp 0x0000000102f92242 main (receipt.h:4115)
23 com.example.MyApp 0x0000000102f8adb4 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff9266f662 kevent64 + 10
1 libdispatch.dylib 0x00007fff91e9343d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff91e93152 _dispatch_mgr_thread + 52
Thread 2:: Dispatch queue: com.apple.coredata.ubiquity.entry.pq
0 libsystem_kernel.dylib 0x00007fff9266aa56 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff91e95a15 _dispatch_semaphore_wait_slow + 206
2 com.apple.CoreServicesInternal 0x00007fff931587a0 Dispatch_to_LBGetAttributeValueForItem(__CFURL const*, __CFString const*, void const**, __CFError**) + 450
3 com.apple.CoreServicesInternal 0x00007fff931588e8 ExternalProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) + 97
4 com.apple.CoreServicesInternal 0x00007fff9314517f prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) + 227
5 com.apple.CoreServicesInternal 0x00007fff93142e6b _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) + 213
6 com.apple.CoreServicesInternal 0x00007fff93142d91 _FSURLCopyResourcePropertyForKey + 15
7 com.apple.CoreFoundation 0x00007fff8bb1d6bb CFURLCopyResourcePropertyForKey + 123
8 com.apple.CoreFoundation 0x00007fff8bb247e8 -[NSURL getResourceValue:forKey:error:] + 72
9 com.apple.CoreData 0x00007fff8e8a5cab -[PFUbiquityLocationStatus getBoolResourceFromURL:forKey:] + 59
10 com.apple.CoreData 0x00007fff8e8a5989 -[PFUbiquityLocationStatus checkFileURLState] + 217
11 com.apple.CoreData 0x00007fff8e96141d -[PFUbiquityFilePresenter processPendingURLs] + 1453
12 libdispatch.dylib 0x00007fff91e941d7 _dispatch_call_block_and_release + 12
13 libdispatch.dylib 0x00007fff91e912ad _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff91e9368f _dispatch_queue_drain + 451
15 libdispatch.dylib 0x00007fff91e949dd _dispatch_queue_invoke + 110
16 libdispatch.dylib 0x00007fff91e92fa3 _dispatch_root_queue_drain + 75
17 libdispatch.dylib 0x00007fff91e94193 _dispatch_worker_thread2 + 40
18 libsystem_pthread.dylib 0x00007fff8d170ef8 _pthread_wqthread + 314
19 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 4:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff9266dfe2 __fcntl + 10
1 libsystem_kernel.dylib 0x00007fff9266ca4d fcntl + 240
2 libsqlite3.dylib 0x00007fff88c3885d unixSync + 45
3 libsqlite3.dylib 0x00007fff88c4c4f6 sqlite3WalCheckpoint + 1990
4 libsqlite3.dylib 0x00007fff88c3e926 sqlite3WalClose + 134
5 libsqlite3.dylib 0x00007fff88c3e701 sqlite3PagerClose + 49
6 libsqlite3.dylib 0x00007fff88c3e19c sqlite3BtreeClose + 316
7 libsqlite3.dylib 0x00007fff88c4a673 sqlite3_close + 771
8 com.apple.CoreData 0x00007fff8e868de4 -[NSSQLiteConnection disconnect] + 164
9 com.apple.CoreData 0x00007fff8e868cb2 -[NSSQLCore _disconnect] + 34
10 com.apple.CoreData 0x00007fff8e868a54 -[NSSQLCore willRemoveFromPersistentStoreCoordinator:] + 132
11 com.apple.CoreData 0x00007fff8e887d21 -[NSPersistentStoreCoordinator dealloc] + 1041
12 com.apple.CoreData 0x00007fff8e9cfb3e -[PFUbiquityMetadataFactoryEntry dealloc] + 158
13 com.apple.CoreFoundation 0x00007fff8bada86f CFRelease + 591
14 com.apple.CoreData 0x00007fff8e9c9634 -[PFUbiquityMetadataFactory removeCachedCoordinatorsForLocalPeerID:storeName:andUbiquityRootLocation:] + 164
15 com.apple.CoreData 0x00007fff8e96c921 __56-[PFUbiquitySwitchboardEntry unregisterPersistentStore:]_block_invoke + 129
16 libdispatch.dylib 0x00007fff91e941d7 _dispatch_call_block_and_release + 12
17 libdispatch.dylib 0x00007fff91e912ad _dispatch_client_callout + 8
18 libdispatch.dylib 0x00007fff91e9309e _dispatch_root_queue_drain + 326
19 libdispatch.dylib 0x00007fff91e94193 _dispatch_worker_thread2 + 40
20 libsystem_pthread.dylib 0x00007fff8d170ef8 _pthread_wqthread + 314
21 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff9266aa1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92669d18 mach_msg + 64
2 libclh.dylib 0x00007fff8ffb4dd9 0x7fff8f9a5000 + 6356441
3 libclh.dylib 0x00007fff8fa6ad62 0x7fff8f9a5000 + 810338
4 libclh.dylib 0x00007fff8ffb5c29 0x7fff8f9a5000 + 6360105
5 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff9266aa1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92669d18 mach_msg + 64
2 libclh.dylib 0x00007fff8ffb4dd9 0x7fff8f9a5000 + 6356441
3 libclh.dylib 0x00007fff8fa6ad62 0x7fff8f9a5000 + 810338
4 libclh.dylib 0x00007fff8ffb5c29 0x7fff8f9a5000 + 6360105
5 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff9266aa1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92669d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff8bb32315 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff8bb31939 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff8bb31275 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff877891ce _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff9266ea3a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff8caaee60 nanosleep + 200
2 libsystem_c.dylib 0x00007fff8caaed52 usleep + 54
3 com.example.MyApp 0x0000000103094935 0x102f89000 + 1095989
4 com.apple.Foundation 0x00007fff8ac0f70b __NSThread__main__ + 1318
5 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000000000000003c rbx: 0x0000000000000000 rcx: 0x00007fff5cc73cc8 rdx: 0x0000000000000001
rdi: 0x0000000000000b03 rsi: 0x0000000000000000 rbp: 0x00007fff5cc73d00 rsp: 0x00007fff5cc73cc8
r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x0000000000000001 r11: 0x0000000000000246
r12: 0x00007fff77a019d0 r13: 0x0000610000249c60 r14: 0x0000000000000000 r15: 0x00007fff5cc73d10
rip: 0x00007fff9266ea52 rfl: 0x0000000000000247 cr2: 0x000000010b7ea000
Logical CPU: 0
Error Code: 0x02000170
Trap Number: 133
Binary Images:
0x102f89000 - 0x10323bfc7 +com.example.MyApp (1.2 - 1.2) <B83E276E-EE1B-34FC-A2F3-2A2B83B5C9FB> /Applications/MyApp.app/Contents/MacOS/MyApp
0x1032cb000 - 0x1032dbfff com.apple.StoreKit (1.0 - 232.2) <4A239D2B-4D42-399B-B4F5-EA24297F0E0A> /System/Library/Frameworks/StoreKit.framework/Versions/A/StoreKit
0x1032f0000 - 0x103311fff +com.dropbox.DropboxOSX (1.0 - 1) <E049D51A-3D0F-39BF-A6B9-5AE5C2012C4B> /Applications/MyApp.app/Contents/Frameworks/DropboxOSX.framework/Versions/A/DropboxOSX
0x103330000 - 0x10333dfff +net.hockeyapp.sdk.mac (1.0.3 - 13) <EDD42403-6A15-37BD-B07A-0C6A29955477> /Applications/MyApp.app/Contents/Frameworks/HockeySDK.framework/Versions/A/HockeySDK
0x103351000 - 0x1033d3fff +org.coreplot.CorePlot (1.0) <DD903A7E-06AB-39BD-82E2-BB0FD05039F1> /Applications/MyApp.app/Contents/Frameworks/CorePlot.framework/Versions/A/CorePlot
0x10342c000 - 0x103444fff +coop.plausible.CrashReporter (1.2-beta2) <F09BAC64-DB6C-3692-9089-0A631F40D8B6> /Applications/MyApp.app/Contents/Frameworks/HockeySDK.framework/Versions/A/Frameworks/CrashReporter.framework/Versions/A/CrashReporter
0x1098b3000 - 0x1098b3fff +cl_kernels (???) <EEF0C5B5-FBEF-4C91-A93B-63B238713561> cl_kernels
0x109900000 - 0x109901fe4 +cl_kernels (???) <038F9490-12F9-40EF-9EC7-A399B73361D4> cl_kernels
0x10990f000 - 0x109910ff9 +cl_kernels (???) <18DB399D-475A-40A3-871B-1C1F473D917F> cl_kernels
0x109912000 - 0x1099f8fef unorm8_bgra.dylib (2.3.58) <9FF943D1-4EF7-36CA-852D-B61C2E554713> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/unorm8_bgra.dylib
0x10b468000 - 0x10b468ffd +cl_kernels (???) <AEC6D084-A290-485C-BD7C-8E4F139A79E2> cl_kernels
0x10b6ec000 - 0x10b6effff libspindump.dylib (161) <588EDDE0-B20A-3649-92B7-C2226EB237E8> /usr/lib/libspindump.dylib
0x123440000000 - 0x12344087bff7 com.apple.GeForceGLDriver (8.18.22 - 8.1.8) <CFA88606-8A16-3251-A1AA-4BC5F5D74E1C> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver
0x7fff608d3000 - 0x7fff60906817 dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
0x7fff86ffb000 - 0x7fff87005fff libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
0x7fff87006000 - 0x7fff872dafc7 com.apple.vImage (7.0 - 7.0) <D241DBFA-AC49-31E2-893D-EAAC31890C90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff872db000 - 0x7fff87322fff libFontRegistry.dylib (127) <A77A0480-
...Stripped due to the post size limit...
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 296574
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=217.9M resident=113.2M(52%) swapped_out_or_unallocated=104.6M(48%)
Writable regions: Total=194.4M written=23.0M(12%) resident=57.7M(30%) swapped_out=0K(0%) unallocated=136.7M(70%)
REGION TYPE VIRTUAL
=========== =======
CG backing stores 7840K
CG image 184K
CG raster data 292K
CG shared images 204K
CoreAnimation 4756K
CoreData 4K
CoreData Object IDs 4100K
CoreGraphics 4K
CoreImage 8K
Foundation 4K
IOKit 26.6M
IOKit (reserved) 4K reserved VM address space (unallocated)
Image IO 16K
Kernel Alloc Once 8K
MALLOC 118.7M
MALLOC (admin) 32K
Memory Tag 242 12K
Memory Tag 251 24K
OpenCL 40K
SQLite page cache 1024K
STACK GUARD 56.0M
Stack 13.1M
VM_ALLOCATE 21.5M
__DATA 44.7M
__IMAGE 528K
__LINKEDIT 66.5M
__TEXT 151.4M
__UNICODE 544K
mapped file 54.3M
shared memory 68K
=========== =======
TOTAL 572.1M
TOTAL, minus reserved VM space 572.1M
There is a consistently reproducible crash when toggling 'mirror display' on while a Swing application is running on a dual monitor machine, then immediately overing over something that has a tooltip.
I only see this on OS X 10.8. I could not reproduce it on 10.7.
Compile and run the sample code against Java 7 on a Mac with OS X 10.8 (with dual monitor) in a 'display mirroring' off state.
Hover over the JLabel to see a tooltip
Toggle display mirroring on.
Hover over the JLabel again and you should get a crash.
public class TestToolTip {
public static void main(String[] args) {
JFrame frame = new JFrame();
JLabel label = new JLabel("hover");
label.setToolTipText("tooltip text");
frame.add(label);
frame.setVisible(true);
frame.pack();
}
}
I've also seen this when closing a laptop on a running application instead of the 'mirror on' step.
PlugIn Path: /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/jre/lib/lwawt/liblwawt.dylib
PlugIn Identifier: liblwawt.dylib
PlugIn Version: ??? (1)
Date/Time: 2013-07-04 12:09:43.467 -0400
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10
Interval Since Last Report: 6164497 sec
Crashes Since Last Report: 67
Per-App Interval Since Last Report: 23880 sec
Per-App Crashes Since Last Report: 2
Crashed Thread: 0 AppKit Thread Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
*** CFRelease() called with NULL ***
Thread 0 Crashed:: AppKit Thread Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff8513e7d8 CFRelease + 40
1 liblwawt.dylib 0x0000000168eae647 __Java_sun_lwawt_macosx_CWrapper_00024NSObject_release_block_invoke_1 + 91
2 JavaNativeFoundation 0x00000001682d55f5 +[JNFRunLoop _performCopiedBlock:] + 20
3 com.apple.Foundation 0x00007fff88d31677 __NSThreadPerformPerform + 225
4 com.apple.CoreFoundation 0x00007fff85148101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
5 com.apple.CoreFoundation 0x00007fff85147a25 __CFRunLoopDoSources0 + 245
6 com.apple.CoreFoundation 0x00007fff8516adc5 __CFRunLoopRun + 789
7 com.apple.CoreFoundation 0x00007fff8516a6b2 CFRunLoopRunSpecific + 290
8 com.apple.HIToolbox 0x00007fff901410a4 RunCurrentEventLoopInMode + 209
9 com.apple.HIToolbox 0x00007fff90140e42 ReceiveNextEventCommon + 356
10 com.apple.HIToolbox 0x00007fff90140cd3 BlockUntilNextEventMatchingListInMode + 62
11 com.apple.AppKit 0x00007fff8dc19613 _DPSNextEvent + 685
12 com.apple.AppKit 0x00007fff8dc18ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
13 libosxapp.dylib 0x0000000168f2fb56 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
14 com.apple.AppKit 0x00007fff8dc10283 -[NSApplication run] + 517
15 libosxapp.dylib 0x0000000168f2f9b9 +[NSApplicationAWT runAWTLoopWithApp:] + 156
16 liblwawt.dylib 0x0000000168e8981a -[AWTStarter starter:] + 1591
17 com.apple.Foundation 0x00007fff88d31677 __NSThreadPerformPerform + 225
18 com.apple.CoreFoundation 0x00007fff85148101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
19 com.apple.CoreFoundation 0x00007fff85147a25 __CFRunLoopDoSources0 + 245
20 com.apple.CoreFoundation 0x00007fff8516adc5 __CFRunLoopRun + 789
21 com.apple.CoreFoundation 0x00007fff8516a6b2 CFRunLoopRunSpecific + 290
22 java 0x0000000102a8842d CreateExecutionEnvironment + 871
23 java 0x0000000102a82bdc JLI_Launch + 1952
24 java 0x0000000102a8878a main + 101
25 java 0x0000000102a82434 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8bf70386 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff884eacbd pthread_join + 847
2 java 0x0000000102a87a2d ContinueInNewThread0 + 102
3 java 0x0000000102a83847 ContinueInNewThread + 201
4 java 0x0000000102a87790 JVMInit + 251
5 java 0x0000000102a835c5 JLI_Launch + 4489
6 java 0x0000000102a8878a main + 101
7 java 0x0000000102a880bf apple_main + 92
8 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
9 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5c547 os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000102f3f7bc ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000102f4018a Monitor::wait(bool, long, bool) + 246
6 libjvm.dylib 0x0000000103023168 Threads::destroy_vm() + 80
7 libjvm.dylib 0x0000000102e4e2ba jni_DestroyJavaVM + 223
8 java 0x0000000102a83b86 JavaMain + 805
9 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 3:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8bf70d16 kevent + 10
1 libdispatch.dylib 0x00007fff84e84dea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff84e849ee _dispatch_mgr_thread + 54
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5c547 os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000102f3f7bc ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000102f4020b Monitor::wait(bool, long, bool) + 375
6 libjvm.dylib 0x0000000102dcd516 GCTaskManager::get_task(unsigned int) + 56
7 libjvm.dylib 0x0000000102dce34e GCTaskThread::run() + 338
8 libjvm.dylib 0x0000000102f601b5 java_start(Thread*) + 173
9 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5c547 os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000102f3f7bc ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000102f4020b Monitor::wait(bool, long, bool) + 375
6 libjvm.dylib 0x0000000102dcd516 GCTaskManager::get_task(unsigned int) + 56
7 libjvm.dylib 0x0000000102dce34e GCTaskThread::run() + 338
8 libjvm.dylib 0x0000000102f601b5 java_start(Thread*) + 173
9 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5d6b3 os::PlatformEvent::park(long long) + 385
3 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
4 libjvm.dylib 0x0000000102f4020b Monitor::wait(bool, long, bool) + 375
5 libjvm.dylib 0x0000000103053f2c VMThread::loop() + 444
Xcode 3.2 crashes when opening/creating a project. Log really explains the rest (OS version etc.)
LOG:
Process: Xcode [7718]
Path: /Xcode3.2/*/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.Xcode
Version: 3.2 (1610)
Build Info: DevToolsIDE-16100000~6
Code Type: X86-64 (Native)
Parent Process: launchd [224]
Date/Time: 2011-11-23 22:00:45.656 +0000
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Interval Since Last Report: 172469 sec
Crashes Since Last Report: 8
Per-App Interval Since Last Report: 19398 sec
Per-App Crashes Since Last Report: 7
Anonymous UUID: 5085CBA9-0FEA-4928-84A9-B5802B0A1903
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
Performing #selector(overwriteSelectedAction:) from sender NSButton 0x401ab2520
objc[7718]: garbage collection is ON
Dyld Error Message:
Symbol not found: _dispatch_queue_attr_create
Referenced from: /Xcode3.2/*/Xcode.app/Contents/MacOS/../../../../Library/PrivateFrameworks//DevToolsCore.framework/Versions/A/DevToolsCore
Expected in: /usr/lib/libSystem.B.dylib
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 dyld 0x00007fff68fd906d dyld_fatal_error + 1
1 dyld 0x00007fff68fdc918 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 128
2 libdyld.dylib 0x00007fff9281d716 dyld_stub_binder_ + 13
3 ??? 0x0000000100550010 0 + 4300537872
4 com.apple.Xcode.DevToolsCore 0x00000001001167a7 -[PBXProjectIndex initWithProject:] + 87
5 com.apple.Xcode.DevToolsCore 0x0000000100116479 -[PBXProject loadIndex] + 137
6 com.apple.Xcode.DevToolsCore 0x0000000100116304 -[PBXProject beginIndexing] + 52
7 com.apple.Xcode.DevToolsCore 0x00000001001162cb -[PBXProject openIndex] + 43
8 com.apple.Xcode.DevToolsInterface 0x0000000100870b7f -[PBXProjectDocument initWithProject:] + 367
9 com.apple.Xcode.DevToolsInterface 0x000000010096db80 +[PBXProjectDocument documentWithProject:] + 48
10 com.apple.Xcode.DevToolsInterface 0x00000001009d2bff -[PBXProjectWizard _finishTemplateInstantiationAfterFileCopying:instantiationResult:] + 351
11 com.apple.Xcode.DevToolsInterface 0x0000000100a765eb -[PBXFileCopyingWizard _finishCopyingTemplate:filesToPreserve:] + 219
12 com.apple.Xcode.DevToolsInterface 0x0000000100a9b780 -[PBXWizardOverwritingFilesModule sheetDidEnd:returnCode:contextInfo:] + 368
13 com.apple.AppKit 0x00007fff91d317d7 -[NSApplication endSheet:returnCode:] + 275
14 com.apple.Xcode.DevToolsInterface 0x0000000100a9b84e -[PBXWizardOverwritingFilesModule overwriteSelectedAction:] + 78
15 com.apple.CoreFoundation 0x00007fff9129fa1d -[NSObject performSelector:withObject:] + 61
16 com.apple.AppKit 0x00007fff91b80710 -[NSApplication sendAction:to:from:] + 139
17 com.apple.AppKit 0x00007fff91b80642 -[NSControl sendAction:to:] + 88
18 com.apple.AppKit 0x00007fff91b8056d -[NSCell _sendActionFrom:] + 137
19 com.apple.AppKit 0x00007fff91b7fa30 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2014
20 com.apple.AppKit 0x00007fff91bff8e0 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 489
21 com.apple.AppKit 0x00007fff91b7e63a -[NSControl mouseDown:] + 786
22 com.apple.AppKit 0x00007fff91b490e0 -[NSWindow sendEvent:] + 6306
23 com.apple.AppKit 0x00007fff91ae168f -[NSApplication sendEvent:] + 5593
24 com.apple.Xcode.DevToolsInterface 0x0000000100869bdd -[PBXExtendedApplication sendEvent:] + 301
25 com.apple.AppKit 0x00007fff91a77682 -[NSApplication run] + 555
26 com.apple.AppKit 0x00007fff91cf680c NSApplicationMain + 867
27 com.apple.Xcode 0x000000010000e97e 0x100000000 + 59774
28 com.apple.Xcode 0x0000000100001844 0x100000000 + 6212
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8bcbf7e6 kevent + 10
1 libdispatch.dylib 0x00007fff8bc205be _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8bc1f14e _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8bcbd67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bcbcd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff9123cb6c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff912452d4 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff91244ae6 CFRunLoopRunSpecific + 230
5 com.apple.DTDeviceKit 0x00000001094da094 -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 229
6 com.apple.Foundation 0x00007fff942fe7fe -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff942fe776 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff8d0798bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff8d07cb75 thread_start + 13
Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8bcbedf2 __select + 10
1 com.apple.CoreFoundation 0x00007fff9128df9b __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff8d0798bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff8d07cb75 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8bcbf192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8d07b594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8d07cb85 start_wqthread + 13
...*snip* - Rest at http://pastebin.com/BLsUxEkz
(Sorry, the log is LONG and putting 4 spaces at the begging of over 450 lines is too much! The rest of the log is at: http://pastebin.com/BLsUxEkz)
Thanks in advance.
EDIT: The only reason I wanted to use Xcode 3 (I usually use 4) is that I want to test my iOS app on iOS 3.x.
Xcode 3 is not officially supported on Mac OS X Lion.
Either upgrade to Xcode 4 (you can still target Mac OS X versions older than 10.7), or stick to Snow Leopard.
Otherwise, if you really want to use Lion and Xcode 3, I think you should install a 10.6 virtual machine, so you can run Xcode 3.
I heard some people said they couldn't run xcode3 on lion,so I think snow leopard well be chosen if you want use xcode3. Best regard.
Upgrading to Xcode 3.2.6 seemed to do the trick.