Xcode 5 crashes when running an app with SDL 2 - xcode

I tried to follow these two tutorials (or the applicable parts of them, due to version differences) to install SDL 2.0.2 to work with Xcode 5.1:
Tutorial 1
Tutorial 2
Running any program with the SDL 2 framework linked causes Xcode to crash with the following problem details:
Process: Xcode [1787]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.1 (5084)
Build Info: IDEFrameworks-5084000000000000~21
App Item ID: 497799835
App External ID: 444172641
Code Type: X86-64 (Native)
Parent Process: launchd [257]
Responsible: Xcode [1787]
User ID: 501
PlugIn Path: /Library/Frameworks/SDL2.framework/Versions/A/SDL2
PlugIn Identifier: org.libsdl.SDL2
PlugIn Version: 2.0.2 (2.0.2)
Date/Time: 2014-03-13 04:24:59.771 +0200
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: EFECF2A0-A489-055E-0904-D3CD9E756EB0
Crashed Thread: 21 <lldb.process.internal-state(pid=1804)>
Exception Type: EXC_BAD_ACCESS (Code Signature Invalid)
Exception Codes: 0x0000000000000032, 0x0000000124718000
VM Regions Near 0x124718000:
Stack 0000000124696000-0000000124718000 [ 520K] rw-/rwx SM=COW thread 22
--> mapped file 0000000124718000-00000001247fd000 [ 916K] r--/rwx SM=COW /Library/Frameworks/SDL2.framework/Versions/A/SDL2
CG shared images 00000001c0003000-00000001c000b000 [ 32K] r--/r-- SM=SHM
Application Specific Information:
ProductBuildVersion: 5B130a
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.HIToolbox 0x00007fff8e776a0d RunCurrentEventLoopInMode + 226
6 com.apple.HIToolbox 0x00007fff8e7767b7 ReceiveNextEventCommon + 479
7 com.apple.HIToolbox 0x00007fff8e7765bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
8 com.apple.AppKit 0x00007fff8145a3de _DPSNextEvent + 1434
9 com.apple.AppKit 0x00007fff81459a2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
10 com.apple.dt.DVTKit 0x00000001067a3e31 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 84
11 com.apple.AppKit 0x00007fff8144db2c -[NSApplication run] + 553
12 com.apple.AppKit 0x00007fff81438913 NSApplicationMain + 940
13 libdyld.dylib 0x00007fff8dda55fd start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8d1b1662 kevent64 + 10
1 libdispatch.dylib 0x00007fff88b8543d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff88b85152 _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 4:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.Foundation 0x00007fff87db8967 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
6 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.DTDeviceKitBase 0x00000001109fb40e -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 162
6 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8d1b09aa __select + 10
1 com.apple.CoreFoundation 0x00007fff87bf3b83 __CFSocketManager + 867
2 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
3 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
4 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 7:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.Foundation 0x00007fff87dbaadc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
6 com.apple.Foundation 0x00007fff87ea34aa -[NSRunLoop(NSRunLoop) run] + 74
7 com.apple.GPUToolsMobileFoundation 0x0000000112ab0e0d -[DYMobileDeviceManager _deviceNotificationThread:] + 134
8 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
9 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
10 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
11 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 8:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.CoreVideo 0x00007fff8d2d1a38 CVDisplayLink::runIOThread() + 656
3 com.apple.CoreVideo 0x00007fff8d2d178f startIOThread(void*) + 147
4 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff815fa16e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff8d1b0e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8ddccf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8ddcffb9 start_wqthread + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000010c476363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000010c476363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000010c476363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff87db876b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 17:: <lldb.comm.debugger.input>
0 libsystem_kernel.dylib 0x00007fff8d1b09aa __select + 10
1 com.apple.LLDB.framework 0x0000000113d965f0 lldb_private::ConnectionFileDescriptor::BytesAvailable(unsigned int, lldb_private::Error*) + 888
2 com.apple.LLDB.framework 0x0000000113d96052 lldb_private::ConnectionFileDescriptor::Read(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 170
3 com.apple.LLDB.framework 0x0000000113d94493 lldb_private::Communication::ReadFromConnection(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 97
4 com.apple.LLDB.framework 0x0000000113d940f1 lldb_private::Communication::ReadThread(void*) + 147
5 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 18:: <lldb.comm.xcode.lldb.comm>
0 libsystem_kernel.dylib 0x00007fff8d1b09aa __select + 10
1 com.apple.LLDB.framework 0x0000000113d965f0 lldb_private::ConnectionFileDescriptor::BytesAvailable(unsigned int, lldb_private::Error*) + 888
2 com.apple.LLDB.framework 0x0000000113d96052 lldb_private::ConnectionFileDescriptor::Read(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 170
3 com.apple.LLDB.framework 0x0000000113d94493 lldb_private::Communication::ReadFromConnection(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 97
4 com.apple.LLDB.framework 0x0000000113d940f1 lldb_private::Communication::ReadThread(void*) + 147
5 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 19:
0 libsystem_kernel.dylib 0x00007fff8d1aca1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d1abd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff87ba8155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff87ba7779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff87ba70b5 CFRunLoopRunSpecific + 309
5 com.apple.CoreFoundation 0x00007fff87c5c811 CFRunLoopRun + 97
6 com.apple.DebugSymbols 0x00007fff834007e3 SpotlightQueryThread(void*) + 355
7 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 20:: <lldb.process.gdb-remote.async>
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.LLDB.framework 0x0000000113e37697 lldb_private::Condition::Wait(lldb_private::Mutex&, lldb_private::TimeValue const*, bool*) + 109
3 com.apple.LLDB.framework 0x0000000113e81752 lldb_private::Predicate<bool>::WaitForValueEqualTo(bool, lldb_private::TimeValue const*, bool*) + 90
4 com.apple.LLDB.framework 0x0000000113dadcb4 lldb_private::Listener::WaitForEventsInternal(lldb_private::TimeValue const*, lldb_private::Broadcaster*, lldb_private::ConstString const*, unsigned int, unsigned int, std::__1::shared_ptr<lldb_private::Event>&) + 324
5 com.apple.LLDB.framework 0x0000000113daddcb lldb_private::Listener::WaitForEvent(lldb_private::TimeValue const*, std::__1::shared_ptr<lldb_private::Event>&) + 27
6 com.apple.LLDB.framework 0x0000000113e8bb51 ProcessGDBRemote::AsyncThread(void*) + 1213
7 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 21 Crashed:: <lldb.process.internal-state(pid=1804)>
0 com.apple.LLDB.framework 0x0000000113d98990 lldb_private::DataExtractor::GetU32(unsigned long long*) const + 52
1 com.apple.LLDB.framework 0x0000000113e73045 ObjectFileMachO::ParseHeader() + 91
2 com.apple.LLDB.framework 0x0000000113e724fd ObjectFileMachO::CreateInstance(std::__1::shared_ptr<lldb_private::Module> const&, std::__1::shared_ptr<lldb_private::DataBuffer>&, unsigned long long, lldb_private::FileSpec const*, unsigned long long, unsigned long long) + 661
3 com.apple.LLDB.framework 0x0000000113ee9ac5 lldb_private::ObjectFile::FindPlugin(std::__1::shared_ptr<lldb_private::Module> const&, lldb_private::FileSpec const*, unsigned long long, unsigned long long, std::__1::shared_ptr<lldb_private::DataBuffer>&, unsigned long long&) + 1705
4 com.apple.LLDB.framework 0x0000000113e6bf43 ObjectContainerUniversalMachO::GetObjectFile(lldb_private::FileSpec const*) + 427
5 com.apple.LLDB.framework 0x0000000113ee9bd7 lldb_private::ObjectFile::FindPlugin(std::__1::shared_ptr<lldb_private::Module> const&, lldb_private::FileSpec const*, unsigned long long, unsigned long long, std::__1::shared_ptr<lldb_private::DataBuffer>&, unsigned long long&) + 1979
6 com.apple.LLDB.framework 0x0000000113ddafbc lldb_private::Module::GetObjectFile() + 210
7 com.apple.LLDB.framework 0x0000000113dde60f lldb_private::ModuleList::GetSharedModule(lldb_private::ModuleSpec const&, std::__1::shared_ptr<lldb_private::Module>&, lldb_private::FileSpecList const*, std::__1::shared_ptr<lldb_private::Module>*, bool*, bool) + 805
8 com.apple.LLDB.framework 0x0000000113f274d9 lldb_private::Target::GetSharedModule(lldb_private::ModuleSpec const&, lldb_private::Error*) + 543
9 com.apple.LLDB.framework 0x0000000113e64879 DynamicLoaderMacOSXDYLD::FindTargetModuleForDYLDImageInfo(DynamicLoaderMacOSXDYLD::DYLDImageInfo&, bool, bool*) + 391
10 com.apple.LLDB.framework 0x0000000113e6699f DynamicLoaderMacOSXDYLD::AddModulesUsingImageInfos(std::__1::vector<DynamicLoaderMacOSXDYLD::DYLDImageInfo, std::__1::allocator<DynamicLoaderMacOSXDYLD::DYLDImageInfo> >&) + 487
11 com.apple.LLDB.framework 0x0000000113e65d7b DynamicLoaderMacOSXDYLD::AddModulesUsingImageInfosAddress(unsigned long long, unsigned int) + 165
12 com.apple.LLDB.framework 0x0000000113e65612 DynamicLoaderMacOSXDYLD::InitializeFromAllImageInfos() + 154
13 com.apple.LLDB.framework 0x0000000113e65a0c DynamicLoaderMacOSXDYLD::NotifyBreakpointHit(void*, lldb_private::StoppointCallbackContext*, unsigned long long, unsigned long long) + 44
14 com.apple.LLDB.framework 0x0000000113d45d0f lldb_private::BreakpointOptions::InvokeCallback(lldb_private::StoppointCallbackContext*, unsigned long long, unsigned long long) + 43
15 com.apple.LLDB.framework 0x0000000113d43250 lldb_private::BreakpointLocation::InvokeCallback(lldb_private::StoppointCallbackContext*) + 82
16 com.apple.LLDB.framework 0x0000000113d43889 lldb_private::BreakpointLocation::ShouldStop(lldb_private::StoppointCallbackContext*) + 115
17 com.apple.LLDB.framework 0x0000000113d44386 lldb_private::BreakpointLocationCollection::ShouldStop(lldb_private::StoppointCallbackContext*) + 76
18 com.apple.LLDB.framework 0x0000000113f22748 lldb_private::StopInfoBreakpoint::ShouldStopSynchronous(lldb_private::Event*) + 232
19 com.apple.LLDB.framework 0x0000000113f319cf lldb_private::Thread::ShouldStop(lldb_private::Event*) + 653
20 com.apple.LLDB.framework 0x0000000113f365a3 lldb_private::ThreadList::ShouldStop(lldb_private::Event*) + 339
21 com.apple.LLDB.framework 0x0000000113f12485 lldb_private::Process::ShouldBroadcastEvent(lldb_private::Event*) + 375
22 com.apple.LLDB.framework 0x0000000113f1048c lldb_private::Process::HandlePrivateEvent(std::__1::shared_ptr<lldb_private::Event>&) + 356
23 com.apple.LLDB.framework 0x0000000113f12ae7 lldb_private::Process::RunPrivateStateThread() + 507
24 com.apple.LLDB.framework 0x0000000113f1262d lldb_private::Process::PrivateStateThread(void*) + 9
25 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
26 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
27 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 22:: DBGLLDBSessionThread
0 libsystem_kernel.dylib 0x00007fff8d1b0716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8ddcdc3b _pthread_cond_wait + 727
2 com.apple.LLDB.framework 0x0000000113e37697 lldb_private::Condition::Wait(lldb_private::Mutex&, lldb_private::TimeValue const*, bool*) + 109
3 com.apple.LLDB.framework 0x0000000113e81752 lldb_private::Predicate<bool>::WaitForValueEqualTo(bool, lldb_private::TimeValue const*, bool*) + 90
4 com.apple.LLDB.framework 0x0000000113dadcb4 lldb_private::Listener::WaitForEventsInternal(lldb_private::TimeValue const*, lldb_private::Broadcaster*, lldb_private::ConstString const*, unsigned int, unsigned int, std::__1::shared_ptr<lldb_private::Event>&) + 324
5 com.apple.LLDB.framework 0x0000000113daddcb lldb_private::Listener::WaitForEvent(lldb_private::TimeValue const*, std::__1::shared_ptr<lldb_private::Event>&) + 27
6 com.apple.LLDB.framework 0x0000000112c6f995 lldb::SBListener::WaitForEvent(unsigned int, lldb::SBEvent&) + 203
7 com.apple.dt.dbg.DebuggerLLDB 0x000000010981aa22 DBGLLDBSessionThread(void*) + 813
8 libsystem_pthread.dylib 0x00007fff8ddcb899 _pthread_body + 138
9 libsystem_pthread.dylib 0x00007fff8ddcb72a _pthread_start + 137
10 libsystem_pthread.dylib 0x00007fff8ddcffc9 thread_start + 13
Thread 21 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fe807c15fa0 rcx: 0x00000000000e4850 rdx: 0x00000000000e4850
rdi: 0x00007fe807c15ff8 rsi: 0x0000000124690310 rbp: 0x0000000124690290 rsp: 0x0000000124690290
r8: 0x0000000124718000 r9: 0x0000000000000004 r10: 0x0000000001555568 r11: 0x000000002fd20404
r12: 0x0000000000001000 r13: 0x00007fe807c15fa0 r14: 0x00007fe807c15ff8 r15: 0x00000000000e4850
rip: 0x0000000113d98990 rfl: 0x0000000000010246 cr2: 0x0000000124718000
Logical CPU: 2
Error Code: 0x00000004
Trap Number: 14
I've tried to repair permissions using the Disk Utility and also disabled Source Control in Xcode. The problem disappears if I simply delete the reference to SDL. For example the following program works initially, but crashes when I link the project to SDL:
// #include <SDL2/SDL.h>
#include <iostream>
int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
}
Am I doing something wrong here?

It looks like the problem is that SDL2 isn't properly signed. There's a ticket to fix the issue at https://bugzilla.libsdl.org/show_bug.cgi?id=2058.
When you spawn an application from Xcode 5 with lldb, Xcode loads a plugin that will inspect modules your application loads, presumably to give you insight into your program. Xcode is set up to crash if it reads from a page that is backed by an invalid signature. Because SDL2 isn't properly signed, when Xcode 5 attempts to examine the SDL2 library, it will read from an invalid page, and crash. You get a clue that this is happening by the following line in your crash report above:
Exception Type: EXC_BAD_ACCESS (Code Signature Invalid)
To see for yourself that SDL isn't properly signed, execute the following command from the folder where SDL2 resides:
$ codesign -vvvv SDL2
SDL2: invalid signature (code or signature have been modified)
In architecture: x86_64
If you don't want to build your own version of SDL2 (the solution that's mentioned above), you can update the signature to make it correct:
$ codesign -f -s - SDL2
SDL2: replacing existing signature
And to verify that the new signature is good:
$ codesign -vvvv SDL2
SDL2: valid on disk
SDL2: satisfies its Designated Requirement
Note that doing this as a workaround is risky from a security standpoint, as I'm not sure why the signature is invalid.

I had the same problem using 2.0.2 (stable). I downloaded the latest code (as of 3/13) and compiled the framework manually and it worked.
hg clone http://hg.libsdl.org/SDL
Compile the "Framework" target in Xcode/SDL/SDL.xcodeproj
Copy framework to /Library/Frameworks

Related

Xcode 6.4 and 7.0 quit unexpectedly, I'm using Cocoapods

I'm using cocoa pods and When I open My Project (.xcworkspace) after that I see this problem. If you want I can copy all text. I'm confused. I didn't do anything. Xcode open other file but this project cannot opened.
Edit: I add All Text.
Process: Xcode [2164]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 7.0 (8227)
Build Info: IDEFrameworks-8227000000000000~2
App Item ID: 497799835
App External ID: 813293765
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2164]
User ID: 501
Date/Time: 2015-09-25 14:30:54.645 +0300
OS Version: Mac OS X 10.10.5 (14F27)
Report Version: 11
Anonymous UUID: 23EB5B80-9885-BE11-4263-41F6CC384A3B
Sleep/Wake UUID: 674459DE-8D63-40EE-AFC1-439575E256A3
Time Awake Since Boot: 6300 seconds
Time Since Wake: 1500 seconds
Crashed Thread: 19
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 7A220
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-8184/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/TargetSnapshots/XCBuildFileRefDGSnapshot.m:474
Details: Cannot call addBuildFileRef: when file refs are frozen
Object: <XCBuildFileRefArrayDGSnapshot: 0x7fc02f0749a0>
Method: -addBuildFileRef:
Thread: <NSThread: 0x7fc02ae93100>{number = 12, name = (null)}
Hints: None
Backtrace:
0 0x000000010ee5f904 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 0x000000010da2b23e _DVTAssertionHandler (in DVTFoundation)
2 0x000000010da2b455 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x000000011771a234 -[XCBuildFileRefArrayDGSnapshot addBuildFileRef:] (in DevToolsCore)
4 0x00000001176f6c5f -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) groupDependencyNode:ifNecessaryForLaterProcessingWithMacroExpansionScope:] (in DevToolsCore)
5 0x000000011770ae64 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _processOutputNodes:forRegionVariantName:processedPaths:originalBuildRule:withMacroExpansionScope:] (in DevToolsCore)
6 0x0000000117709667 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _computeDependenciesForBuildFileReference:usingBuildRule:withMacroExpansionScope:processedPaths:] (in DevToolsCore)
7 0x000000011770bb1e -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:usingBuildRule:withMacroExpansionScope:] (in DevToolsCore)
8 0x000000011770bfcb -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:withMacroExpansionScope:] (in DevToolsCore)
9 0x00000001176f7694 -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesWithMacroExpansionScope:] (in DevToolsCore)
10 0x000000011770ebaf -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesWithMacroExpansionScope:] (in DevToolsCore)
11 0x000000011770ff95 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesWithMacroExpansionScope:] (in DevToolsCore)
12 0x00000001176466b5 -[XCProductTypeSpecification computeDependenciesWithMacroExpansionScope:] (in DevToolsCore)
13 0x00000001176f0000 -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesWithMacroExpansionScope:] (in DevToolsCore)
14 0x00000001175c3455 -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] (in DevToolsCore)
15 0x00000001175df677 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] (in DevToolsCore)
16 0x00000001175ded3c -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] (in DevToolsCore)
17 0x000000011763e342 -[XCBlockQueue _processNextBlockInThreadSlotNumber:] (in DevToolsCore)
18 0x000000011763e5c4 -[XCBlockQueue _processBlocksInThreadSlotNumber:] (in DevToolsCore)
19 0x00007fff8dd99e92 __NSThread__main__ (in Foundation)
20 0x00007fff89b2405a _pthread_body (in libsystem_pthread.dylib)
21 0x00007fff89b23fd7 _pthread_body (in libsystem_pthread.dylib)
22 0x00007fff89b213ed thread_start (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
0
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff849524de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8495164f mach_msg + 55
2 com.apple.QuartzCore 0x00007fff91ac8f61 _CASSynchronize + 112
3 com.apple.QuartzCore 0x00007fff91ac8eb1 CA::Context::synchronize(unsigned int, int) + 121
4 com.apple.QuartzCore 0x00007fff91ac8dff CABackingStoreSynchronize(CABackingStore*, CA::GenericContext*, unsigned int, int) + 75
5 com.apple.QuartzCore 0x00007fff91abfab8 CABackingStoreUpdate_ + 987
6 com.apple.QuartzCore 0x00007fff91abf6d7 ___ZN2CA5Layer8display_Ev_block_invoke + 59
7 com.apple.QuartzCore 0x00007fff91abf694 x_blame_allocations + 81
8 com.apple.QuartzCore 0x00007fff91ab343c CA::Layer::display_() + 1546
9 com.apple.AppKit 0x00007fff86f9342b _NSBackingLayerDisplay + 617
10 com.apple.AppKit 0x00007fff86f90026 -[_NSViewBackingLayer display] + 834
11 com.apple.QuartzCore 0x00007fff91ab17fd CA::Layer::display_if_needed(CA::Transaction*) + 603
12 com.apple.QuartzCore 0x00007fff91ab0e81 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 35
13 com.apple.QuartzCore 0x00007fff91ab0612 CA::Context::commit_transaction(CA::Transaction*) + 242
14 com.apple.QuartzCore 0x00007fff91ab03ae CA::Transaction::commit() + 390
15 com.apple.QuartzCore 0x00007fff91abef19 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 71
16 com.apple.CoreFoundation 0x00007fff8eabb127 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
17 com.apple.CoreFoundation 0x00007fff8eabb080 __CFRunLoopDoObservers + 368
18 com.apple.CoreFoundation 0x00007fff8eaacbf8 CFRunLoopRunSpecific + 328
19 com.apple.HIToolbox 0x00007fff882d256f RunCurrentEventLoopInMode + 235
20 com.apple.HIToolbox 0x00007fff882d21ee ReceiveNextEventCommon + 179
21 com.apple.HIToolbox 0x00007fff882d212b _BlockUntilNextEventMatchingListInModeWithFilter + 71
22 com.apple.AppKit 0x00007fff86fbf8ab _DPSNextEvent + 978
23 com.apple.AppKit 0x00007fff86fbee58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
24 com.apple.dt.DVTKit 0x000000010dffb49b -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 247
25 com.apple.AppKit 0x00007fff86fb4af3 -[NSApplication run] + 594
26 com.apple.AppKit 0x00007fff86f31244 NSApplicationMain + 1832
27 libdyld.dylib 0x00007fff8b2385c9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff84958232 kevent64 + 10
1 libdispatch.dylib 0x00007fff90725a6a _dispatch_mgr_thread + 52
Thread 2:: Dispatch queue: NSOperationQueue 0x7fc02ee30dd0 :: NSOperation 0x7fc02f652ee0 (QOS: USER_INITIATED)
0 libsystem_kernel.dylib 0x00007fff84957136 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff8de40d6e -[__NSOperationInternal _waitUntilFinished:] + 131
2 com.apple.Foundation 0x00007fff8de27e34 -[NSOperationQueue waitUntilAllOperationsAreFinished] + 254
3 com.apple.dt.DVTFoundation 0x000000010d995f82 -[DVTOperationGroup main] + 67
4 com.apple.Foundation 0x00007fff8ddb4b3c -[__NSOperationInternal _start:] + 653
5 com.apple.dt.DVTFoundation 0x000000010d86e95f -[DVTOperationGroup start] + 111
6 com.apple.Foundation 0x00007fff8ddb4613 __NSOQSchedule_f + 184
7 libdispatch.dylib 0x00007fff90722c13 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff90726365 _dispatch_queue_drain + 1100
9 libdispatch.dylib 0x00007fff90727ecc _dispatch_queue_invoke + 202
10 libdispatch.dylib 0x00007fff907256b7 _dispatch_root_queue_drain + 463
11 libdispatch.dylib 0x00007fff90733fe4 _dispatch_worker_thread3 + 91
12 libsystem_pthread.dylib 0x00007fff89b23a9d _pthread_wqthread + 729
13 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8495794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 4:: Dispatch queue: NSOperationQueue 0x7fc02f60ce40 :: NSOperation 0x7fc02e9aca80 (QOS: USER_INITIATED)
0 libsystem_kernel.dylib 0x00007fff84957136 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff8de40d6e -[__NSOperationInternal _waitUntilFinished:] + 131
2 com.apple.Foundation 0x00007fff8de27e34 -[NSOperationQueue waitUntilAllOperationsAreFinished] + 254
3 com.apple.dt.DVTFoundation 0x000000010d995f82 -[DVTOperationGroup main] + 67
4 com.apple.Foundation 0x00007fff8ddb4b3c -[__NSOperationInternal _start:] + 653
5 com.apple.dt.DVTFoundation 0x000000010d86e95f -[DVTOperationGroup start] + 111
6 com.apple.Foundation 0x00007fff8ddb4613 __NSOQSchedule_f + 184
7 libdispatch.dylib 0x00007fff90722c13 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff90726365 _dispatch_queue_drain + 1100
9 libdispatch.dylib 0x00007fff90727ecc _dispatch_queue_invoke + 202
10 libdispatch.dylib 0x00007fff907256b7 _dispatch_root_queue_drain + 463
11 libdispatch.dylib 0x00007fff90733fe4 _dispatch_worker_thread3 + 91
12 libsystem_pthread.dylib 0x00007fff89b23a9d _pthread_wqthread + 729
13 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8495794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8495794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff8495794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8495794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff849524de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8495164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8eaadeb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8eaad37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8eaacbd8 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff8ddebb29 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
6 com.apple.DTDeviceKitBase 0x0000000117bd032a -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 1103
7 com.apple.Foundation 0x00007fff8dd99e92 __NSThread__main__ + 1345
8 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
10 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 10:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff849573fa __select + 10
1 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
2 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
3 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 11:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff849524de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8495164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8eaadeb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8eaad37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8eaacbd8 CFRunLoopRunSpecific + 296
5 com.apple.CFNetwork 0x00007fff93577420 +[NSURLConnection(Loader) _resourceLoadLoop:] + 434
6 com.apple.Foundation 0x00007fff8dd99e92 __NSThread__main__ + 1345
7 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff849524de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8495164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8eaadeb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8eaad37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8eaacbd8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff8708756b _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 13:: Dispatch queue: IDE Source Control Status Processing Queue :: NSOperation 0x7fc02f308ff0 (QOS: USER_INTERACTIVE)
0 libsystem_kernel.dylib 0x00007fff84957136 __psynch_cvwait + 10
1 com.apple.Foundation 0x00007fff8de40d6e -[__NSOperationInternal _waitUntilFinished:] + 131
2 com.apple.Foundation 0x00007fff8de27e34 -[NSOperationQueue waitUntilAllOperationsAreFinished] + 254
3 com.apple.dt.IDEFoundation 0x000000010e4de249 -[IDESourceControlWorkingTree updateFileReferenceStatusesAndWaitForFinish:] + 225
4 com.apple.dt.IDEFoundation 0x000000010e4a41ca -[IDESourceControlWorkingTree mergeStatusOperationResults:forLocalStatusOnly:] + 8427
5 com.apple.dt.IDEFoundation 0x000000010e4e0a89 __102-[IDESourceControlWorkingTree updateLocalStatusForDirectory:cancelable:withWorkspace:completionBlock:]_block_invoke_4 + 64
6 com.apple.dt.DVTFoundation 0x000000010d846671 -[DVTOperation main] + 139
7 com.apple.Foundation 0x00007fff8ddb4b3c -[__NSOperationInternal _start:] + 653
8 com.apple.Foundation 0x00007fff8ddb4613 __NSOQSchedule_f + 184
9 libdispatch.dylib 0x00007fff90722c13 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff90726365 _dispatch_queue_drain + 1100
11 libdispatch.dylib 0x00007fff90727ecc _dispatch_queue_invoke + 202
12 libdispatch.dylib 0x00007fff907256b7 _dispatch_root_queue_drain + 463
13 libdispatch.dylib 0x00007fff90733fe4 _dispatch_worker_thread3 + 91
14 libsystem_pthread.dylib 0x00007fff89b23a9d _pthread_wqthread + 729
15 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 14:: Dispatch queue: IDE Source Control File Reference Status Processing Queue :: NSOperation 0x7fc02f491910 (QOS: USER_INTERACTIVE)
0 libsystem_kernel.dylib 0x00007fff8495251a semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff90729c55 _dispatch_semaphore_wait_slow + 213
2 com.apple.dt.DVTFoundation 0x000000010da664fe DVTSyncPerformBlock + 437
3 com.apple.dt.IDEFoundation 0x000000010e666395 __63-[IDESourceControlTreeItem updateFileReferences:withFilePaths:]_block_invoke + 1677
4 com.apple.Foundation 0x00007fff8ddb58b8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
5 com.apple.Foundation 0x00007fff8ddb5685 -[NSBlockOperation main] + 97
6 com.apple.Foundation 0x00007fff8ddb4b3c -[__NSOperationInternal _start:] + 653
7 com.apple.Foundation 0x00007fff8ddb4613 __NSOQSchedule_f + 184
8 libdispatch.dylib 0x00007fff90722c13 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff90726365 _dispatch_queue_drain + 1100
10 libdispatch.dylib 0x00007fff90727ecc _dispatch_queue_invoke + 202
11 libdispatch.dylib 0x00007fff907256b7 _dispatch_root_queue_drain + 463
12 libdispatch.dylib 0x00007fff90733fe4 _dispatch_worker_thread3 + 91
13 libsystem_pthread.dylib 0x00007fff89b23a9d _pthread_wqthread + 729
14 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 15:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff849524de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8495164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8eaadeb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8eaad37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8eaacbd8 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff8ddebb29 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
6 com.apple.Foundation 0x00007fff8de6124f -[NSRunLoop(NSRunLoop) run] + 74
7 com.apple.GPUToolsMobileFoundation 0x0000000122360901 -[DYMobileDeviceManager _deviceNotificationThread:] + 134
8 com.apple.Foundation 0x00007fff8dd99e92 __NSThread__main__ + 1345
9 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
10 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
11 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff8495794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 17:: Dispatch queue: <IDEBuildOperation:0x7fc02f12f370:REfc>-builder-queue :: NSOperation 0x7fc02f1b7b40 (QOS: UTILITY)
0 libsystem_kernel.dylib 0x00007fff84957166 __psynch_mutexwait + 10
1 com.apple.Foundation 0x00007fff8dd69bdc -[NSRecursiveLock lock] + 22
2 com.apple.Xcode.DevToolsCore 0x00000001175c0460 -[PBXTargetBuildContext lockDependencyGraph] + 52
3 com.apple.Xcode.DevToolsCore 0x00000001175decaf -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] + 126
4 com.apple.Xcode.DevToolsCore 0x00000001175766ab -[PBXTarget(XCBuildables) buildWillStartForBuilder:buildParameters:] + 833
5 com.apple.Xcode.DevToolsCore 0x0000000117779d45 -[Xcode3TargetBuildableSnapshot buildForBuilderWillStart:] + 1071
6 com.apple.dt.IDEFoundation 0x000000010e47f6ff -[IDEBuildableSnapshot performBuildForBuilder:buildCommand:buildOnlyTheseFiles:] + 128
7 com.apple.dt.IDEFoundation 0x000000010e47ee21 -[IDEBuilder main] + 1217
8 com.apple.Foundation 0x00007fff8ddb4b3c -[__NSOperationInternal _start:] + 653
9 com.apple.Foundation 0x00007fff8ddb4613 __NSOQSchedule_f + 184
10 libdispatch.dylib 0x00007fff90722c13 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff90726365 _dispatch_queue_drain + 1100
12 libdispatch.dylib 0x00007fff90727ecc _dispatch_queue_invoke + 202
13 libdispatch.dylib 0x00007fff907256b7 _dispatch_root_queue_drain + 463
14 libdispatch.dylib 0x00007fff90733fe4 _dispatch_worker_thread3 + 91
15 libsystem_pthread.dylib 0x00007fff89b23a9d _pthread_wqthread + 729
16 libsystem_pthread.dylib 0x00007fff89b213dd start_wqthread + 13
Thread 18:
0 libsystem_kernel.dylib 0x00007fff84957136 __psynch_cvwait + 10
1 com.apple.Xcode.DevToolsCore 0x000000011763e68f -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 450
2 com.apple.Foundation 0x00007fff8dd99e92 __NSThread__main__ + 1345
3 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
5 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 19 Crashed:
0 libsystem_kernel.dylib 0x00007fff84957286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff88b999b3 abort + 129
2 com.apple.dt.IDEKit 0x000000010ee5f4fb +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1481
3 com.apple.dt.IDEKit 0x000000010ee5fadb -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1202
4 com.apple.dt.DVTFoundation 0x000000010da2b23e _DVTAssertionHandler + 562
5 com.apple.dt.DVTFoundation 0x000000010da2b455 _DVTAssertionFailureHandler + 407
6 com.apple.Xcode.DevToolsCore 0x000000011771a234 -[XCBuildFileRefArrayDGSnapshot addBuildFileRef:] + 110
7 com.apple.Xcode.DevToolsCore 0x00000001176f6c5f -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) groupDependencyNode:ifNecessaryForLaterProcessingWithMacroExpansionScope:] + 823
8 com.apple.Xcode.DevToolsCore 0x000000011770ae64 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _processOutputNodes:forRegionVariantName:processedPaths:originalBuildRule:withMacroExpansionScope:] + 717
9 com.apple.Xcode.DevToolsCore 0x0000000117709667 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) _computeDependenciesForBuildFileReference:usingBuildRule:withMacroExpansionScope:processedPaths:] + 3984
10 com.apple.Xcode.DevToolsCore 0x000000011770bb1e -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:usingBuildRule:withMacroExpansionScope:] + 137
11 com.apple.Xcode.DevToolsCore 0x000000011770bfcb -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForBuildFileReference:withMacroExpansionScope:] + 1153
12 com.apple.Xcode.DevToolsCore 0x00000001176f7694 -[XCBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesWithMacroExpansionScope:] + 2223
13 com.apple.Xcode.DevToolsCore 0x000000011770ebaf -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesForAllBuildFileReferencesWithMacroExpansionScope:] + 65
14 com.apple.Xcode.DevToolsCore 0x000000011770ff95 -[XCSourcesBuildPhaseDGSnapshot(DependencyGraphCreation) computeDependenciesWithMacroExpansionScope:] + 5055
15 com.apple.Xcode.DevToolsCore 0x00000001176466b5 -[XCProductTypeSpecification computeDependenciesWithMacroExpansionScope:] + 2058
16 com.apple.Xcode.DevToolsCore 0x00000001176f0000 -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesWithMacroExpansionScope:] + 3793
17 com.apple.Xcode.DevToolsCore 0x00000001175c3455 -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] + 4302
18 com.apple.Xcode.DevToolsCore 0x00000001175df677 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] + 514
19 com.apple.Xcode.DevToolsCore 0x00000001175ded3c -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] + 267
20 com.apple.Xcode.DevToolsCore 0x000000011763e342 -[XCBlockQueue _processNextBlockInThreadSlotNumber:] + 241
21 com.apple.Xcode.DevToolsCore 0x000000011763e5c4 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 247
22 com.apple.Foundation 0x00007fff8dd99e92 __NSThread__main__ + 1345
23 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
24 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
25 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 20:
0 libsystem_kernel.dylib 0x00007fff84957136 __psynch_cvwait + 10
1 com.apple.Xcode.DevToolsCore 0x000000011763e68f -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 450
2 com.apple.Foundation 0x00007fff8dd99e92 __NSThread__main__ + 1345
3 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
5 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 21:
0 libsystem_kernel.dylib 0x00007fff849524de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8495164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8eaadeb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8eaad37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8eaacbd8 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff8eb64671 CFRunLoopRun + 97
6 com.apple.DebugSymbols 0x00007fff86ca2b8f SpotlightQueryThread(void*) + 463
7 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 22:
0 libsystem_kernel.dylib 0x00007fff8495748a __semwait_signal + 10
1 com.apple.CoreSymbolication 0x00007fff89f5a407 0x7fff89f47000 + 78855
2 libsystem_pthread.dylib 0x00007fff89b2405a _pthread_body + 131
3 libsystem_pthread.dylib 0x00007fff89b23fd7 _pthread_start + 176
4 libsystem_pthread.dylib 0x00007fff89b213ed thread_start + 13
Thread 19 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x0000000124e94628 rdx: 0x0000000000000000
rdi: 0x0000000000018b03 rsi: 0x0000000000000006 rbp: 0x0000000124e94650 rsp: 0x0000000124e94628
r8: 0x00000000000007ff r9: 0x00007fc02ae93100 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff8c29b440 r13: 0x00007fc02f9afb10 r14: 0x0000000124e97000 r15: 0x00007fc02ddebd00
rip: 0x00007fff84957286 rfl: 0x0000000000000206 cr2: 0x00007fff750a9fd8
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
According to Apple Said to me "This problem solved Xcode 7.1 Beta Version. We recommend download Xcode 7.1 Beta version. I tried after that I solved this Problem.
Try removing PBXBuildFile section from project.pbxproj. This should allow you to open Xcode normally again. Then, you must reconfigure your build settings (compile sources, copy bundle resources, etc.).
I had same problem. Still don't know the technical reason.
In my project I had a Today-Extension and the crash reason was the Storyboard file.
Since I removed the Storyboard file, the Xcode 7 is not crashing anymore.
I think I have to create a new Storyboard and redecorate the Storyboard file.
I guest you have to remove your Storyboard with old Xcode (Xcode 6) and by trying and error see how is Xcode 7 react.
I was having the same problem opening projects with storyboards in XCode 7. If you open the project in 6.4 or 7.1 Beta and move any IB files that are in the Compile Sources build phase to the Copy Bundle Resources build phase, XCode 7 won't crash anymore.

Xcode 6 always crashes when validating or submitting an app to the App Store

Has anyone faced the same problem? Xcode 6 always crashes when validating or submitting an app to the App Store
Error log
Process: Xcode [8131] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 6.0 (6299) Build Info: IDEFrameworks-6299000000000000~8 Code Type: X86-64 (Native) Parent Process: launchd [953] Responsible: Xcode [8131] User ID: 501
Date/Time: 2014-09-16 11:17:25.896 +0700 OS Version: Mac OS X 10.9.4 (13E28) Report Version: 11 Anonymous UUID: 000105CF-23BA-628A-BB6A-49EE41B0CD85
Sleep/Wake UUID: B292739C-BD69-46FE-A5BE-87924AFB5243
Crashed Thread: 11 Dispatch queue: NSOperationQueue 0x7ff2237695c0
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information: ProductBuildVersion: 6A313 ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-6299/IDEFoundation/Issues/IDEIssueManager.m:457 Details: This method must only be called on the main thread Object: <IDEIssueManager> Method: +_issueProviderInfo Thread: <NSThread: 0x7ff224a7eaf0>{name = (null), num = 20} Hints: None Backtrace: 0 0x0000000104b84f0a -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit) 1 0x0000000103944baf _DVTAssertionHandler (in DVTFoundation) 2 0x0000000103944e9e _DVTAssertionFailureHandler (in DVTFoundation) 3 0x0000000104279bce +[IDEIssueManager
_issueProviderInfo] (in IDEFoundation) 4 0x000000010427924d -[IDEIssueManager _updateIssueProviders] (in IDEFoundation) 5 0x0000000103956fbe __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke (in DVTFoundation) 6 0x00000001038d16c8 DVTInvokeWithStrongOwnership (in DVTFoundation) 7 0x0000000103785124 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation) 8 0x00007fff8cbfff28 NSKeyValueNotifyObserver (in Foundation) 9 0x00007fff8cbff0f8 NSKeyValueDidChange (in Foundation) 10 0x00007fff8cc03be6 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation) 11 0x00007fff9001cf6f doSetValuesInSourceWithKVO (in CoreFoundation) 12 0x00007fff9001ce0f
_CFXPreferencesReplaceValuesInNamedVolatileSource (in CoreFoundation) 13 0x00007fff8cda6afc -[NSUserDefaults(NSUserDefaults) setVolatileDomain:forName:] (in Foundation) 14 0x0000000118ff49e9
-[NSUserDefaults(ITunesConnectFoundationExtensions) REPLACEMENT_setVolatileDomain:forName:] (in ITunesConnectFoundation) 15 0x0000000118feafac -[MZJSONServiceClient connectionDidFinishLoading:] (in ITunesConnectFoundation) 16 0x00007fff8ccae7fd __65-[NSURLConnectionInternal
_withConnectionAndDelegate:onlyActive:]_block_invoke (in Foundation) 17 0x00007fff8ccae72d -[NSURLConnectionInternal
_withConnectionAndDelegate:onlyActive:] (in Foundation) 18 0x00007fff8ccae61c -[NSURLConnectionInternal
_withActiveConnectionAndDelegate:] (in Foundation) 19 0x00007fff8711b224
___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke (in CFNetwork) 20 0x00007fff8719fd60
___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 (in CFNetwork) 21 0x00007fff870fe28c
___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke (in CFNetwork) 22 0x00007fff9002da94 CFArrayApplyFunction (in CoreFoundation) 23 0x00007fff870fe16b RunloopBlockContext::perform() (in CFNetwork) 24 0x00007fff870fe013 MultiplexerSource::perform() (in CFNetwork) 25 0x00007fff870fde42 MultiplexerSource::_perform(void*) (in CFNetwork) 26 0x00007fff900625b1
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (in CoreFoundation) 27 0x00007fff90053c62 __CFRunLoopDoSources0 (in CoreFoundation) 28 0x00007fff900533ef __CFRunLoopRun (in CoreFoundation) 29 0x00007fff90052e75 CFRunLoopRunSpecific (in CoreFoundation) 30 0x00007fff8cc5fadc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation) 31 0x00007fff8cca810b
-[NSRunLoop(NSRunLoop) runUntilDate:] (in Foundation) 32 0x0000000118fea468 -[MZJSONServiceClient getResultDictionary] (in ITunesConnectFoundation) 33 0x0000000118fec5da
-[MZLabelServiceClient invokeSOAPCall] (in ITunesConnectFoundation) 34 0x0000000118ff1904 -[MZWebServiceOperationWorker execute] (in ITunesConnectFoundation) 35 0x0000000118ff1c02 -[MZWebServiceWorker run] (in ITunesConnectFoundation) 36 0x0000000118fca36c -[MZWorkItem main] (in ITunesConnectFoundation) 37 0x00007fff8cbfe8a1
-[__NSOperationInternal _start:] (in Foundation) 38 0x00007fff8cbfe54b __NSOQSchedule_f (in Foundation) 39 0x00007fff8f00928d _dispatch_client_callout (in libdispatch.dylib) 40 0x00007fff8f00d7e3 _dispatch_async_redirect_invoke (in libdispatch.dylib) 41 0x00007fff8f00928d _dispatch_client_callout (in libdispatch.dylib) 42 0x00007fff8f00b082
_dispatch_root_queue_drain (in libdispatch.dylib) 43 0x00007fff8f00c177 _dispatch_worker_thread2 (in libdispatch.dylib) 44 0x00007fff87094ef8 _pthread_wqthread (in libsystem_pthread.dylib) 45 0x00007fff87097fb9 start_wqthread (in libsystem_pthread.dylib) abort() called
Application Specific Signatures: [NSThread isMainThread]
Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff9086aa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff90869d18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff90053f15
__CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff90053539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff90052e75 CFRunLoopRunSpecific + 309 5 com.apple.HIToolbox 0x00007fff8c165a0d RunCurrentEventLoopInMode + 226 6 com.apple.HIToolbox 0x00007fff8c1657b7 ReceiveNextEventCommon + 479 7 com.apple.HIToolbox 0x00007fff8c1655bc _BlockUntilNextEventMatchingListInModeWithFilter + 65 8 com.apple.AppKit 0x00007fff88ea424e _DPSNextEvent
+ 1434 9 com.apple.AppKit 0x00007fff88ea389b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 10 com.apple.dt.DVTKit 0x0000000103eaa7bd -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 237 11 com.apple.AppKit 0x00007fff88e9799c -[NSApplication run]
+ 553 12 com.apple.AppKit 0x00007fff88e82783 NSApplicationMain + 940 13 libdyld.dylib 0x00007fff8ad605fd start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff9086f662 kevent64 + 10 1 libdispatch.dylib 0x00007fff8f00b421 _dispatch_mgr_invoke
+ 239 2 libdispatch.dylib 0x00007fff8f00b136 _dispatch_mgr_thread + 52
Thread 2:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x00007fff9086aa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff90869d18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff90053f15 __CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff90053539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff90052e75 CFRunLoopRunSpecific + 309 5 com.apple.Foundation 0x00007fff8cc5d967 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348 6 com.apple.Foundation 0x00007fff8cc5d76b
__NSThread__main__ + 1318 7 libsystem_pthread.dylib 0x00007fff87093899 _pthread_body + 138 8 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 9 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start + 13
Thread 3:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff9086e9aa __select + 10 1 com.apple.CoreFoundation 0x00007fff9009fa03 __CFSocketManager + 867 2 libsystem_pthread.dylib 0x00007fff87093899 _pthread_body + 138 3 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 4 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start
+ 13
Thread 4: 0 libsystem_kernel.dylib 0x00007fff9086aa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff90869d18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff90053f15 __CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff90053539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff90052e75 CFRunLoopRunSpecific + 309 5 com.apple.Foundation 0x00007fff8cc5fadc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253 6 com.apple.DTDeviceKitBase 0x000000011190e1d2
-[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 676 7 com.apple.Foundation 0x00007fff8cc5d76b __NSThread__main__ + 1318 8 libsystem_pthread.dylib 0x00007fff87093899
_pthread_body + 138 9 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 10 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start + 13
Thread 5:: DYMobileDeviceManager 0 libsystem_kernel.dylib 0x00007fff9086aa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff90869d18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff90053f15 __CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff90053539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff90052e75 CFRunLoopRunSpecific + 309 5 com.apple.Foundation 0x00007fff8cc5fadc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253 6 com.apple.Foundation 0x00007fff8cd484aa
-[NSRunLoop(NSRunLoop) run] + 74 7 com.apple.GPUToolsMobileFoundation 0x0000000113cce9eb
-[DYMobileDeviceManager _deviceNotificationThread:] + 134 8 com.apple.Foundation 0x00007fff8cc5d76b __NSThread__main__ + 1318 9 libsystem_pthread.dylib 0x00007fff87093899
_pthread_body + 138 10 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 11 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start + 13
Thread 6: 0 libsystem_kernel.dylib 0x00007fff9086aa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff90869d18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff90053f15 __CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff90053539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff90052e75 CFRunLoopRunSpecific + 309 5 com.apple.AppKit 0x00007fff8904405e _NSEventThread + 144 6 libsystem_pthread.dylib 0x00007fff87093899 _pthread_body + 138 7 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 8 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start + 13
Thread 7: 0 libsystem_kernel.dylib 0x00007fff9086e716
__psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff87095c3b _pthread_cond_wait + 727 2 com.apple.Xcode.DevToolsCore 0x000000010d53fb0e -[XCBlockQueue
_processBlocksInThreadSlotNumber:] + 519 3 com.apple.Foundation 0x00007fff8cc5d76b __NSThread__main__ + 1318 4 libsystem_pthread.dylib 0x00007fff87093899 _pthread_body + 138 5 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 6 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start
+ 13
Thread 8: 0 libsystem_kernel.dylib 0x00007fff9086e716
__psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff87095c3b _pthread_cond_wait + 727 2 com.apple.Xcode.DevToolsCore 0x000000010d53fb0e -[XCBlockQueue
_processBlocksInThreadSlotNumber:] + 519 3 com.apple.Foundation 0x00007fff8cc5d76b __NSThread__main__ + 1318 4 libsystem_pthread.dylib 0x00007fff87093899 _pthread_body + 138 5 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 6 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start
+ 13
Thread 9: 0 libsystem_kernel.dylib 0x00007fff9086e716
__psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff87095c3b _pthread_cond_wait + 727 2 com.apple.Xcode.DevToolsCore 0x000000010d53fb0e -[XCBlockQueue
_processBlocksInThreadSlotNumber:] + 519 3 com.apple.Foundation 0x00007fff8cc5d76b __NSThread__main__ + 1318 4 libsystem_pthread.dylib 0x00007fff87093899 _pthread_body + 138 5 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 6 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start
+ 13
Thread 10:: Dispatch queue: com.apple.root.default-priority 0 libsystem_kernel.dylib 0x00007fff9086ea3a __semwait_signal + 10 1 libsystem_c.dylib 0x00007fff8877cdc0 nanosleep + 200 2 com.apple.Foundation 0x00007fff8cca72f2 +[NSThread sleepUntilDate:] + 176 3 com.apple.itunes.connect.ITunesSoftwareService 0x000000011959ce69
-[ITunesSoftwareServiceImpl applicationWithAttributesWorker:operationPtr:workSeriesPtr:] + 316 4 com.apple.itunes.connect.ITunesSoftwareService 0x000000011959e452
-[ITunesSoftwareServiceImpl validateApplicationArchiveAtPath:authenticationServiceResponse:] + 430 5 com.apple.dt.IDEKit 0x0000000104e87a91
+[AAVITunesConnectProxy validateApplicationArchiveAtPath:usingSession:] + 150 6 com.apple.dt.IDEKit 0x0000000104e5a743
__61-[IDEDistributionValidationStepViewController viewDidInstall]_block_invoke + 482 7 com.apple.dt.DVTFoundation 0x000000010397cbac __DVTDispatchAsync_block_invoke + 106 8 libdispatch.dylib 0x00007fff8f00c1bb
_dispatch_call_block_and_release + 12 9 libdispatch.dylib 0x00007fff8f00928d _dispatch_client_callout + 8 10 libdispatch.dylib 0x00007fff8f00b082 _dispatch_root_queue_drain + 326 11 libdispatch.dylib 0x00007fff8f00c177
_dispatch_worker_thread2 + 40 12 libsystem_pthread.dylib 0x00007fff87094ef8 _pthread_wqthread + 314 13 libsystem_pthread.dylib 0x00007fff87097fb9 start_wqthread + 13
Thread 11 Crashed:: Dispatch queue: NSOperationQueue 0x7ff2237695c0 0 libsystem_kernel.dylib 0x00007fff9086e866 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff8709435c pthread_kill + 92 2 libsystem_c.dylib 0x00007fff8875db1a abort + 125 3 com.apple.dt.IDEKit 0x0000000104b84ae6
+[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:]
+ 1510 4 com.apple.dt.IDEKit 0x0000000104b850c0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:]
+ 1169 5 com.apple.dt.DVTFoundation 0x0000000103944baf _DVTAssertionHandler + 367 6 com.apple.dt.DVTFoundation 0x0000000103944e9e _DVTAssertionFailureHandler + 407 7 com.apple.dt.IDEFoundation 0x0000000104279bce +[IDEIssueManager
_issueProviderInfo] + 1005 8 com.apple.dt.IDEFoundation 0x000000010427924d -[IDEIssueManager _updateIssueProviders] + 426 9 com.apple.dt.DVTFoundation 0x0000000103956fbe
__73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke + 83 10 com.apple.dt.DVTFoundation 0x00000001038d16c8 DVTInvokeWithStrongOwnership + 75 11 com.apple.dt.DVTFoundation 0x0000000103785124 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] + 576 12 com.apple.Foundation 0x00007fff8cbfff28 NSKeyValueNotifyObserver + 387 13 com.apple.Foundation 0x00007fff8cbff0f8 NSKeyValueDidChange + 453 14 com.apple.Foundation 0x00007fff8cc03be6 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118 15 com.apple.CoreFoundation 0x00007fff9001cf6f doSetValuesInSourceWithKVO + 335 16 com.apple.CoreFoundation 0x00007fff9001ce0f
_CFXPreferencesReplaceValuesInNamedVolatileSource + 111 17 com.apple.Foundation 0x00007fff8cda6afc
-[NSUserDefaults(NSUserDefaults) setVolatileDomain:forName:] + 21 18 com.apple.itunes.connect.ITunesConnectFoundation 0x0000000118ff49e9
-[NSUserDefaults(ITunesConnectFoundationExtensions) REPLACEMENT_setVolatileDomain:forName:] + 29 19 com.apple.itunes.connect.ITunesConnectFoundation 0x0000000118feafac
-[MZJSONServiceClient connectionDidFinishLoading:] + 657 20 com.apple.Foundation 0x00007fff8ccae7fd
__65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 48 21 com.apple.Foundation 0x00007fff8ccae72d
-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 244 22 com.apple.Foundation 0x00007fff8ccae61c
-[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 69 23 com.apple.CFNetwork 0x00007fff8711b224
___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 104 24 com.apple.CFNetwork 0x00007fff8719fd60 ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2
+ 84 25 com.apple.CFNetwork 0x00007fff870fe28c ___ZNK17CoreSchedulingSet13_performAsyncEPKcU13block_pointerFvvE_block_invoke
+ 25 26 com.apple.CoreFoundation 0x00007fff9002da94 CFArrayApplyFunction + 68 27 com.apple.CFNetwork 0x00007fff870fe16b RunloopBlockContext::perform() + 115 28 com.apple.CFNetwork 0x00007fff870fe013 MultiplexerSource::perform() + 269 29 com.apple.CFNetwork 0x00007fff870fde42 MultiplexerSource::_perform(void*) + 72 30 com.apple.CoreFoundation 0x00007fff900625b1
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 31 com.apple.CoreFoundation 0x00007fff90053c62
__CFRunLoopDoSources0 + 242 32 com.apple.CoreFoundation 0x00007fff900533ef __CFRunLoopRun + 831 33 com.apple.CoreFoundation 0x00007fff90052e75 CFRunLoopRunSpecific + 309 34 com.apple.Foundation 0x00007fff8cc5fadc
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253 35 com.apple.Foundation 0x00007fff8cca810b
-[NSRunLoop(NSRunLoop) runUntilDate:] + 78 36 com.apple.itunes.connect.ITunesConnectFoundation 0x0000000118fea468
-[MZJSONServiceClient getResultDictionary] + 472 37 com.apple.itunes.connect.ITunesConnectFoundation 0x0000000118fec5da
-[MZLabelServiceClient invokeSOAPCall] + 19 38 com.apple.itunes.connect.ITunesConnectFoundation 0x0000000118ff1904
-[MZWebServiceOperationWorker execute] + 46 39 com.apple.itunes.connect.ITunesConnectFoundation 0x0000000118ff1c02
-[MZWebServiceWorker run] + 121 40 com.apple.itunes.connect.ITunesConnectFoundation 0x0000000118fca36c
-[MZWorkItem main] + 311 41 com.apple.Foundation 0x00007fff8cbfe8a1 -[__NSOperationInternal _start:] + 631 42 com.apple.Foundation 0x00007fff8cbfe54b __NSOQSchedule_f + 64 43 libdispatch.dylib 0x00007fff8f00928d
_dispatch_client_callout + 8 44 libdispatch.dylib 0x00007fff8f00d7e3 _dispatch_async_redirect_invoke + 154 45 libdispatch.dylib 0x00007fff8f00928d
_dispatch_client_callout + 8 46 libdispatch.dylib 0x00007fff8f00b082 _dispatch_root_queue_drain + 326 47 libdispatch.dylib 0x00007fff8f00c177
_dispatch_worker_thread2 + 40 48 libsystem_pthread.dylib 0x00007fff87094ef8 _pthread_wqthread + 314 49 libsystem_pthread.dylib 0x00007fff87097fb9 start_wqthread + 13
Thread 12: 0 libsystem_kernel.dylib 0x00007fff9086ee6a
__workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff87094f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff87097fb9 start_wqthread + 13
Thread 13: 0 libsystem_kernel.dylib 0x00007fff9086ee6a
__workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff87094f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff87097fb9 start_wqthread + 13
Thread 14: 0 libsystem_kernel.dylib 0x00007fff9086ee6a
__workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff87094f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff87097fb9 start_wqthread + 13
Thread 15:: com.apple.appkit-heartbeat 0 libsystem_kernel.dylib 0x00007fff9086ea3a __semwait_signal + 10 1 libsystem_c.dylib 0x00007fff8877cdc0 nanosleep + 200 2 libsystem_c.dylib 0x00007fff8877ccb2 usleep + 54 3 com.apple.AppKit 0x00007fff8910817d -[NSUIHeartBeat _heartBeatThread:] + 2132 4 com.apple.Foundation 0x00007fff8cc5d76b __NSThread__main__ + 1318 5 libsystem_pthread.dylib 0x00007fff87093899
_pthread_body + 138 6 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 7 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start + 13
Thread 16: 0 libsystem_kernel.dylib 0x00007fff9086aa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff90869d18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff90053f15 __CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff90053539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff90052e75 CFRunLoopRunSpecific + 309 5 com.apple.CoreFoundation 0x00007fff90108811 CFRunLoopRun + 97 6 com.apple.DebugSymbols 0x00007fff8e5fd7e3 SpotlightQueryThread(void*) + 355 7 libsystem_pthread.dylib 0x00007fff87093899 _pthread_body + 138 8 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 9 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start
+ 13
Thread 17: 0 libsystem_kernel.dylib 0x00007fff9086ea3a
__semwait_signal + 10 1 libsystem_c.dylib 0x00007fff8877cdc0 nanosleep + 200 2 com.apple.CoreSymbolication 0x00007fff87eae481 cleaner_thread_main(void*) + 42 3 libsystem_pthread.dylib 0x00007fff87093899 _pthread_body + 138 4 libsystem_pthread.dylib 0x00007fff8709372a _pthread_start + 137 5 libsystem_pthread.dylib 0x00007fff87097fc9 thread_start
+ 13
Thread 11 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x000000011587b000 rcx: 0x0000000115878c38 rdx: 0x0000000000000000 rdi: 0x0000000000009d1b rsi: 0x0000000000000006 rbp: 0x0000000115878c60 rsp: 0x0000000115878c38 r8: 0x0000000000003fff r9: 0xffff800ddb58150f r10: 0x000000000c000000 r11: 0x0000000000000206 r12: 0x00007fff8c6af0d0 r13: 0x00007ff22485e1c0 r14: 0x0000000000000006 r15: 0x00007ff225ba6000 rip: 0x00007fff9086e866 rfl: 0x0000000000000206 cr2: 0x0000000108adc000 Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133
Binary Images:
0x103778000 - 0x103778ff7 com.apple.dt.Xcode (6.0 - 6299) <B05D487B-F21A-3E33-8E16-59AD472578B7> /Applications/Xcode.app/Contents/MacOS/Xcode
0x10377d000 - 0x103bb0ff7 com.apple.dt.DVTFoundation (6.0 - 6271) <DEE402AC-A4CD-3BA7-B1DA-C2EE0C35C46A> /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
0x103d6a000 - 0x104071fff com.apple.dt.DVTKit (6.0 - 6271) <1CDBF9FE-63F5-3226-B810-5ADA7B1854B0> /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
0x104255000 - 0x104682fff com.apple.dt.IDEFoundation (6.0 - 6299) <9830F38E-1090-349E-9E8F-FF1E9EA14E18> /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
0x104937000 - 0x105171ff7 com.apple.dt.IDEKit (6.0 - 6299) <03597575-67D1-3ECB-94E3-DA5B69FB0D91> /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/IDEKit
0x105712000 - 0x10572fff7 com.apple.dt.instruments.DTXConnectionServices (1.0 - 56085) <E7CD337D-F164-3DC0-A94D-6AFE017988E3> /Applications/Xcode.app/Contents/SharedFrameworks/DTXConnectionServices.framework/Versions/A/DTXConnectionServices
0x105750000 - 0x10578cfff com.apple.framework.ConfigurationProfiles (6.0.2 - 667) <6AEA891F-CA82-3DB2-B2B5-735713FF618C> /System/Library/PrivateFrameworks/ConfigurationProfiles.framework/Versions/A/ConfigurationProfiles
0x1057b0000 - 0x1057b1ffb libsysmon.dylib (58.90.2) <86ECDE0C-6022-3138-AD95-293098B617B7> /usr/lib/libsysmon.dylib
0x1057bd000 - 0x10624efff +libclang.dylib (600.0.51) <C234F51B-1C1E-391C-9A17-C987D112F431>
It seems to be a problem in Apple's end, since many people have experienced this while a few days ago it all worked flawlessly.
Xcode 6 crashes when validating or submitting app archive
EDIT:
Just confirmed that exporting and using App Loader solves the problem.
Make sure you've accepted all of the new agreements in the Member Center.
see my answer here:
https://stackoverflow.com/a/26027417/258795
Use an old Xcode 5.x or Application Loader for the moment
Here is a workaround to when Xcode won't upload to the App Store:
Export from organizer and saved the .ipa file.
Upload to store with Application Loader.
That should work!

LLDB Makes Xcode 5.1 Crash on Project Run

I've only started using Xcode from this morning, although I have it for a while now. Anyway, for working mostly on C projects I used Netbeans...
To make a long story short, I noticed this morning, right after creating my first project, an OS X C Command Line Application, that when running (CMD + R) my project, Xcode crashes right after building it. It crashes exactly when it's running the project.
It doesn't give any error message, the program just quits. As I am new to Xcode, I have no idea where to find an error log file, I don't even know if there is one. Although if there is one, I would like very much to know where to find it. Searching on google didn't help me at all to locate this file.
First I thought this issue was addressed only to OS X C Command Line Application project. As a result, I tested with several other project types and I've got the same output.
Anyway, I've managed to work around this problem by selecting no debugger for my project in Product -> Scheme -> Edit Scheme -> Run -> Info tab:
However, my projects run now, I still need a debugger, therefore this is not a fix for me.
I have also tried uninstalling and installing back Xcode, but the problem didn't disappear.
Is this a common problem or is it only me? I've seen other people complaining about problems related to mine in previous versions of Xcode, but most have found a valid solution for them that I tried as well but with no luck.
Does anyone know how to fix this issue? I am pretty desperate and the only 'solution' left in my mind is to see if reinstalling the OS will help me, which I would rather not do.
I forgot to mention, I am running the latest version of OS X (10.9.2) on a MacBook Pro Retina 2013 machine. Also, I've got the latest version of Xcode, 5.1 (5B130a).
EDIT
After creating a new user and doing the steps above I managed to get an error message from Xcode:
Process: Xcode [3307]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.1 (5084)
Build Info: IDEFrameworks-5084000000000000~21
App Item ID: 497799835
App External ID: 444172641
Code Type: X86-64 (Native)
Parent Process: launchd [3106]
Responsible: Xcode [3307]
User ID: 502
Date/Time: 2014-04-10 19:02:19.685 +0300
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: B87A6F4C-ADAC-0A40-43D5-CB68FB46397E
Sleep/Wake UUID: 87996F32-190A-4A5F-8E94-BE0F0E902624
Crashed Thread: 10 Dispatch queue: DBGLLDBLauncher Serial Queue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 5B130a
Assertion failed: (out_port != 0), function StartDebugserverProcess, file /SourceCache/lldb/lldb-310.2.36/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp, line 720.
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff89376a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89375d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff93f28155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff93f27779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff93f270b5 CFRunLoopRunSpecific + 309
5 com.apple.HIToolbox 0x00007fff920a4a0d RunCurrentEventLoopInMode + 226
6 com.apple.HIToolbox 0x00007fff920a47b7 ReceiveNextEventCommon + 479
7 com.apple.HIToolbox 0x00007fff920a45bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
8 com.apple.AppKit 0x00007fff8968c3de _DPSNextEvent + 1434
9 com.apple.AppKit 0x00007fff8968ba2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
10 com.apple.dt.DVTKit 0x000000010b50ae31 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 84
11 com.apple.AppKit 0x00007fff8967fb2c -[NSApplication run] + 553
12 com.apple.AppKit 0x00007fff8966a913 NSApplicationMain + 940
13 libdyld.dylib 0x00007fff9237c5fd start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8937b662 kevent64 + 10
1 libdispatch.dylib 0x00007fff90bd143d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff90bd1152 _dispatch_mgr_thread + 52
Thread 3:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff89376a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89375d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff93f28155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff93f27779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff93f270b5 CFRunLoopRunSpecific + 309
5 com.apple.Foundation 0x00007fff890cc967 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
6 com.apple.Foundation 0x00007fff890cc76b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff89376a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89375d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff93f28155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff93f27779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff93f270b5 CFRunLoopRunSpecific + 309
5 com.apple.DTDeviceKitBase 0x0000000113d9540e -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 162
6 com.apple.Foundation 0x00007fff890cc76b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 5:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8937a9aa __select + 10
1 com.apple.CoreFoundation 0x00007fff93f73b83 __CFSocketManager + 867
2 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
3 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
4 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff89376a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89375d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff93f28155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff93f27779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff93f270b5 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff8982c16e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 7:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff89376a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89375d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff93f28155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff93f27779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff93f270b5 CFRunLoopRunSpecific + 309
5 com.apple.Foundation 0x00007fff890ceadc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
6 com.apple.Foundation 0x00007fff891b74aa -[NSRunLoop(NSRunLoop) run] + 74
7 com.apple.GPUToolsMobileFoundation 0x0000000117506e0d -[DYMobileDeviceManager _deviceNotificationThread:] + 134
8 com.apple.Foundation 0x00007fff890cc76b __NSThread__main__ + 1318
9 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
10 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
11 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 8:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff8937a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff900bcc3b _pthread_cond_wait + 727
2 com.apple.CoreVideo 0x00007fff9005fa38 CVDisplayLink::runIOThread() + 656
3 com.apple.CoreVideo 0x00007fff9005f78f startIOThread(void*) + 147
4 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 10 Crashed:: Dispatch queue: DBGLLDBLauncher Serial Queue
0 libsystem_kernel.dylib 0x00007fff8937a866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff900bb35c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff915d6b1a abort + 125
3 libsystem_c.dylib 0x00007fff915a09bf __assert_rtn + 321
4 com.apple.LLDB.framework 0x0000000119b1c4d2 GDBRemoteCommunication::StartDebugserverProcess(char const*, unsigned short, lldb_private::ProcessLaunchInfo&, unsigned short&) + 1738
5 com.apple.LLDB.framework 0x0000000119b232ba ProcessGDBRemote::LaunchAndConnectToDebugserver(lldb_private::ProcessInfo const&) + 216
6 com.apple.LLDB.framework 0x0000000119b23824 ProcessGDBRemote::DoAttachToProcessWithID(unsigned long long, lldb_private::ProcessAttachInfo const&) + 126
7 com.apple.LLDB.framework 0x0000000119bac94b lldb_private::Process::Attach(lldb_private::ProcessAttachInfo&) + 1541
8 com.apple.LLDB.framework 0x0000000119bf4940 PlatformDarwin::Attach(lldb_private::ProcessAttachInfo&, lldb_private::Debugger&, lldb_private::Target*, lldb_private::Listener&, lldb_private::Error&) + 456
9 com.apple.LLDB.framework 0x0000000119ba2ec7 lldb_private::Platform::DebugProcess(lldb_private::ProcessLaunchInfo&, lldb_private::Debugger&, lldb_private::Target*, lldb_private::Listener&, lldb_private::Error&) + 213
10 com.apple.LLDB.framework 0x0000000119bf4724 PlatformDarwin::DebugProcess(lldb_private::ProcessLaunchInfo&, lldb_private::Debugger&, lldb_private::Target*, lldb_private::Listener&, lldb_private::Error&) + 50
11 com.apple.LLDB.framework 0x0000000119bc5869 lldb_private::Target::Launch(lldb_private::Listener&, lldb_private::ProcessLaunchInfo&) + 483
12 com.apple.LLDB.framework 0x00000001188febb4 lldb::SBTarget::Launch(lldb::SBLaunchInfo&, lldb::SBError&) + 502
13 com.apple.dt.dbg.DebuggerLLDB 0x00000001155ce4d1 -[DBGLLDBLauncher _doRegularDebugWithTarget:usingDebugServer:errTargetString:] + 3242
14 com.apple.dt.dbg.DebuggerLLDB 0x00000001155d01ad __24-[DBGLLDBLauncher start]_block_invoke + 4672
15 libdispatch.dylib 0x00007fff90bd21d7 _dispatch_call_block_and_release + 12
16 libdispatch.dylib 0x00007fff90bcf2ad _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff90bd168f _dispatch_queue_drain + 451
18 libdispatch.dylib 0x00007fff90bd29dd _dispatch_queue_invoke + 110
19 libdispatch.dylib 0x00007fff90bd0fa3 _dispatch_root_queue_drain + 75
20 libdispatch.dylib 0x00007fff90bd2193 _dispatch_worker_thread2 + 40
21 libsystem_pthread.dylib 0x00007fff900bbef8 _pthread_wqthread + 314
22 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff8937a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff900bcc77 _pthread_cond_wait + 787
2 com.apple.Foundation 0x00007fff8909d930 -[NSCondition waitUntilDate:] + 344
3 com.apple.Foundation 0x00007fff890947d8 -[NSConditionLock lockWhenCondition:beforeDate:] + 232
4 com.apple.CSServiceClient 0x000000010da15558 -[CSLogger loggerThread:] + 241
5 com.apple.Foundation 0x00007fff890cc76b __NSThread__main__ + 1318
6 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 17:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 18:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 19:
0 libsystem_kernel.dylib 0x00007fff8937ae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff900bbf08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff900befb9 start_wqthread + 13
Thread 20:
0 libsystem_kernel.dylib 0x00007fff8937a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff900bcc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000011295d363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff890cc76b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 21:
0 libsystem_kernel.dylib 0x00007fff8937a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff900bcc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000011295d363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff890cc76b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 22:
0 libsystem_kernel.dylib 0x00007fff8937a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff900bcc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000011295d363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff890cc76b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 23:
0 libsystem_kernel.dylib 0x00007fff8937a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff900bcc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000011295d363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff890cc76b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 24:
0 libsystem_kernel.dylib 0x00007fff8937a716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff900bcc3b _pthread_cond_wait + 727
2 com.apple.Xcode.DevToolsCore 0x000000011295d363 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 524
3 com.apple.Foundation 0x00007fff890cc76b __NSThread__main__ + 1318
4 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
5 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
6 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 25:: <lldb.comm.debugger.input>
0 libsystem_kernel.dylib 0x00007fff8937a9aa __select + 10
1 com.apple.LLDB.framework 0x0000000119a315f0 lldb_private::ConnectionFileDescriptor::BytesAvailable(unsigned int, lldb_private::Error*) + 888
2 com.apple.LLDB.framework 0x0000000119a31052 lldb_private::ConnectionFileDescriptor::Read(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 170
3 com.apple.LLDB.framework 0x0000000119a2f493 lldb_private::Communication::ReadFromConnection(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 97
4 com.apple.LLDB.framework 0x0000000119a2f0f1 lldb_private::Communication::ReadThread(void*) + 147
5 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 26:: <lldb.comm.xcode.lldb.comm>
0 libsystem_kernel.dylib 0x00007fff8937a9aa __select + 10
1 com.apple.LLDB.framework 0x0000000119a315f0 lldb_private::ConnectionFileDescriptor::BytesAvailable(unsigned int, lldb_private::Error*) + 888
2 com.apple.LLDB.framework 0x0000000119a31052 lldb_private::ConnectionFileDescriptor::Read(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 170
3 com.apple.LLDB.framework 0x0000000119a2f493 lldb_private::Communication::ReadFromConnection(void*, unsigned long, unsigned int, lldb::ConnectionStatus&, lldb_private::Error*) + 97
4 com.apple.LLDB.framework 0x0000000119a2f0f1 lldb_private::Communication::ReadThread(void*) + 147
5 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 27:
0 libsystem_kernel.dylib 0x00007fff89376a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89375d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff93f28155 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff93f27779 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff93f270b5 CFRunLoopRunSpecific + 309
5 com.apple.CoreFoundation 0x00007fff93fdc811 CFRunLoopRun + 97
6 com.apple.DebugSymbols 0x00007fff94c437e3 SpotlightQueryThread(void*) + 355
7 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 28:: listen://localhost:0
0 libsystem_kernel.dylib 0x00007fff8937b64a kevent + 10
1 libsystem_info.dylib 0x00007fff8a813d3b _mdns_search + 1184
2 libsystem_info.dylib 0x00007fff8a81a75c mdns_addrinfo + 513
3 libsystem_info.dylib 0x00007fff8a81a52b search_addrinfo + 183
4 libsystem_info.dylib 0x00007fff8a81a2c0 si_addrinfo + 1468
5 libsystem_info.dylib 0x00007fff8a819c5f getaddrinfo + 171
6 com.apple.LLDB.framework 0x0000000119c4edf0 lldb_private::SocketAddress::getaddrinfo(char const*, char const*, int, int, int, int) + 76
7 com.apple.LLDB.framework 0x0000000119a301dd lldb_private::ConnectionFileDescriptor::SocketListen(char const*, lldb_private::Error*) + 521
8 com.apple.LLDB.framework 0x0000000119a2fc39 lldb_private::ConnectionFileDescriptor::Connect(char const*, lldb_private::Error*) + 149
9 com.apple.LLDB.framework 0x0000000119b1bdd1 GDBRemoteCommunication::ListenThread(void*) + 71
10 libsystem_pthread.dylib 0x00007fff900ba899 _pthread_body + 138
11 libsystem_pthread.dylib 0x00007fff900ba72a _pthread_start + 137
12 libsystem_pthread.dylib 0x00007fff900befc9 thread_start + 13
Thread 10 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000011b0c7000 rcx: 0x000000011b0c48b8 rdx: 0x0000000000000000
rdi: 0x0000000000003f5b rsi: 0x0000000000000006 rbp: 0x000000011b0c48e0 rsp: 0x000000011b0c48b8
r8: 0x00007fc91a83ae00 r9: 0x0000000000000227 r10: 0x000000000c000000 r11: 0x0000000000000206
r12: 0x0000000119e6e0f2 r13: 0x0000000119e6e0da r14: 0x0000000000000006 r15: 0x0000000119e6dec0
rip: 0x00007fff8937a866 rfl: 0x0000000000000206 cr2: 0x000000010dc4b000
Logical CPU: 0
Error Code: 0x020000b8
Trap Number: 133
I had the same issue and fixed it. See https://stackoverflow.com/a/14414016/968427.
Check the /etc/hosts file and ensure the host(127.0.0.1 localhost) is exists.
Apparently, this wasn't a common issue, it was only affecting me.
They only way I managed to make Xcode work as supposed was to delete the app and reinstall the whole OS.
UPDATE
The bug appeared again shortly after I installed Xcode again. Therefore, I opted for a full reinstall of the OS (format the hard drive as well).
Nevertheless, after a few weeks the bug appeared again. Anyway, this time I noticed why this is occurring. The reason for that is something related with MAMP PRO MySQL port. Only if I have MAMP PRO MySQL server running, Xcode works.

Xcode systemic crash on open project - how to reset Xcode assistant editor?

I've ran into an issue where whenever I open the assistant editor (second code panel) in Xcode, it crashes and gives me an option to reopen Xcode.
Xcode quit unexpectedly
reading the report,seems that CVDisplayLink is to blame
Version 5.0.2 (5A3005)
Is there a way to reset which class is displayed in the 2nd panel?
Process: Xcode [508]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.0.2 (3335.32)
Build Info: IDEApplication-3335032000000000~4
App Item ID: 497799835
App External ID: 106632651
Code Type: X86-64 (Native)
Parent Process: launchd [131]
User ID: 501
Date/Time: 2014-01-14 12:33:28.087 -0500
OS Version: Mac OS X 10.8.5 (12F45)
Report Version: 10
Interval Since Last Report: 4527 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 444 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: F0403235-5ECB-ADEA-6618-E5526B9FE281
Crashed Thread: 22 CVDisplayLink
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Application Specific Information:
ProductBuildVersion: 5A3005
Thread 0:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fff886c1372 objc_retain + 18
1 com.apple.dt.DVTKit 0x000000010bf29e59 -[DVTBindingHelper primitiveValueForBinding:] + 88
2 com.apple.dt.DVTKit 0x000000010bf29d44 -[DVTBindingHelper valueForBinding:] + 48
3 com.apple.dt.DVTKit 0x000000010bf2379c -[NSObject(DVTBindingUtilities) updateBoundValueForBinding:] + 227
4 com.apple.dt.DVTKit 0x000000010bf235ec -[DVTBindingHelper observeValueForKeyPath:ofObject:change:context:] + 252
5 com.apple.dt.DVTFoundation 0x000000010b9d0839 -[DVTObservableObjectProxy setRepresentedObject:] + 561
6 com.apple.dt.IDEKit 0x000000010cb1a8a6 -[_IDENavigatorOutlineViewDataSource outlineView:willDisplayCell:forTableColumn:item:] + 280
7 com.apple.AppKit 0x00007fff865c1439 -[NSTableView preparedCellAtColumn:row:] + 1573
8 com.apple.AppKit 0x00007fff865c0c1c -[NSOutlineView preparedCellAtColumn:row:] + 56
9 com.apple.dt.DVTKit 0x000000010bf7ed1f -[DVTOutlineView preparedCellAtColumn:row:] + 54
10 com.apple.dt.IDEKit 0x000000010cc6287e -[IDENavigatorOutlineView preparedCellAtColumn:row:] + 54
11 com.apple.AppKit 0x00007fff865c0b27 -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 47
12 com.apple.AppKit 0x00007fff865c0a9b -[NSOutlineView _drawContentsAtRow:column:withCellFrame:] + 94
13 com.apple.AppKit 0x00007fff865bf55e -[NSTableView drawRow:clipRect:] + 2131
14 com.apple.AppKit 0x00007fff865af3e3 -[NSTableView drawRowIndexes:clipRect:] + 397
15 com.apple.AppKit 0x00007fff865af241 -[NSOutlineView drawRowIndexes:clipRect:] + 113
16 com.apple.AppKit 0x00007fff865addc6 -[NSTableView drawRect:] + 1269
17 com.apple.dt.IDEKit 0x000000010cb18db2 -[IDENavigatorOutlineView drawRect:] + 312
18 com.apple.AppKit 0x00007fff86492064 -[NSView _drawRect:clip:] + 4217
19 com.apple.AppKit 0x00007fff864906c1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1656
20 com.apple.AppKit 0x00007fff86490ad9 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2704
21 com.apple.AppKit 0x00007fff8648e6f2 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 817
22 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
23 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
24 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
25 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
26 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
27 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
28 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
29 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
30 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
31 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
32 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
33 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
34 com.apple.AppKit 0x00007fff8648fa44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5763
35 com.apple.AppKit 0x00007fff8648e143 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 314
36 com.apple.AppKit 0x00007fff86489d6d -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4675
37 com.apple.AppKit 0x00007fff86453c93 -[NSView displayIfNeeded] + 1830
38 com.apple.AppKit 0x00007fff864531cc _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 738
39 com.apple.AppKit 0x00007fff86a1e901 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke_01208 + 46
40 com.apple.CoreFoundation 0x00007fff87bf0417 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
41 com.apple.CoreFoundation 0x00007fff87bf0381 __CFRunLoopDoObservers + 369
42 com.apple.CoreFoundation 0x00007fff87bcb7b8 __CFRunLoopRun + 728
43 com.apple.CoreFoundation 0x00007fff87bcb0e2 CFRunLoopRunSpecific + 290
44 com.apple.HIToolbox 0x00007fff8975feb4 RunCurrentEventLoopInMode + 209
45 com.apple.HIToolbox 0x00007fff8975fc52 ReceiveNextEventCommon + 356
46 com.apple.HIToolbox 0x00007fff8975fae3 BlockUntilNextEventMatchingListInMode + 62
47 com.apple.AppKit 0x00007fff86450533 _DPSNextEvent + 685
48 com.apple.AppKit 0x00007fff8644fdf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
49 com.apple.AppKit 0x00007fff864471a3 -[NSApplication run] + 517
50 com.apple.AppKit 0x00007fff863ebbd6 NSApplicationMain + 869
51 libdyld.dylib 0x00007fff80b537e1 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff846d3d16 kevent + 10
1 libdispatch.dylib 0x00007fff890c0dea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff890c09ee _dispatch_mgr_thread + 54
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff846d1686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff846d0c42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff87bc6233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff87bcb916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff87bcb0e2 CFRunLoopRunSpecific + 290
5 com.apple.Foundation 0x00007fff82cde546 +[NSURLConnection(Loader) _resourceLoadLoop:] + 356
6 com.apple.Foundation 0x00007fff82d3c562 __NSThread__main__ + 1345
7 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
8 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff846d1686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff846d0c42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff87bc6233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff87bcb916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff87bcb0e2 CFRunLoopRunSpecific + 290
5 com.apple.DTDeviceKitBase 0x000000011328d81a -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 164
6 com.apple.Foundation 0x00007fff82d3c562 __NSThread__main__ + 1345
7 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
8 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 4:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff846d3322 __select + 10
1 com.apple.CoreFoundation 0x00007fff87c0af46 __CFSocketManager + 1302
2 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
3 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 5:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff846d1686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff846d0c42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff87bc6233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff87bcb916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff87bcb0e2 CFRunLoopRunSpecific + 290
5 com.apple.Foundation 0x00007fff82d417ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
6 com.apple.Foundation 0x00007fff82cda1aa -[NSRunLoop(NSRunLoop) run] + 74
7 com.apple.GPUToolsMobileFoundation 0x000000011735b96b -[DYMobileDeviceManager _deviceNotificationThread:] + 132
8 com.apple.Foundation 0x00007fff82d3c562 __NSThread__main__ + 1345
9 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 6:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff846d30fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8aa35fb9 _pthread_cond_wait + 869
2 com.apple.CoreVideo 0x00007fff851532a1 CVDisplayLink::runIOThread() + 689
3 com.apple.CoreVideo 0x00007fff85152fd7 startIOThread(void*) + 148
4 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
5 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 7:: com.apple.CoreAnimation.render-server
0 libsystem_kernel.dylib 0x00007fff846d1686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff846d0c42 mach_msg + 70
2 com.apple.QuartzCore 0x00007fff815d217b CA::Render::Server::server_thread(void*) + 403
3 com.apple.QuartzCore 0x00007fff81656dc6 thread_fun + 25
4 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
5 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff846d30fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8aa35fb9 _pthread_cond_wait + 869
2 com.apple.Xcode.DevToolsCore 0x0000000111ac5fd6 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 506
3 com.apple.Foundation 0x00007fff82d3c562 __NSThread__main__ + 1345
4 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
5 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff846d30fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8aa35fb9 _pthread_cond_wait + 869
2 com.apple.Xcode.DevToolsCore 0x0000000111ac5fd6 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 506
3 com.apple.Foundation 0x00007fff82d3c562 __NSThread__main__ + 1345
4 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
5 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff846d30fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8aa35fb9 _pthread_cond_wait + 869
2 com.apple.Xcode.DevToolsCore 0x0000000111ac5fd6 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 506
3 com.apple.Foundation 0x00007fff82d3c562 __NSThread__main__ + 1345
4 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
5 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff846d36d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8aa33f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8aa33ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8aa1e191 start_wqthread + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff846d36d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8aa33f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8aa33ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8aa1e191 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff846d36d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8aa33f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8aa33ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8aa1e191 start_wqthread + 13
Thread 14:: JavaScriptCore::BlockFree
0 libsystem_kernel.dylib 0x00007fff846d30fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8aa35fb9 _pthread_cond_wait + 869
2 com.apple.JavaScriptCore 0x00007fff8127fb66 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 118
3 com.apple.JavaScriptCore 0x00007fff814a2bfa JSC::BlockAllocator::blockFreeingThreadMain() + 90
4 com.apple.JavaScriptCore 0x00007fff814b825f WTF::wtfThreadEntryPoint(void*) + 15
5 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 15:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x00007fff846d30fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8aa35fb9 _pthread_cond_wait + 869
2 com.apple.JavaScriptCore 0x00007fff814059d4 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 212
3 com.apple.JavaScriptCore 0x00007fff814058b6 JSC::MarkStackThreadSharedData::markingThreadMain() + 214
4 com.apple.JavaScriptCore 0x00007fff814b825f WTF::wtfThreadEntryPoint(void*) + 15
5 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 16:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x00007fff846d30fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8aa35fb9 _pthread_cond_wait + 869
2 com.apple.JavaScriptCore 0x00007fff814059d4 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 212
3 com.apple.JavaScriptCore 0x00007fff814058b6 JSC::MarkStackThreadSharedData::markingThreadMain() + 214
4 com.apple.JavaScriptCore 0x00007fff814b825f WTF::wtfThreadEntryPoint(void*) + 15
5 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 17:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x00007fff846d30fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8aa35fb9 _pthread_cond_wait + 869
2 com.apple.JavaScriptCore 0x00007fff814059d4 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 212
3 com.apple.JavaScriptCore 0x00007fff814058b6 JSC::MarkStackThreadSharedData::markingThreadMain() + 214
4 com.apple.JavaScriptCore 0x00007fff814b825f WTF::wtfThreadEntryPoint(void*) + 15
5 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 18:
0 libsystem_kernel.dylib 0x00007fff846d36d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8aa33f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8aa33ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8aa1e191 start_wqthread + 13
Thread 19:
0 libsystem_kernel.dylib 0x00007fff846d36d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8aa33f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8aa33ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8aa1e191 start_wqthread + 13
Thread 20:
0 libsystem_kernel.dylib 0x00007fff846d36d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8aa33f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8aa33ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8aa1e191 start_wqthread + 13
Thread 21:
0 libsystem_kernel.dylib 0x00007fff846d36d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8aa33f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8aa33ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8aa1e191 start_wqthread + 13
Thread 22 Crashed:: CVDisplayLink
0 libobjc.A.dylib 0x00007fff886c136e objc_retain + 14
1 com.apple.SpriteKit 0x0000000119a9521a _cvDisplayLinkCallback + 25
2 com.apple.CoreVideo 0x00007fff8515400b CVDisplayLink::performIO(CVTimeStamp*) + 203
3 com.apple.CoreVideo 0x00007fff85153271 CVDisplayLink::runIOThread() + 641
4 com.apple.CoreVideo 0x00007fff85152fd7 startIOThread(void*) + 148
5 libsystem_c.dylib 0x00007fff8aa31772 _pthread_start + 327
6 libsystem_c.dylib 0x00007fff8aa1e1a1 thread_start + 13
Thread 22 crashed with X86 Thread State (64-bit):
rax: 0x3000000000000000 rbx: 0x000000012450dd80 rcx: 0x0000000000000000 rdx: 0x000000012450dc78
rdi: 0x00007fca0abb7730 rsi: 0x000000012450dd80 rbp: 0x000000012450dc10 rsp: 0x000000012450dbe8
r8: 0x000000012450dcc8 r9: 0x00007fca0abb7730 r10: 0x0000000000000000 r11: 0x00007fff70a14250
r12: 0x00007fca093b46a0 r13: 0x00007fff85153d94 r14: 0x000000012450dc78 r15: 0x0000000119a95201
rip: 0x00007fff886c136e rfl: 0x0000000000000246 cr2: 0xffffff80d2cded20
Logical CPU: 0
I found this answer on the Apple Dev Forums, and it seemed to work for me:
Navigate to the folder where your .xcodeproj or . xcworkspace is (for CocoaPods projects)
Right click on .xcodeproj and select "Show package contents"
Delete xuserdata folder
Delete project.xcworkspace
Repeat for .xcworkspace
Now you can reopen the project or workspace with a blank screen and assistant editor minimized.
Original answer

Webview crash with Garbage Collector ON

I have a very specific web page that causes webview to crash with the Garnage Collector ON (does not crash when OFF).
Easy to reproduce: create a document base application, drop a webview, and have the following line (button perhaps).
- (void)connectSearch:(id)sender
{
[[webView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:#"http://apple.com"]]];
}
I guess this scenario is only valid while Apple advertises their new iPad. At the bottom of the page there is two video you can watch. Click on the one on the right. When it is playing, click on the Close button (link) top left - which sends #SwapViewPreviousSelection - and that's it, it crashes.
I'm just learning about the garbage collector but I suspect something is collected that should not.
Any idea what can prevent the crash, other than turning off the garbage collector?
Thank you.
Here is what I get:
Identifier: com.yourcompany.wb
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: launchd [163]
Date/Time: 2010-02-15 12:26:31.069 -0500
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Interval Since Last Report: 432447 sec
Crashes Since Last Report: 7
Per-App Interval Since Last Report: 2938 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: CC123A77-1407-444A-9081-8A2B7C15C2B6
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
objc[70635]: garbage collection is ON
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff82e0a788 CFRetain + 200
1 com.apple.QuartzCore 0x00007fff81677a98 -[CALayer setSublayers:] + 486
2 com.apple.WebCore 0x00007fff87c792a1 WebCore::GraphicsLayerCA::updateSublayerList() + 433
3 com.apple.WebCore 0x00007fff87c7ebd8 WebCore::GraphicsLayerCA::commitLayerChanges() + 840
4 com.apple.WebCore 0x00007fff87c7ed05 WebCore::GraphicsLayerCA::recursiveCommitChanges() + 21
5 com.apple.WebCore 0x00007fff87c7ed31 WebCore::GraphicsLayerCA::recursiveCommitChanges() + 65
6 com.apple.WebCore 0x00007fff87705296 WebCore::FrameView::paintContents(WebCore::GraphicsContext*, WebCore::IntRect const&) + 390
7 com.apple.WebKit 0x00007fff81b3d205 -[WebFrame(WebInternal) _drawRect:contentsOnly:] + 149
8 com.apple.WebKit 0x00007fff81b3ce77 -[WebHTMLView drawSingleRect:] + 455
9 com.apple.WebKit 0x00007fff81b3cc16 -[WebHTMLView drawRect:] + 566
10 com.apple.AppKit 0x00007fff8597b05e -[NSView _drawRect:clip:] + 3566
11 com.apple.AppKit 0x00007fff85978834 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 2112
12 com.apple.WebKit 0x00007fff81b3dd6b -[WebHTMLView(WebPrivate) _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 299
13 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
14 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
15 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
16 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
17 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
18 com.apple.AppKit 0x00007fff859791bf -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4555
19 com.apple.AppKit 0x00007fff85977e17 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 254
20 com.apple.AppKit 0x00007fff859746bf -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
21 com.apple.AppKit 0x00007fff858edf37 -[NSView displayIfNeeded] + 969
22 com.apple.AppKit 0x00007fff858e8dde _handleWindowNeedsDisplay + 678
23 com.apple.CoreFoundation 0x00007fff82e74427 __CFRunLoopDoObservers + 519
24 com.apple.CoreFoundation 0x00007fff82e502d4 __CFRunLoopRun + 468
25 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
26 com.apple.HIToolbox 0x00007fff88192a4e RunCurrentEventLoopInMode + 333
27 com.apple.HIToolbox 0x00007fff881927b1 ReceiveNextEventCommon + 148
28 com.apple.HIToolbox 0x00007fff8819270c BlockUntilNextEventMatchingListInMode + 59
29 com.apple.AppKit 0x00007fff858be1f2 _DPSNextEvent + 708
30 com.apple.AppKit 0x00007fff858bdb41 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
31 com.apple.AppKit 0x00007fff85883747 -[NSApplication run] + 395
32 com.apple.AppKit 0x00007fff8587c468 NSApplicationMain + 364
33 com.yourcompany.wb 0x0000000100001c86 main + 33 (main.m:14)
34 com.yourcompany.wb 0x0000000100001a44 start + 52
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff8874bbba kevent + 10
1 libSystem.B.dylib 0x00007fff8874da85 _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff8874d75c _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff8874d286 _dispatch_worker_thread2 + 244
4 libSystem.B.dylib 0x00007fff8874cbb8 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff8874ca55 start_wqthread + 13
Thread 2: JavaScriptCore: FastMalloc scavenger
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.JavaScriptCore 0x00007fff80ae62b3 WTF::TCMalloc_PageHeap::scavengerThread() + 515
3 com.apple.JavaScriptCore 0x00007fff80ae62f9 WTF::TCMalloc_PageHeap::runScavengerThread(void*) + 9
4 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
5 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 3:
0 libSystem.B.dylib 0x00007fff8874c9da __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff8874cdec _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff8874ca55 start_wqthread + 13
Thread 4:
0 libSystem.B.dylib 0x00007fff88732e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff887334ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff82e507a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
4 com.apple.Foundation 0x00007fff800de4cf +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 297
5 com.apple.Foundation 0x00007fff8005ee99 __NSThread__main__ + 1429
6 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
7 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 5:
0 libSystem.B.dylib 0x00007fff887769e2 select$DARWIN_EXTSN + 10
1 com.apple.CoreFoundation 0x00007fff82e72242 __CFSocketManager + 818
2 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
3 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 6:
0 libSystem.B.dylib 0x00007fff8874c9da __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff8874cdec _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff8874ca55 start_wqthread + 13
Thread 7:
0 libSystem.B.dylib 0x00007fff8873d426 read + 10
1 com.apple.CoreFoundation 0x00007fff82eb1ae0 __CFSocketRead + 544
2 com.apple.CFNetwork 0x00007fff88bba667 __CFSocketReadWithError(__CFSocket*, unsigned char*, long, CFStreamError*) + 35
3 com.apple.CFNetwork 0x00007fff88bba397 SocketStream::read(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*) + 699
4 com.apple.CoreFoundation 0x00007fff82e3ffac CFReadStreamRead + 540
5 com.apple.CFNetwork 0x00007fff88bd3dc1 HTTPReadFilter::doPlainRead(unsigned char*, long, CFStreamError*, unsigned char*) + 307
6 com.apple.CFNetwork 0x00007fff88bd3c59 HTTPReadFilter::streamRead(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*) + 469
7 com.apple.CoreFoundation 0x00007fff82e3ffac CFReadStreamRead + 540
8 com.apple.CFNetwork 0x00007fff88bd39e6 HTTPNetStreamInfo::streamRead(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*) + 562
9 com.apple.CoreFoundation 0x00007fff82e3ffac CFReadStreamRead + 540
10 com.apple.CFNetwork 0x00007fff88c23892 HTTPReadStream::streamRead(__CFReadStream*, unsigned char*, long, CFStreamError*, unsigned char*) + 82
11 com.apple.CoreFoundation 0x00007fff82e3ffac CFReadStreamRead + 540
12 com.apple.MediaToolbox 0x00007fff86b59a6f FigCFHTTPReadResponse + 855
13 com.apple.CoreFoundation 0x00007fff82eb1503 _signalEventSync + 115
14 com.apple.CoreFoundation 0x00007fff82eb1474 _cfstream_solo_signalEventSync + 116
15 com.apple.CFNetwork 0x00007fff88c228fd HTTPReadStream::streamEvent(unsigned long) + 163
16 com.apple.CoreFoundation 0x00007fff82eb1503 _signalEventSync + 115
17 com.apple.CoreFoundation 0x00007fff82eb1474 _cfstream_solo_signalEventSync + 116
18 com.apple.CoreFoundation 0x00007fff82e52271 __CFRunLoopDoSources0 + 1361
19 com.apple.CoreFoundation 0x00007fff82e50469 __CFRunLoopRun + 873
20 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
21 com.apple.CoreFoundation 0x00007fff82e4f9b6 CFRunLoopRun + 70
22 com.apple.CoreMedia 0x00007fff803d4702 FigThreadGlobalNetworkBufferingRunloop + 119
23 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
24 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 8:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86aee8c7 FigAIORequestThread + 398
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 9:
0 libSystem.B.dylib 0x00007fff8874c9da __workq_kernreturn + 10
1 libSystem.B.dylib 0x00007fff8874cdec _pthread_wqthread + 917
2 libSystem.B.dylib 0x00007fff8874ca55 start_wqthread + 13
Thread 10:
0 libSystem.B.dylib 0x00007fff88732e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff887334ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff82e507a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
4 com.apple.CoreFoundation 0x00007fff82e4f9b6 CFRunLoopRun + 70
5 com.apple.QTKit 0x00007fff830d0c49 QTFigVisualContextImageProviderWorkThread + 342
6 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
7 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 11:
0 libSystem.B.dylib 0x00007fff88732e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff887334ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff82e507a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
4 ....audio.toolbox.AudioToolbox 0x00007fff8416267a GenericRunLoopThread::RunLoop() + 42
5 ....audio.toolbox.AudioToolbox 0x00007fff841629f0 GenericRunLoopThread::Run() + 140
6 ....audio.toolbox.AudioToolbox 0x00007fff8412ded5 CAPThread::Entry(CAPThread*) + 67
7 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
8 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 12:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86afd4dd faq_EnqueueSourceDataThread + 44
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 13:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86b9b03b activitySchedulerOnThread + 69
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 14:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86b26d49 audioMentorThread + 6000
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 15:
0 libSystem.B.dylib 0x00007fff8876d9ee __semwait_signal + 10
1 libSystem.B.dylib 0x00007fff887717f1 _pthread_cond_wait + 1286
2 com.apple.CoreMedia 0x00007fff803d5947 WaitOnCondition + 14
3 com.apple.CoreMedia 0x00007fff803d5b13 FigSemaphoreWaitRelative + 167
4 com.apple.MediaToolbox 0x00007fff86b3003a videoMentorThread + 5700
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 16:
0 libSystem.B.dylib 0x00007fff88732e3a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff887334ad mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff82e507a2 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff82e4fc2f CFRunLoopRunSpecific + 575
4 com.apple.CoreFoundation 0x00007fff82e4f9b6 CFRunLoopRun + 70
5 com.apple.QTKit 0x00007fff830cfad4 QTCALayerRendererPendingQWorkLoop + 534
6 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
7 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 17:
0 libSystem.B.dylib 0x00007fff88732e76 semaphore_wait_trap + 10
1 com.apple.VideoToolbox 0x00007fff80487f25 JVTLib_100988 + 11
2 com.apple.VideoToolbox 0x00007fff804d61d8 JVTLib_101021(void*) + 60
3 com.apple.VideoToolbox 0x00007fff804882f4 JVTLib_100971 + 552
4 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
5 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 18:
0 libSystem.B.dylib 0x00007fff88732e76 semaphore_wait_trap + 10
1 com.apple.VideoToolbox 0x00007fff80487f25 JVTLib_100988 + 11
2 com.apple.VideoToolbox 0x00007fff804d61d8 JVTLib_101021(void*) + 60
3 com.apple.VideoToolbox 0x00007fff804882f4 JVTLib_100971 + 552
4 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
5 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 19:
0 libSystem.B.dylib 0x00007fff88732e9a semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x00007fff887716e2 _pthread_cond_wait + 1015
2 com.apple.CoreVideo 0x00007fff83d2988c CVDisplayLink::waitUntil(unsigned long long) + 252
3 com.apple.CoreVideo 0x00007fff83d28d91 CVDisplayLink::runIOThread() + 619
4 com.apple.CoreVideo 0x00007fff83d28aeb startIOThread(void*) + 139
5 libSystem.B.dylib 0x00007fff8876bf8e _pthread_start + 331
6 libSystem.B.dylib 0x00007fff8876be41 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000018
rdi: 0x0000000000000000 rsi: 0x000000020070f7d8 rbp: 0x00007fff5fbfbcf0 rsp: 0x00007fff5fbfbce0
r8: 0x00000001010e48d0 r9: 0x000000000000f740 r10: 0x00000001010e42f0 r11: 0x00007fff87d9ca50
r12: 0x0000000101238600 r13: 0x0000000000000000 r14: 0x000000020070f7c0 r15: 0x0000000000000000
rip: 0x00007fff82e0a788 rfl: 0x0000000000000246 cr2: 0x00007fff702c13c8
The stack trace in your question is evidencing a known (and fixed) bug in WebKit
https://bugs.webkit.org/show_bug.cgi?id=31429

Resources