XCode 4.5 quit unexpectedly ASSERTION FAILURE - iphone

My XCode crashes and crashes and crashes and i can't open my project here is the error that i receive
Process: Xcode [883]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.5 (1839)
Build Info: IDEApplication-1839000000000000~3
App Item ID: 497799835
App External ID: 10747437
Code Type: X86-64 (Native)
Parent Process: launchd [110]
Date/Time: 2012-10-04 14:53:34.748 +0300
OS Version: Mac OS X 10.7.5 (11G56)
Report Version: 9
Interval Since Last Report: 2021 sec
Crashes Since Last Report: 9
Per-App Interval Since Last Report: 358 sec
Per-App Crashes Since Last Report: 9
Anonymous UUID: E9E2BB86-81A1-404E-90D8-B7F32880697C
Crashed Thread: 13 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4G182
ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-1877/Framework/Classes/Model/SourceControl/IDESourceControlWorkspaceMonitor.m:1054
Details: Attempted to add repository (IDESourceControlRepository) Name:192.168.1, Type:Subversion, Location:svn://192.168.1.20 when (IDESourceControlRepository) Name:192.168.1, Type:Subversion, Location:svn://192.168.1.20 already existed.
Object: <IDESourceControlWorkspaceMonitor: 0x402515500>
Method: -_findWorkingTreesForFilePath:
Thread: <NSThread: 0x402c1fe40>{name = (null), num = 11}
Hints: None
Backtrace:
0 0x000000010e6ad7ef -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010d9752a5 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010e20bcfd __block_global_5 (in IDEFoundation)
3 0x00007fff922a3ae1 -[NSBlockOperation main] (in Foundation)
4 0x00007fff9226a6b4 -[__NSOperationInternal start] (in Foundation)
5 0x00007fff9227d912 ____NSOQSchedule_block_invoke_2 (in Foundation)
6 0x00007fff8c619a82 _dispatch_call_block_and_release (in libdispatch.dylib)
7 0x00007fff8c61a961 _dispatch_worker_thread2 (in libdispatch.dylib)
8 0x00007fff937ac3da _pthread_wqthread (in libsystem_c.dylib)
9 0x00007fff937adb85 start_wqthread (in libsystem_c.dylib)
objc[883]: garbage collection is ON
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff8b25c27d CFAllocatorDeallocate + 221
1 com.apple.CoreFoundation 0x00007fff8b28b4c6 CFRunLoopRunSpecific + 294
2 com.apple.HIToolbox 0x00007fff88a1a2bf RunCurrentEventLoopInMode + 277
3 com.apple.HIToolbox 0x00007fff88a214bf ReceiveNextEventCommon + 181
4 com.apple.HIToolbox 0x00007fff88a213fa BlockUntilNextEventMatchingListInMode + 62
5 com.apple.AppKit 0x00007fff8a013779 _DPSNextEvent + 659
6 com.apple.AppKit 0x00007fff8a01307d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
7 com.apple.AppKit 0x00007fff8a00f9b9 -[NSApplication run] + 470
8 com.apple.AppKit 0x00007fff8a28beac NSApplicationMain + 867
9 com.apple.dt.Xcode 0x000000010d8e6d17 0x10d8e5000 + 7447
10 com.apple.dt.Xcode 0x000000010d8e6ca8 0x10d8e5000 + 7336
Thread 1:: Dispatch queue: IDE Source Control Workspace Scanning Queue
0 libsystem_kernel.dylib 0x00007fff89c1fbca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff937ae2a6 _pthread_cond_wait + 890
2 com.apple.Foundation 0x00007fff922aba5c -[NSCondition waitUntilDate:] + 371
3 com.apple.Foundation 0x00007fff9227522e -[NSConditionLock lockWhenCondition:beforeDate:] + 251
4 com.apple.dt.IDEFoundation 0x000000010e20b782 __block_global_3 + 1154
5 com.apple.dt.IDEFoundation 0x000000010e172d00 -[IDESourceControlManager remoteRootPathForFilePath:sourceControlExtension:completionBlock:] + 1277
6 com.apple.dt.IDEFoundation 0x000000010e16378a -[IDESourceControlManager workingTreeRootForFilePath:sourceControlExtension:completionBlock:] + 1591
7 com.apple.dt.IDEFoundation 0x000000010e1633fc -[IDESourceControlManager workingTreeRootForFilePath:sourceControlExtension:completionBlock:] + 681
8 com.apple.dt.IDEFoundation 0x000000010e11aa99 -[IDESourceControlManager workingTreeRootForFilePath:completionBlock:] + 130
9 com.apple.dt.IDEFoundation 0x000000010e20b2f3 __65-[IDESourceControlWorkspaceMonitor _findWorkingTreesForFilePath:]_block_invoke_0 + 602
10 com.apple.dt.IDEFoundation 0x000000010e1c0a3e __66-[IDESourceControlManager workingTreeForFilePath:completionBlock:]_block_invoke_0426 + 1411
11 com.apple.Foundation 0x00007fff922a3ae1 -[NSBlockOperation main] + 116
12 com.apple.dt.IDEFoundation 0x000000010e159232 -[IDESourceControlManager performRequest:waitUntilFinished:withCompletionBlock:] + 761
13 com.apple.dt.IDEFoundation 0x000000010e172b47 -[IDESourceControlManager remoteRootPathForFilePath:sourceControlExtension:completionBlock:] + 836
14 com.apple.dt.IDEFoundation 0x000000010e16378a -[IDESourceControlManager workingTreeRootForFilePath:sourceControlExtension:completionBlock:] + 1591
15 com.apple.dt.IDEFoundation 0x000000010e1196b6 -[IDESourceControlManager workingTreeForFilePath:completionBlock:] + 811
16 com.apple.dt.IDEFoundation 0x000000010e119583 -[IDESourceControlManager workingTreeForFilePath:completionBlock:] + 504
17 com.apple.dt.IDEFoundation 0x000000010e11916f -[IDESourceControlWorkspaceMonitor _findWorkingTreesForFilePath:] + 268
18 libdispatch.dylib 0x00007fff8c619a82 _dispatch_call_block_and_release + 18
19 libdispatch.dylib 0x00007fff8c61b2d2 _dispatch_queue_drain + 264
20 libdispatch.dylib 0x00007fff8c61b12e _dispatch_queue_invoke + 54
21 libdispatch.dylib 0x00007fff8c61a928 _dispatch_worker_thread2 + 198
22 libsystem_c.dylib 0x00007fff937ac3da _pthread_wqthread + 316
23 libsystem_c.dylib 0x00007fff937adb85 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff89c207e6 kevent + 10
1 libdispatch.dylib 0x00007fff8c61b786 _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8c61a316 _dispatch_mgr_thread + 54
Thread 3:
0 libsystem_kernel.dylib 0x00007fff89c20192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff937ac594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff937adb85 start_wqthread + 13
Thread 4:: Dispatch queue: com.apple.root.low-priority
0 com.apple.Foundation 0x00007fff92228893 _NSResolveSymlinksInPathUsingCache + 857
1 com.apple.Foundation 0x00007fff922283f9 -[NSString(NSPathUtilities) _stringByResolvingSymlinksInPathUsingCache:] + 124
2 com.apple.dt.IDEFoundation 0x000000010e1150e3 -[NSString(IDEIndexAdditions) ideIndex_stringByResolvingSymlinksInPath] + 54
3 com.apple.dt.IDEFoundation 0x000000010e112606 +[IDEIndexingEngine runLoadJob:] + 315
4 com.apple.dt.IDEFoundation 0x000000010e135e0b -[IDEIndexingJob run] + 99
5 com.apple.dt.IDEFoundation 0x000000010e25c0fa __40-[IDEIndexingJobScheduler _scheduleJobs]_block_invoke_0 + 31
6 com.apple.dt.DVTFoundation 0x000000010d998d20 __DVTDispatchAsync_block_invoke_0 + 16
7 libdispatch.dylib 0x00007fff8c619a82 _dispatch_call_block_and_release + 18
8 libdispatch.dylib 0x00007fff8c61a961 _dispatch_worker_thread2 + 255
9 libsystem_c.dylib 0x00007fff937ac3da _pthread_wqthread + 316
10 libsystem_c.dylib 0x00007fff937adb85 start_wqthread + 13
Thread 5:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff89c1e6b6 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff8c61d0c4 _dispatch_group_wait_slow + 91
2 com.apple.dt.IDEFoundation 0x000000010e20ae12 __51-[IDESourceControlWorkspaceMonitor _startScanTimer]_block_invoke_0 + 65
3 com.apple.dt.DVTFoundation 0x000000010d999370 __DVTDispatchSourceSetEventHandler_block_invoke_0 + 16
4 libdispatch.dylib 0x00007fff8c61e497 _dispatch_source_invoke + 649
5 libdispatch.dylib 0x00007fff8c61b13f _dispatch_queue_invoke + 71
6 libdispatch.dylib 0x00007fff8c61a928 _dispatch_worker_thread2 + 198
7 libsystem_c.dylib 0x00007fff937ac3da _pthread_wqthread + 316
8 libsystem_c.dylib 0x00007fff937adb85 start_wqthread + 13
Thread 6:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff89c1e67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89c1dd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff8b28350c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff8b28bc74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff8b28b486 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff92287fd7 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335
6 com.apple.Foundation 0x00007fff9227c72a -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff9227c6a2 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff937aa8bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff937adb75 thread_start + 13
Thread 7:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff89c1fdf2 __select + 10
1 com.apple.CoreFoundation 0x00007fff8b2d4c8b __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff937aa8bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff937adb75 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff89c1e67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89c1dd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff8b28350c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff8b28bc74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff8b28b486 CFRunLoopRunSpecific + 230
5 com.apple.DTDeviceKit 0x00000001159b5cff -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 298
6 com.apple.Foundation 0x00007fff9227c72a -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff9227c6a2 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff937aa8bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff937adb75 thread_start + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff89c20192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff937ac594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff937adb85 start_wqthread + 13
Thread 10:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff89c1e67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89c1dd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff8b28350c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff8b28bc74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff8b28b486 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff9222df7b -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
6 com.apple.Foundation 0x00007fff9222de67 -[NSRunLoop(NSRunLoop) run] + 62
7 com.apple.Foundation 0x00007fff9227c72a -[NSThread main] + 68
8 com.apple.Foundation 0x00007fff9227c6a2 __NSThread__main__ + 1575
9 libsystem_c.dylib 0x00007fff937aa8bf _pthread_start + 335
10 libsystem_c.dylib 0x00007fff937adb75 thread_start + 13
Thread 11:
0 libsystem_c.dylib 0x00007fff937adb78 start_wqthread + 0
Thread 12:
0 libsystem_kernel.dylib 0x00007fff89c20192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff937ac594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff937adb85 start_wqthread + 13
Thread 13 Crashed:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff89c1fce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff937ac7d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff9379da7a abort + 143
3 com.apple.dt.IDEKit 0x000000010e6ad25f +[IDEAssertionHandler _handleAssertionWithLogString:] + 596
4 com.apple.dt.DVTFoundation 0x000000010d9752a5 _DVTAssertionFailureHandler + 128
5 com.apple.dt.IDEFoundation 0x000000010e20bcfd __block_global_5 + 696
6 com.apple.Foundation 0x00007fff922a3ae1 -[NSBlockOperation main] + 116
7 com.apple.Foundation 0x00007fff9226a6b4 -[__NSOperationInternal start] + 705
8 com.apple.Foundation 0x00007fff9227d912 ____NSOQSchedule_block_invoke_2 + 124
9 libdispatch.dylib 0x00007fff8c619a82 _dispatch_call_block_and_release + 18
10 libdispatch.dylib 0x00007fff8c61a961 _dispatch_worker_thread2 + 255
11 libsystem_c.dylib 0x00007fff937ac3da _pthread_wqthread + 316
12 libsystem_c.dylib 0x00007fff937adb85 start_wqthread + 13
Thread 14:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff89c1fbca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff937ae2a6 _pthread_cond_wait + 890
2 com.apple.CoreVideo 0x00007fff888401cb CVDisplayLink::waitUntil(unsigned long long) + 279
3 com.apple.CoreVideo 0x00007fff8883f631 CVDisplayLink::runIOThread() + 559
4 com.apple.CoreVideo 0x00007fff8883f3e9 _ZL13startIOThreadPv + 148
5 libsystem_c.dylib 0x00007fff937aa8bf _pthread_start + 335
6 libsystem_c.dylib 0x00007fff937adb75 thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff89c1e67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff89c1dd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff8b28350c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff8b28bc74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff8b28b486 CFRunLoopRunSpecific + 230
5 com.apple.DebugSymbols 0x00007fff8bf082f2 _ZL20SpotlightQueryThreadPv + 434
6 libsystem_c.dylib 0x00007fff937aa8bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff937adb75 thread_start + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff89c1fe42 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff93760dea nanosleep + 164
2 com.apple.CoreSymbolication 0x00007fff87df23bb cleaner_thread_main(void*) + 42
3 libsystem_c.dylib 0x00007fff937aa8bf _pthread_start + 335
4 libsystem_c.dylib 0x00007fff937adb75 thread_start + 13
Thread 13 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00000001177159e8 rdx: 0x0000000000000000
rdi: 0x000000000000f023 rsi: 0x0000000000000006 rbp: 0x0000000117715a10 rsp: 0x00000001177159e8
r8: 0x00007fff78532fb8 r9: 0x00007f944651aee0 r10: 0x00007fff89c1fd0a r11: 0xffffff80002dad60
r12: 0x0000000402c4afb8 r13: 0x00007fff87cf9e80 r14: 0x0000000117716000 r15: 0x0000000117715b18
rip: 0x00007fff89c1fce2 rfl: 0x0000000000000206 cr2: 0x0000000101adc000
Logical CPU: 0
Binary Images:
0x10d8e5000 - 0x10d8e7fff com.apple.dt.Xcode (4.5 - 1839) <B5C20A97-D031-383A-8045-814DBC82546E> /Applications/Xcode.app/Contents/MacOS/Xcode
0x10d8f3000 - 0x10dc0eff7 com.apple.dt.DVTFoundation (4.5 - 1828) <EBED7760-2AF1-325D-AA67-308E33DF1EEF> /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 13
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 2591
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=277.5M resident=162.0M(58%) swapped_out_or_unallocated=115.5M(42%)
Writable regions: Total=17.2G written=33.8M(0%) resident=96.8M(1%) swapped_out=0K(0%) unallocated=17.1G(99%)
REGION TYPE VIRTUAL
=========== =======
CG backing stores 5492K
CG image 152K
CG raster data 684K
CG shared images 4432K
CoreAnimation 316K
CoreGraphics 16K
CoreImage 24K
CoreServices 1424K
IOKit 11.4M
JS JIT generated code 8K
JS JIT generated code (reserved) 1.0G reserved VM address space (unallocated)
MALLOC 384.8M
MALLOC (reserved) 15.8G reserved VM address space (unallocated)
MALLOC guard page 80K
Memory tag=240 4K
Memory tag=242 12K
Memory tag=243 4K
Memory tag=249 156K
Memory tag=251 68K
OpenCL 52K
OpenGL GLSL 1024K
SQLite page cache 960K
STACK GUARD 56.1M
Stack 15.7M
VM_ALLOCATE 17.5M
__CI_BITMAP 80K
__DATA 29.8M
__IMAGE 528K
__LINKEDIT 64.7M
__TEXT 212.8M
__UNICODE 544K
mapped file 82.5M
shared memory 17.3M
=========== =======
TOTAL 17.6G
TOTAL, minus reserved VM space 908.3M
Model: Macmini5,1, BootROM MM51.0077.B10, 2 processors, Intel Core i5, 2.3 GHz, 4 GB, SMC 1.76f0
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334348532D4348392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334348532D4348392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE4), Broadcom BCM43xx 1.0 (5.106.198.19.22)
Bluetooth: Version 4.0.8f17, 2 service, 18 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: TOSHIBA MK5065GSXF, 500.11 GB
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 3
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8281, 0xfa113000 / 6
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: USB Mouse, 0x09da (A-FOUR TECH CO., LTD.), 0x000a, 0xfd120000 / 5
USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfd130000 / 4
USB Device: Apple Keyboard, apple_vendor_id, 0x0221, 0xfd132000 / 6
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
I tried removing xcuserdata folder from .xcodeproj file that didn't worked
I tried removing the project from repository in XCode -> Organizer
I tried removing the derived project data that
I really don't know what the problem is, we are using a SVN server on the network so we can sync the sources of the projects.

There is a good chance that is fixed in Xcode 4.5.1:
Source Control
Issues interacting with working copies known by the Xcode app. 12364258, 12389205, 12389198
The release notes are available on the Apple Developer Download site (here); they don't appear to be updated on the main Apple Developer website.

Details: Attempted to add repository (IDESourceControlRepository) Name:192.168.1, Type:Subversion, Location:svn://192.168.1.20 when (IDESourceControlRepository) Name:192.168.1, Type:Subversion, Location:svn://192.168.1.20 already existed.
I would remove all your repositories from Xcode and add them again.

I am running Xcode 4.5.1 and just started having this problem today. The app was running in the simulator and then the simulator started acting funny so I decided to stop everything and close Xcode. I had to blast it. When I tried to relaunch I got this error and cannot launch anymore. Clearly something got messed up.

Related

Since macOS Catalina Xcode app is crashing every night with CVCGDisplayLink exception

I have a macOS app with a GUI which runs 24/7 and as of last week worked flawlessly. Three days ago I updated my Mac mini late 2012 to macOS Catalina. I started my app again and it worked. The next morning I encountered an EXC_BAD_ACCESS error which crashed the app (see below for more information). Restarted the app, error reappeared next morning and this morning, too.
Background: I don't expect hardware to have any influence since it was never any issue but still: I have a display attached, which through a connected power plug gets turned off at night and turned on again in the morning.
Here's the error:
CVDisplayLink (989): EXC_BAD_ACCESS (code=1, address=0x40)
In the log before the crash this message appears roughly 50 times, not sure if it has anything to do with the crash itself:
CVCGDisplayLink::setCurrentDisplay didn't find a valid display - falling back to 60Hz
and
Could not start the display link: -6661
I attached a screenshot with the threads in question and the last commands. I don't find any connection to my code... The app crashes always at the exact same location (I think).
Any help is highly appreciated! My next step is to leave the display on during the night and see if the error reappears. Even if no, that's no solution as I want the display to sleep during the night and other times...
Here's a crash report:
Process: FIPS [29505]
Path: /Applications/FIPS.app/Contents/MacOS/FIPS
Identifier: xxx.xxxxxxxx.FIPS
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: FIPS [29505]
User ID: 502
Date/Time: 2020-03-29 23:28:13.101 +0200
OS Version: Mac OS X 10.15.4 (19E266)
Report Version: 12
Anonymous UUID: 571E7574-0586-B5D1-F56D-FDC0D2261660
Time Awake Since Boot: 86000 seconds
System Integrity Protection: enabled
Crashed Thread: 17 CVDisplayLink
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000040
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [29505]
VM Regions Near 0x40:
-->
__TEXT 000000010510d000-000000010517f000 [ 456K] r-x/r-x SM=COW /Applications/FIPS.app/Contents/MacOS/FIPS
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.SkyLight 0x00007fff646fa418 SLSCopyManagedDisplayForSpace + 225
3 com.apple.AppKit 0x00007fff329ccc68 _NSDisplayUUIDForSpace + 42
4 com.apple.AppKit 0x00007fff33137f50 -[_NSFullScreenSpace screen] + 47
5 com.apple.AppKit 0x00007fff326a4b7e +[_NSFullScreenSpace visibleFullScreenSpaceOnScreen:] + 312
6 com.apple.AppKit 0x00007fff326a49fa -[NSScreen _menuBarHeight] + 76
7 com.apple.AppKit 0x00007fff326a4998 -[NSScreen _layoutFrame] + 71
8 com.apple.AppKit 0x00007fff326e314a -[NSScreen visibleFrame] + 44
9 com.apple.AppKit 0x00007fff326e23b6 -[NSWindow(NSWindowResizing) _resizableEdgesForGrowing:shrinking:] + 587
10 com.apple.AppKit 0x00007fff3287100b -[NSWindow(NSWindowResizing) _resizeDirectionForMouseLocation:] + 225
11 com.apple.AppKit 0x00007fff32870e86 -[NSWindow(NSWindowResizing) _edgeResizingCursorUpdate:atLocation:] + 227
12 com.apple.AppKit 0x00007fff32870a22 -[NSWindow(NSCursorRects) _setCursorForMouseLocation:] + 179
13 com.apple.AppKit 0x00007fff32781599 _NSWindowDisplayCycleUpdateStructuralRegions + 571
14 com.apple.AppKit 0x00007fff3277bcc4 __NSWindowGetDisplayCycleObserverForUpdateStructuralRegions_block_invoke + 420
15 com.apple.AppKit 0x00007fff32773e52 NSDisplayCycleObserverInvoke + 155
16 com.apple.AppKit 0x00007fff327739dc NSDisplayCycleFlush + 937
17 com.apple.QuartzCore 0x00007fff40f07454 CA::Transaction::run_commit_handlers(CATransactionPhase) + 106
18 com.apple.QuartzCore 0x00007fff40f06166 CA::Transaction::commit() + 230
19 com.apple.AppKit 0x00007fff3282fa01 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 266
20 com.apple.AppKit 0x00007fff32f4e950 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
21 com.apple.CoreFoundation 0x00007fff3542402c __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
22 com.apple.CoreFoundation 0x00007fff35423f5c __CFRunLoopDoObservers + 457
23 com.apple.CoreFoundation 0x00007fff354234f4 __CFRunLoopRun + 884
24 com.apple.CoreFoundation 0x00007fff35422b23 CFRunLoopRunSpecific + 466
25 com.apple.HIToolbox 0x00007fff34044abd RunCurrentEventLoopInMode + 292
26 com.apple.HIToolbox 0x00007fff340447d5 ReceiveNextEventCommon + 584
27 com.apple.HIToolbox 0x00007fff34044579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
28 com.apple.AppKit 0x00007fff3268fc99 _DPSNextEvent + 883
29 com.apple.AppKit 0x00007fff3268e4e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
30 com.apple.AppKit 0x00007fff326801ee -[NSApplication run] + 658
31 com.apple.AppKit 0x00007fff32651ff6 NSApplicationMain + 777
32 xxx.xxxxxxx.FIPS 0x000000010510fb49 main + 9 (AppDelegate.swift:12)
33 libdyld.dylib 0x00007fff6f41ecc9 start + 1
Thread 1:: JavaScriptCore bmalloc scavenger
0 libsystem_kernel.dylib 0x00007fff6f562882 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff6f627425 _pthread_cond_wait + 698
2 libc++.1.dylib 0x00007fff6c6fa623 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93
3 com.apple.JavaScriptCore 0x00007fff39c42a75 bmalloc::Scavenger::threadRunLoop() + 741
4 com.apple.JavaScriptCore 0x00007fff39c42489 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
5 com.apple.JavaScriptCore 0x00007fff39c44b67 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 39
6 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff35424bf7 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff354236b1 __CFRunLoopRun + 1329
4 com.apple.CoreFoundation 0x00007fff35422b23 CFRunLoopRunSpecific + 466
5 com.apple.CFNetwork 0x00007fff33c5009a 0x7fff33c06000 + 303258
6 com.apple.Foundation 0x00007fff37ad1882 __NSThread__start__ + 1064
7 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
8 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 3:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.SkyLight 0x00007fff645a58d7 CGSSnarfAndDispatchDatagrams + 237
3 com.apple.SkyLight 0x00007fff647d55a5 SLSGetNextEventRecordInternal + 83
4 com.apple.SkyLight 0x00007fff64673fbe SLEventCreateNextEvent + 136
5 com.apple.HIToolbox 0x00007fff34051da6 PullEventsFromWindowServerOnConnection(unsigned int, unsigned char, __CFMachPortBoost*) + 268
6 com.apple.HIToolbox 0x00007fff34051c72 MessageHandler(__CFMachPort*, void*, long, void*) + 48
7 com.apple.CoreFoundation 0x00007fff35453983 __CFMachPortPerform + 250
8 com.apple.CoreFoundation 0x00007fff35425003 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
9 com.apple.CoreFoundation 0x00007fff35424f52 __CFRunLoopDoSource1 + 541
10 com.apple.CoreFoundation 0x00007fff35423a6c __CFRunLoopRun + 2284
11 com.apple.CoreFoundation 0x00007fff35422b23 CFRunLoopRunSpecific + 466
12 com.apple.AppKit 0x00007fff328315b4 _NSEventThread + 132
13 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
14 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 4:: com.apple.coreanimation.render-server
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.QuartzCore 0x00007fff40f4f1c2 CA::Render::Server::server_thread(void*) + 496
3 com.apple.QuartzCore 0x00007fff40f4efc3 thread_fun(void*) + 25
4 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 5:: com.apple.coreaudio.AQClient
0 libsystem_kernel.dylib 0x00007fff6f55fdfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6f560170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff35424bf7 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff354236b1 __CFRunLoopRun + 1329
4 com.apple.CoreFoundation 0x00007fff35422b23 CFRunLoopRunSpecific + 466
5 com.apple.audio.toolbox.AudioToolbox 0x00007fff337a44cc GenericRunLoopThread::Entry(void*) + 166
6 libAudioToolboxUtility.dylib 0x00007fff6bda96c9 CAPThread::Entry(CAPThread*) + 77
7 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
8 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 6:
0 libsystem_kernel.dylib 0x00007fff6f55fe36 semaphore_wait_trap + 10
1 com.apple.audio.caulk 0x00007fff68f6ab16 caulk::mach::semaphore::wait() + 16
2 com.apple.audio.caulk 0x00007fff68f6a9b2 caulk::semaphore::timed_wait(double) + 106
3 com.apple.audio.caulk 0x00007fff68f6a7c4 caulk::concurrent::details::worker_thread::run() + 30
4 com.apple.audio.caulk 0x00007fff68f6a1e4 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 45
5 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
6 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 7:: AMCP Logging Spool
0 libsystem_kernel.dylib 0x00007fff6f55fe36 semaphore_wait_trap + 10
1 com.apple.audio.caulk 0x00007fff68f6ab16 caulk::mach::semaphore::wait() + 16
2 com.apple.audio.caulk 0x00007fff68f6a9b2 caulk::semaphore::timed_wait(double) + 106
3 com.apple.audio.caulk 0x00007fff68f6a7c4 caulk::concurrent::details::worker_thread::run() + 30
4 com.apple.audio.caulk 0x00007fff68f6a1e4 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 45
5 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
6 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 8:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 10:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 11:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 12:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 13:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 14:
0 libsystem_pthread.dylib 0x00007fff6f622b68 start_wqthread + 0
Thread 15:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff6f562882 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff6f627457 _pthread_cond_wait + 748
2 com.apple.CoreVideo 0x00007fff373d7d2b CVDisplayLink::waitUntil(unsigned long long) + 229
3 com.apple.CoreVideo 0x00007fff373d7238 CVDisplayLink::runIOThread() + 482
4 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 16:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff6f562882 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff6f627457 _pthread_cond_wait + 748
2 com.apple.CoreVideo 0x00007fff373d7d2b CVDisplayLink::waitUntil(unsigned long long) + 229
3 com.apple.CoreVideo 0x00007fff373d7238 CVDisplayLink::runIOThread() + 482
4 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 17 Crashed:: CVDisplayLink
0 com.apple.CoreVideo 0x00007fff373d76ab CVCGDisplayLink::getDisplayTimes(unsigned long long*, unsigned long long*, unsigned long long*) + 65
1 com.apple.CoreVideo 0x00007fff373d7525 CVHWTime::update(double, bool*, bool*) + 57
2 com.apple.CoreVideo 0x00007fff373d73de CVXTime::update() + 44
3 com.apple.CoreVideo 0x00007fff373d711c CVDisplayLink::runIOThread() + 198
4 libsystem_pthread.dylib 0x00007fff6f627109 _pthread_start + 148
5 libsystem_pthread.dylib 0x00007fff6f622b8b thread_start + 15
Thread 17 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000600001d56c38 rcx: 0x00007000060c8da8 rdx: 0x00007000060c8db0
rdi: 0x00007f9e1d18fe20 rsi: 0x00007000060c8db8 rbp: 0x00007000060c8d90 rsp: 0x00007000060c8d60
r8: 0x000000000009ad1d r9: 0x00007f9e1d18fe50 r10: 0x00007f9e1d18fe58 r11: 0x0000000000000206
r12: 0x00007000060c8db8 r13: 0x0000000000000000 r14: 0x00007000060c8e07 r15: 0x00007000060c8db0
rip: 0x00007fff373d76ab rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000000
Trap Number: 0
Followed by a million lines of Binary Images followed by this:
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 54
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 16801343
thread_create: 0
thread_set_state: 967
VM Region Summary:
ReadOnly portion of Libraries: Total=778.7M resident=0K(0%) swapped_out_or_unallocated=778.7M(100%)
Writable regions: Total=758.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=758.5M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 1024K 8
Activity Tracing 256K 1
CG backing stores 440K 2
CG image 52K 9
CoreAnimation 2940K 146
CoreData Object IDs 4100K 2
CoreGraphics 8K 1
CoreImage 12K 3
CoreUI image data 392K 7
Foundation 956K 5
IOKit 7940K 1
Image IO 8188K 32
Kernel Alloc Once 8K 1
MALLOC 593.3M 211
MALLOC guard page 48K 11
MALLOC_NANO (reserved) 128.0M 1 reserved VM address space (unallocated)
Memory Tag 242 12K 1
Memory Tag 251 16K 1
SQLite page cache 64K 1
STACK GUARD 56.1M 18
Stack 17.1M 18
VM_ALLOCATE 412K 28
WebKit Malloc 8604K 18
__DATA 55.1M 502
__DATA_CONST 637K 21
__FONT_DATA 4K 1
__GLSLBUILTINS 5176K 1
__LINKEDIT 392.2M 17
__OBJC_RO 32.2M 1
__OBJC_RW 1892K 2
__TEXT 386.5M 487
__UNICODE 564K 1
libnetwork 1664K 24
mapped file 378.0M 74
shared memory 668K 18
=========== ======= =======
TOTAL 2.0G 1675
TOTAL, minus reserved VM space 1.9G 1675
After adding a symbolic breakpoint to "getDisplayTimes" with bt and restarting the app the code immediately stops to show this situation:
Log:
* thread #17, name = 'CVDisplayLink', stop reason = breakpoint 1.1
* frame #0: 0x00007fff3910a66a CoreVideo`CVCGDisplayLink::getDisplayTimes(unsigned long long*, unsigned long long*, unsigned long long*)
frame #1: 0x00007fff3910a525 CoreVideo`CVHWTime::update(double, bool*, bool*) + 57
frame #2: 0x00007fff3910a3de CoreVideo`CVXTime::update() + 44
frame #3: 0x00007fff3910a11c CoreVideo`CVDisplayLink::runIOThread() + 198
frame #4: 0x0000000101047c65 libsystem_pthread.dylib`_pthread_start + 148
frame #5: 0x00000001010434af libsystem_pthread.dylib`thread_start + 15
and this:
I haven’t received any answer from Apple (it’s been months!) so I went ahead and downgraded (which I did not want to do) to Mojave. I haven’t had a single hic up or problem since. I am bewildered.

Crash KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED

I'm seeing crashes in my crash log, but I have yet to experience a crash directly. I've searched everything and tried everything but I'm stuck.
Any ideas on why I'm getting these in my crash logs?
Crash log
CrashReporter Key: d42015aa3717735a5388beca859904bc83c7d8a1
Hardware Model: iPhone9,2
Process: Waterspeed [9082]
Path: /private/var/containers/Bundle/Application/60208DDD-0A10-41FE-B309-56CF3CCB0E45/Waterspeed.app/Waterspeed
Identifier: TNT.Waterspeed
Version: 23 (2.9.28)
AppStoreTools: 10G3
AppVariant: 1:iPhone9,2:12.2
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: TNT.Waterspeed [2182]
Date/Time: 2019-07-22 19:20:09.0959 -1000
Launch Time: 2019-07-21 23:14:01.7633 -1000
OS Version: iPhone OS 12.3.1 (16F203)
Baseband Version: 5.60.01
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000fbcae9b80
VM Region Info: 0xfbcae9b80 is not in any region. Bytes after previous region: 56315779969
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_NANO 0000000280000000-00000002a0000000 [512.0M] rw-/rwx SM=PRV
--->
UNUSED SPACE AT END
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [9082]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001fdcf60e0 object_isClass + 16 (objc-runtime-new.h:976)
1 Foundation 0x00000001ff56a8d0 KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED + 64 (NSKeyValueObserving.m:1122)
2 Foundation 0x00000001ff568170 NSKeyValueWillChangeWithPerThreadPendingNotifications.llvm.9306004367141260615 + 304 (NSKeyValueObserving.m:1152)
3 Foundation 0x00000001ff4e1d44 -[NSProgress _setValueForKeys:settingBlock:] + 264 (NSProgress.m:773)
4 Foundation 0x00000001ff4ff424 -[NSProgress _setRemoteValues:forKeys:] + 192 (NSProgress.m:2347)
5 Foundation 0x00000001ff6b3020 __45-[_NSProgressProxy _setRemoteValues:forKeys:]_block_invoke + 64 (NSProgressSubscriber.m:118)
6 CoreFoundation 0x00000001feaaee68 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20 (CFRunLoop.c:1838)
7 CoreFoundation 0x00000001feaae76c __CFRunLoopDoBlocks + 272 (CFRunLoop.c:1879)
8 CoreFoundation 0x00000001feaa9cd8 __CFRunLoopRun + 2312 (CFRunLoop.c:3178)
9 CoreFoundation 0x00000001feaa90b0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
10 GraphicsServices 0x0000000200ca979c GSEventRunModal + 104 (GSEvent.c:2245)
11 UIKitCore 0x000000022b457978 UIApplicationMain + 212 (UIApplication.m:4353)
12 Waterspeed 0x0000000102d95068 main + 68 (LoginViewController.swift:34)
13 libdyld.dylib 0x00000001fe56e8e0 start + 4
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001fe6af0f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001fe6ae5a0 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x00000001feaaea10 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3 CoreFoundation 0x00000001feaa9920 __CFRunLoopRun + 1360 (CFRunLoop.c:2971)
4 CoreFoundation 0x00000001feaa90b0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5 Foundation 0x00000001ff476fac -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300 (NSRunLoop.m:367)
6 Foundation 0x00000001ff476e3c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96 (NSRunLoop.m:411)
7 UIKitCore 0x000000022b53d494 -[UIEventFetcher threadMain] + 136 (UIEventFetcher.m:606)
8 Foundation 0x00000001ff5a36a4 __NSThread__start__ + 984 (NSThread.m:1175)
9 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
10 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
11 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x00000001fe6bc920 write + 8
1 Waterspeed 0x0000000102f50cb4 CLSSDKFileLog + 288 (CLSInternalLogging.c:0)
2 Waterspeed 0x0000000102f48388 CLSMachExceptionServer + 912 (CLSMachException.c:249)
3 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
4 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
5 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001fe6af0f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001fe6ae5a0 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x00000001feaaea10 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3 CoreFoundation 0x00000001feaa9920 __CFRunLoopRun + 1360 (CFRunLoop.c:2971)
4 CoreFoundation 0x00000001feaa90b0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5 CFNetwork 0x00000001ff0c274c -[__CoreSchedulingSetRunnable runForever] + 216 (CoreSchedulingSet.mm:1365)
6 Foundation 0x00000001ff5a36a4 __NSThread__start__ + 984 (NSThread.m:1175)
7 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
8 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
9 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000001fe6af0f4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001fe6ae5a0 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x00000001feaaea10 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3 CoreFoundation 0x00000001feaa9920 __CFRunLoopRun + 1360 (CFRunLoop.c:2971)
4 CoreFoundation 0x00000001feaa90b0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5 Foundation 0x00000001ff476fac -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300 (NSRunLoop.m:367)
6 Waterspeed 0x000000010301e8d0 -[_FSRRunLoopThread main] + 252 (FSRWebSocket.m:1843)
7 Foundation 0x00000001ff5a36a4 __NSThread__start__ + 984 (NSThread.m:1175)
8 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
9 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
10 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x00000001fe6ba328 __select + 8
1 CoreFoundation 0x00000001feab76f4 __CFSocketManager + 620 (CFSocket.c:2242)
2 libsystem_pthread.dylib 0x00000001fe73c2c0 _pthread_body + 128 (pthread.c:857)
3 libsystem_pthread.dylib 0x00000001fe73c220 _pthread_start + 44 (pthread.c:884)
4 libsystem_pthread.dylib 0x00000001fe73fcdc thread_start + 4
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x00000001fe6bb93c kevent_id + 8
1 libdispatch.dylib 0x00000001fe51bbf0 _dispatch_kq_poll + 332 (event_kevent.c:718)
2 libdispatch.dylib 0x00000001fe51b114 _dispatch_event_loop_poke$VARIANT$mp + 476 (event_kevent.c:1644)
3 Foundation 0x00000001ff4fb080 -[NSFileAccessArbiterProxy revokeAccessClaimForID:] + 84 (NSFileAccessArbiter.m:2232)
4 Foundation 0x00000001ff660af0 __98-[NSFileCoordinator(NSPrivate) _withAccessArbiter:invokeAccessor:orDont:andRelinquishAccessCl... + 232 (NSFileCoordinator.m:960)
5 Foundation 0x00000001ff660cc0 __85-[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:error:byAccessor:]_block_i... + 28 (NSFileCoordinator.m:1014)
6 Foundation 0x00000001ff4e95a4 -[NSFileCoordinatorAccessorBlockCompletion decrement] + 76 (NSFileCoordinator.m:2245)
7 Foundation 0x00000001ff4d8f48 -[NSFileCoordinator _invokeAccessor:thenCompletionHandler:] + 164 (NSFileCoordinator.m:470)
8 Foundation 0x00000001ff65fbc0 __73-[NSFileCoordinator coordinateReadingItemAtURL:options:error:byAccessor:]_block_invoke + 88 (NSFileCoordinator.m:483)
9 Foundation 0x00000001ff660c98 __85-[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:error:byAccessor:]_block_i... + 108 (NSFileCoordinator.m:1013)
10 Foundation 0x00000001ff4d9160 -[NSFileCoordinator(NSPrivate) _withAccessArbiter:invokeAccessor:orDont:andRelinquishAccessClaim:] + 452 (NSFileCoordinator.m:943)
11 Foundation 0x00000001ff4da138 -[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:error:byAccessor:] + 776 (NSFileCoordinator.m:1008)
12 Foundation 0x00000001ff4d9e24 -[NSFileCoordinator coordinateReadingItemAtURL:options:error:byAccessor:] + 76 (NSFileCoordinator.m:480)
13 WatchConnectivity 0x0000000220177b1c -[WCContentIndex loadContentIfNecessary] + 808 (WCContentIndex.m:66)
14 Foundation 0x00000001ff647ec4 __74-[NSFilePresenterXPCMessenger _makePresenter:observeChangeWithSubitemURL:]_block_invoke_2 + 48 (NSFileAccessArbiter.m:3360)
15 Foundation 0x00000001ff66662c __95-[NSOperationQueue(NSFileCoordinationSupport) _fc_addUncancellableOperationForReactorID:block... + 140 (NSFileCoordinator.m:2427)
16 Foundation 0x00000001ff581ef8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16 (NSOperation.m:1559)
17 Foundation 0x00000001ff48e3e0 -[NSBlockOperation main] + 72 (NSOperation.m:1578)
18 Foundation 0x00000001ff48d8c8 -[__NSOperationInternal _start:] + 740 (NSOperation.m:907)
19 Foundation 0x00000001ff583c7c __NSOQSchedule_f + 272 (NSOperation.m:2165)
20 libdispatch.dylib 0x00000001fe55ca38 _dispatch_call_block_and_release + 24 (init.c:1372)
21 libdispatch.dylib 0x00000001fe55d7d4 _dispatch_client_callout + 16 (object.m:511)
22 libdispatch.dylib 0x00000001fe502018 _dispatch_continuation_pop$VARIANT$mp + 412 (inline_internal.h:2441)
23 libdispatch.dylib 0x00000001fe5016dc _dispatch_async_redirect_invoke + 600 (queue.c:796)
24 libdispatch.dylib 0x00000001fe50e02c _dispatch_root_queue_drain + 372 (inline_internal.h:2482)
25 libdispatch.dylib 0x00000001fe50e8d0 _dispatch_worker_thread2 + 128 (queue.c:6072)
26 libsystem_pthread.dylib 0x00000001fe73d1b4 _pthread_wqthread + 464 (pthread.c:2361)
27 libsystem_pthread.dylib 0x00000001fe73fcd4 start_wqthread + 4
Thread 7:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x00000001fe6b9f2c __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x00000001fe735a84 _pthread_mutex_firstfit_lock_wait + 92 (pthread_mutex.c:1228)
2 libsystem_pthread.dylib 0x00000001fe7359f4 _pthread_mutex_firstfit_lock_slow$VARIANT$mp + 272 (pthread_mutex.c:1304)
3 Foundation 0x00000001ff478d44 -[NSObject(NSKeyValueObserverRegistration) addObserver:forKeyPath:options:context:] + 64 (NSKeyValueObserving.m:68)
4 WatchConnectivity 0x00000002201650a0 -[WCSession onqueue_updateProgressForFileTransfer:progress:] + 280 (WCSession.m:517)
5 WatchConnectivity 0x0000000220164c9c __51-[WCSession onqueue_createProgressForFileTransfer:]_block_invoke_2 + 44 (WCSession.m:496)
6 Foundation 0x00000001ff581ef8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16 (NSOperation.m:1559)
7 Foundation 0x00000001ff48e3e0 -[NSBlockOperation main] + 72 (NSOperation.m:1578)
8 Foundation 0x00000001ff48d8c8 -[__NSOperationInternal _start:] + 740 (NSOperation.m:907)
9 Foundation 0x00000001ff583c7c __NSOQSchedule_f + 272 (NSOperation.m:2165)
10 libdispatch.dylib 0x00000001fe50b7f0 _dispatch_block_async_invoke2 + 104 (queue.c:518)
11 libdispatch.dylib 0x00000001fe55d7d4 _dispatch_client_callout + 16 (object.m:511)
12 libdispatch.dylib 0x00000001fe502018 _dispatch_continuation_pop$VARIANT$mp + 412 (inline_internal.h:2441)
13 libdispatch.dylib 0x00000001fe5016dc _dispatch_async_redirect_invoke + 600 (queue.c:796)
14 libdispatch.dylib 0x00000001fe50e02c _dispatch_root_queue_drain + 372 (inline_internal.h:2482)
15 libdispatch.dylib 0x00000001fe50e8d0 _dispatch_worker_thread2 + 128 (queue.c:6072)
16 libsystem_pthread.dylib 0x00000001fe73d1b4 _pthread_wqthread + 464 (pthread.c:2361)
17 libsystem_pthread.dylib 0x00000001fe73fcd4 start_wqthread + 4
Thread 10:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 11:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 12:
0 libsystem_pthread.dylib 0x00000001fe73fcd0 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00000002833a9b60 x1: 0x000000016d0768d0 x2: 0x000000016d0768e0 x3: 0x0000000000000000
x4: 0x0000000000000003 x5: 0x0000000000000000 x6: 0x00000002833b5320 x7: 0x000000023665c000
x8: 0x0000000fbcae9b60 x9: 0x0000000000000008 x10: 0x00000001fea19e54 x11: 0x0000002a0000007f
x12: 0x0000000104918f60 x13: 0x000001a238c5ba41 x14: 0x0000000000000000 x15: 0x0000030000000302
x16: 0x0000000238c5ba40 x17: 0x00000001fea19d00 x18: 0x0000000000000000 x19: 0x000000016d0768d0
x20: 0x0000000000000003 x21: 0x000000022b98d9bf x22: 0x00000002833a9b60 x23: 0x000000023665c000
x24: 0x0000000000000000 x25: 0x0000000283d85bc0 x26: 0x0000000000000003 x27: 0x000000016d0768d0
x28: 0x0000000000000000 fp: 0x000000016d0768c0 lr: 0x00000001ff56a8d0
sp: 0x000000016d076890 pc: 0x00000001fdcf60e0 cpsr: 0x20000000

Xcode, last version, getting error on builds and archives

I am having an issue on my Xcode, lots of times I built or archives the project, I get this error :
Process: Xcode [2376] Path:
/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 9.2 (13772) Build Info:
IDEFrameworks-13772000000000000~2 App Item ID: 497799835 App
External ID: 825038102 Code Type: X86-64 (Native)
Parent Process: ??? [1] Responsible: Xcode [2376]
User ID: 501
Date/Time: 2018-02-19 13:01:31.507 +0100 OS Version:
Mac OS X 10.13.2 (17C88) Report Version: 12 Anonymous UUID:
86191C10-4328-FD41-CE74-B094E22BEFE9
Time Awake Since Boot: 510 seconds
System Integrity Protection: enabled
Crashed Thread: 45 Dispatch queue: ConcurrentQueue:
-[XCWorkQueueCommandBuiltinInvocation startRunning]_block_invoke
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY
Application Specific Information: ProductBuildVersion: 9C40b Assertion
failed: (sizeBack == listSize), function
_has_code_signature_extended_attribute, file /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13756/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/BuildTaskPlugIns/CoreBuildTasks/Translators/PBXCp/PBXCp.mm,
line 453.
Thread 0:: Dispatch queue: com.apple.main-thread 0
libsystem_kernel.dylib 0x00007fff57ec07c2 mach_msg_trap + 10 1
libsystem_kernel.dylib 0x00007fff57ebfcdc mach_msg + 60 2
com.apple.CoreFoundation 0x00007fff30488a15
__CFRunLoopServiceMachPort + 341 3 com.apple.CoreFoundation 0x00007fff30487d67 __CFRunLoopRun + 1783 4 com.apple.CoreFoundation
0x00007fff304873d7 CFRunLoopRunSpecific + 487 5 com.apple.HIToolbox
0x00007fff2f794e26 RunCurrentEventLoopInMode + 286 6
com.apple.HIToolbox 0x00007fff2f794b96
ReceiveNextEventCommon + 613 7 com.apple.HIToolbox
0x00007fff2f794914 _BlockUntilNextEventMatchingListInModeWithFilter +
64 8 com.apple.AppKit 0x00007fff2da5ff5f _DPSNextEvent
+ 2085 9 com.apple.AppKit 0x00007fff2e1f5b4c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044 10 com.apple.dt.DVTKit 0x000000010f84ff9a -[DVTApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 390 11
com.apple.AppKit 0x00007fff2da54d6d -[NSApplication run]
+ 764 12 com.apple.AppKit 0x00007fff2da23f1a NSApplicationMain + 804 13 libdyld.dylib
0x00007fff57d7a115 start + 1
Thread 1:: Dispatch queue: shared-compile-command-queue (QOS:
UNSPECIFIED) 0 libsystem_kernel.dylib 0x00007fff57ecb41a
read + 10 1 com.apple.Xcode.DevToolsCore 0x0000000122e9a7aa
-[XCWorkQueueCommandLocalSubprocessInvocation handleOutputFileDescriptorActivity] + 86 2
com.apple.Xcode.DevToolsCore 0x0000000122f094f3 -[Xcode3BuildTask
main] + 1042 3 com.apple.Foundation 0x00007fff3259b53e
-[__NSOperationInternal _start:] + 778 4 libdispatch.dylib 0x00007fff57d40d50 _dispatch_client_callout + 8 5 libdispatch.dylib
0x00007fff57d53333 _dispatch_block_invoke_direct + 317 6
libdispatch.dylib 0x00007fff57d40d50
_dispatch_client_callout + 8 7 libdispatch.dylib 0x00007fff57d53333 _dispatch_block_invoke_direct + 317 8
libdispatch.dylib 0x00007fff57d531d6
dispatch_block_perform + 109 9 com.apple.Foundation
0x00007fff3259754c __NSOQSchedule_f + 342 10 libdispatch.dylib
0x00007fff57d40d50 _dispatch_client_callout + 8 11 libdispatch.dylib
0x00007fff57d53e76 _dispatch_continuation_pop + 472 12
libdispatch.dylib 0x00007fff57d4b6cb
_dispatch_async_redirect_invoke + 703 13 libdispatch.dylib 0x00007fff57d42941 _dispatch_root_queue_drain + 515 14
libdispatch.dylib 0x00007fff57d426ed
_dispatch_worker_thread3 + 101 15 libsystem_pthread.dylib 0x00007fff580051ca _pthread_wqthread + 1387 16
libsystem_pthread.dylib 0x00007fff58004c4d start_wqthread + 13
Thread 2:: Dispatch queue: -[IDEExecutionEnvironment
initWithWorkspaceArena:] (QOS: UNSPECIFIED) 0 libsystem_kernel.dylib
0x00007fff57ec9cee __psynch_cvwait + 10 1 libsystem_pthread.dylib
0x00007fff58006662 _pthread_cond_wait + 732 2 com.apple.Foundation
0x00007fff3264acf8 -[__NSOperationInternal _waitUntilFinished:] + 896
3 com.apple.Foundation 0x00007fff3261b765
-[NSOperationQueue waitUntilAllOperationsAreFinished] + 296 4 com.apple.dt.DVTFoundation 0x000000010f12a9c4 -[DVTOperationGroup
main] + 66 5 com.apple.Foundation 0x00007fff3259b53e
-[__NSOperationInternal _start:] + 778 6 com.apple.dt.DVTFoundation 0x000000010f12a977 -[DVTOperationGroup start] + 110 7
com.apple.Foundation 0x00007fff32597567 __NSOQSchedule_f +
369 8 libdispatch.dylib 0x00007fff57d40d50
_dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff57d53e76 _dispatch_continuation_pop + 472 10
libdispatch.dylib 0x00007fff57d4b6cb
_dispatch_async_redirect_invoke + 703 11 libdispatch.dylib 0x00007fff57d42941 _dispatch_root_queue_drain + 515 12
libdispatch.dylib 0x00007fff57d426ed
_dispatch_worker_thread3 + 101 13 libsystem_pthread.dylib 0x00007fff580051ca _pthread_wqthread + 1387 14
libsystem_pthread.dylib 0x00007fff58004c4d start_wqthread + 13
...
There are also several times, the built goes succesfully... is anyone sperimentig this issue ?

iOS Simulator crashing in Virtual Machine

I'm brand new to iOS development (and MacOS in general). While waiting for a mac to arrive I've set up a Virtual Machine running Mountain Lion to get started with developing.
When trying to run a simple Hello World application, the simulator crashes with "The simulated application quit" error message.
In the User Diagnostic Reports there is the following crash report:
Process: SpringBoard [9828]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard
Identifier: SpringBoard
Version: 2127.141
Code Type: X86 (Native)
Parent Process: sim64 [9826]
User ID: 501
Date/Time: 2013-06-06 09:17:09.538 +0100
OS Version: Mac OS X 10.8 (12A269)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
iPhone Simulator 369.2, iPhone OS 6.1 (iPhone/10B141)
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x94c75a6a __pthread_kill + 10
1 libsystem_c.dylib 0x930a0acf pthread_kill + 101
2 libsystem_sim_c.dylib 0x050fc57b abort + 140
3 libc++abi.dylib 0x0500ef7b abort_message + 105
4 libc++abi.dylib 0x0500ca25 default_terminate() + 34
5 libobjc.A.dylib 0x04a750c1 _objc_terminate() + 94
6 libc++abi.dylib 0x0500ca65 safe_handler_caller(void (*)()) + 13
7 libc++abi.dylib 0x0500cacd std::terminate() + 23
8 libc++abi.dylib 0x0500dbc2 __cxa_throw + 110
9 libobjc.A.dylib 0x04a74f89 objc_exception_throw + 311
10 CoreFoundation 0x048a60de -[__NSDictionaryM setObject:forKey:] + 158
11 MobileCoreServices 0x02f9aeaa -[LSApplicationWorkspace installedApplications] + 1095
12 SpringBoard 0x000e1f3d 0x1000 + 921405
13 SpringBoard 0x000e2a16 0x1000 + 924182
14 SpringBoard 0x000df5a6 0x1000 + 910758
15 SpringBoard 0x000df2d1 0x1000 + 910033
16 SpringBoard 0x000df316 0x1000 + 910102
17 SpringBoard 0x001ee6df 0x1000 + 2021087
18 SpringBoard 0x00029040 0x1000 + 163904
19 SpringBoard 0x00026232 0x1000 + 152114
20 SpringBoard 0x00023b1e 0x1000 + 142110
21 SpringBoard 0x00005479 0x1000 + 17529
22 UIKit 0x009371af -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 354
23 UIKit 0x009377a1 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1338
24 UIKit 0x0093894b -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 805
25 UIKit 0x00938086 -[UIApplication _run] + 530
26 UIKit 0x00939ffc UIApplicationMain + 1211
27 SpringBoard 0x00004641 0x1000 + 13889
28 SpringBoard 0x00003a55 0x1000 + 10837
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x94c769ca kevent64 + 10
1 libdispatch.dylib 0x05080c2b _dispatch_mgr_invoke + 863
2 libdispatch.dylib 0x050808cc _dispatch_mgr_thread + 61
Thread 2:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x94c737d2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x94c72cb0 mach_msg + 68
2 liblaunch.dylib 0x94c5ce58 0x94c59000 + 15960
3 liblaunch.dylib 0x94c5b68e bootstrap_look_up3 + 78
4 libxpc.dylib 0x051d5de8 _xpc_connection_bootstrap_look_up_slow + 376
5 libxpc.dylib 0x051d6c36 _xpc_connection_init + 936
6 libxpc.dylib 0x051d6885 _xpc_connection_resume_init + 14
7 libdispatch.dylib 0x0508d014 _dispatch_client_callout + 14
8 libdispatch.dylib 0x0507e2e8 _dispatch_root_queue_drain + 335
9 libdispatch.dylib 0x0507e450 _dispatch_worker_thread2 + 39
10 libsystem_c.dylib 0x930a1e12 _pthread_wqthread + 441
11 libsystem_c.dylib 0x93089cca start_wqthread + 30
Thread 3:: Dispatch queue: com.apple.MobileInstallationSetDeviceCapabilities
0 libsystem_kernel.dylib 0x94c758e2 __psynch_cvwait + 10
1 libsystem_c.dylib 0x930a4220 _pthread_cond_wait + 833
2 libsystem_c.dylib 0x9312a0ad pthread_cond_wait$UNIX2003 + 71
3 MobileSystemServices 0x0527d083 MOXPCTransportReceiveMessage + 276
4 MobileInstallation 0x027aa015 perform_command + 682
5 MobileInstallation 0x027aabb8 __MobileInstallationSetDeviceCapabilities_block_invoke_057 + 97
6 libdispatch.dylib 0x0507b53f _dispatch_call_block_and_release + 15
7 libdispatch.dylib 0x0508d014 _dispatch_client_callout + 14
8 libdispatch.dylib 0x0507d418 _dispatch_queue_drain + 239
9 libdispatch.dylib 0x0507d2a6 _dispatch_queue_invoke + 59
10 libdispatch.dylib 0x0507e280 _dispatch_root_queue_drain + 231
11 libdispatch.dylib 0x0507e450 _dispatch_worker_thread2 + 39
12 libsystem_c.dylib 0x930a1e12 _pthread_wqthread + 441
13 libsystem_c.dylib 0x93089cca start_wqthread + 30
Thread 4:
0 libsystem_c.dylib 0x93089cac start_wqthread + 0
Thread 5:: WebThread
0 libsystem_kernel.dylib 0x94c737d2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x94c72cb0 mach_msg + 68
2 CoreFoundation 0x047c4a49 __CFRunLoopServiceMachPort + 185
3 CoreFoundation 0x047c98d4 __CFRunLoopRun + 1380
4 CoreFoundation 0x047c8f44 CFRunLoopRunSpecific + 276
5 CoreFoundation 0x047c8e1b CFRunLoopRunInMode + 123
6 WebCore 0x068cac50 RunWebThread(void*) + 608
7 libsystem_c.dylib 0x9309f557 _pthread_start + 344
8 libsystem_c.dylib 0x93089cee thread_start + 34
Thread 6:
0 libsystem_kernel.dylib 0x94c737d2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x94c72cb0 mach_msg + 68
2 CoreFoundation 0x047c4a49 __CFRunLoopServiceMachPort + 185
3 CoreFoundation 0x047c98d4 __CFRunLoopRun + 1380
4 CoreFoundation 0x047c8f44 CFRunLoopRunSpecific + 276
5 CoreFoundation 0x047c8e1b CFRunLoopRunInMode + 123
6 Foundation 0x0161c3ac -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 298
7 Foundation 0x0161c275 -[NSRunLoop(NSRunLoop) run] + 82
8 UIKit 0x00cb6445 -[UIStatusBarServerThread main] + 787
9 Foundation 0x01669764 __NSThread__main__ + 1304
10 libsystem_c.dylib 0x9309f557 _pthread_start + 344
11 libsystem_c.dylib 0x93089cee thread_start + 34
Thread 7:
0 libsystem_kernel.dylib 0x94c737d2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x94c72cb0 mach_msg + 68
2 CoreFoundation 0x047c4a49 __CFRunLoopServiceMachPort + 185
3 CoreFoundation 0x047c98d4 __CFRunLoopRun + 1380
4 CoreFoundation 0x047c8f44 CFRunLoopRunSpecific + 276
5 CoreFoundation 0x047c8e1b CFRunLoopRunInMode + 123
6 SpringBoard 0x000738a0 0x1000 + 469152
7 libsystem_c.dylib 0x9309f557 _pthread_start + 344
8 libsystem_c.dylib 0x93089cee thread_start + 34
Thread 8:
0 libsystem_c.dylib 0x93089cac start_wqthread + 0
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x0b1de7a0 ecx: 0xbfffe19c edx: 0x94c75a6a
edi: 0xac45ca28 esi: 0x00000006 ebp: 0xbfffe1b8 esp: 0xbfffe19c
ss: 0x00000023 efl: 0x00000206 eip: 0x94c75a6a cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x05022091
Logical CPU: 0
Binary Images:
0x1000 - 0x2acff7 +SpringBoard (2127.141) <EF39B240-01AE-3E9B-978C-B66804DCBE7B> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard
0x333000 - 0x3edff7 +StoreServices (858.20) <13DDADBB-7756-3DFF-8749-B978D0E9B2D5> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
0x469000 - 0x517ff7 +CoreText (289.14) <2459B66E-179A-39B4-A9C9-8D09538B3036> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/CoreText.framework/CoreText
0x560000 - 0x6f7fff +vImage (213.5) <B0EF7ABD-F20E-3616-B8B2-BAB707710833> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage
.....
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 504
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=199.7M resident=44.0M(22%) swapped_out_or_unallocated=155.7M(78%)
Writable regions: Total=65.2M written=2516K(4%) resident=9.9M(15%) swapped_out=0K(0%) unallocated=55.3M(85%)
REGION TYPE VIRTUAL
=========== =======
CoreServices 360K
JS JIT generated code 32.0M
MALLOC 14.0M
MALLOC guard page 48K
Memory tag=35 11.6M
Stack 67.9M
VM_ALLOCATE 64K
__DATA 12.1M
__LINKEDIT 70.1M
__PAGEZERO 4K
__TEXT 129.7M
__UNICODE 544K
mapped file 242.7M
shared memory 12K
=========== =======
TOTAL 581.0M
Any help with debugging this would be great as I'm not sure where to start with fixing this.
Can you run the simulator stand-alone, not through XCode?
If so, can you run any of the built-in applications?
I'm not sure what may be causing this but it could well be some low-level interaction between the simulator and the VM. You should also bring up Console and see what is logged to the system when you try to run from XCode.
"Reset Content and Settings" resolved this issue, however I think it was combined with a step I made earlier in my attempts at debugging, as at the start I also tried resetting the contents and it didn't work...

Xcode KEEPS Crashing when archiving

This is the error console:
Xcode just started crashing YESTERDAY, I have NO Clue why! I was arching my app to submit it, but I couldn't.
I have tried reinstalling and other attempts, PLEASE HELP!
This is the code when It crashed and came up with the crash report
Process: Xcode [1150]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.3.2 (1177)
Build Info: IDEApplication-1177000000000000~6
App Item ID: 497799835
App External ID: 7171108
Code Type: X86-64 (Native)
Parent Process: launchd [352]
Date/Time: 2012-05-13 08:15:21.649 -0400
OS Version: Mac OS X 10.7.3 (11D50b)
Report Version: 9
Interval Since Last Report: 111561 sec
Crashes Since Last Report: 38
Per-App Interval Since Last Report: 155115 sec
Per-App Crashes Since Last Report: 25
Anonymous UUID: XXXXXXXXXXXXXXXXXXXXXXXX
Crashed Thread: 10 Dispatch queue: IDEArchiveManager
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4E2002
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSArrayM objectForKey:]: unrecognized selector sent to instance 0x4039cb820
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff889ecfaa __exceptionPreprocess (in CoreFoundation)
1 0x00007fff8a778d5e objc_exception_throw (in libobjc.A.dylib)
2 0x00007fff88a792ae -[NSObject doesNotRecognizeSelector:] (in CoreFoundation)
3 0x00007fff889d9e73 ___forwarding___ (in CoreFoundation)
4 0x00007fff889d9c88 _CF_forwarding_prep_0 (in CoreFoundation)
5 0x0000000101323f62 +[IDEArchivedApplication archivedApplicationInfoForApplicationInArchiveProductsDirectory:] (in IDEFoundation)
6 0x0000000101322885 +[IDEArchive createArchiveWithName:schemeName:platform:products:auxiliaryFiles:usingFileManager:error:] (in IDEFoundation)
7 0x000000010131ea3e __block_global_0 (in IDEFoundation)
8 0x0000000100c084c0 __DVTDispatchAsync_block_invoke_0 (in DVTFoundation)
9 0x00007fff8c2b48ba _dispatch_call_block_and_release (in libdispatch.dylib)
10 0x00007fff8c2b610a _dispatch_queue_drain (in libdispatch.dylib)
11 0x00007fff8c2b5f66 _dispatch_queue_invoke (in libdispatch.dylib)
12 0x00007fff8c2b5760 _dispatch_worker_thread2 (in libdispatch.dylib)
13 0x00007fff8a4b23da _pthread_wqthread (in libsystem_c.dylib)
14 0x00007fff8a4b3b85 start_wqthread (in libsystem_c.dylib)
objc[1150]: garbage collection is ON
NSURL
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8e66167a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8e660d71 mach_msg + 73
2 libsystem_kernel.dylib 0x00007fff8e653d84 mach_port_insert_member + 131
3 com.apple.CoreFoundation 0x00007fff88981e00 __CFRunLoopRun + 1104
4 com.apple.CoreFoundation 0x00007fff88981676 CFRunLoopRunSpecific + 230
5 com.apple.HIToolbox 0x00007fff8367931f RunCurrentEventLoopInMode + 277
6 com.apple.HIToolbox 0x00007fff8368051b ReceiveNextEventCommon + 181
7 com.apple.HIToolbox 0x00007fff83680456 BlockUntilNextEventMatchingListInMode + 62
8 com.apple.AppKit 0x00007fff892b8f5d _DPSNextEvent + 659
9 com.apple.AppKit 0x00007fff892b8861 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
10 com.apple.AppKit 0x00007fff892b519d -[NSApplication run] + 470
11 com.apple.AppKit 0x00007fff89533b88 NSApplicationMain + 867
12 com.apple.dt.Xcode 0x0000000100b62eec 0x100b62000 + 3820
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8e6637e6 kevent + 10
1 libdispatch.dylib 0x00007fff8c2b65be _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8c2b514e _dispatch_mgr_thread + 54
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8e66167a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8e660d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff889796fc __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff88981e64 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff88981676 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff8f0baffb +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335
6 com.apple.Foundation 0x00007fff8f0af74e -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff8f0af6c6 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff8a4b08bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff8a4b3b75 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8e66167a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8e660d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff889796fc __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff88981e64 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff88981676 CFRunLoopRunSpecific + 230
5 com.apple.DTDeviceKit 0x00000001082a4ee8 -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 298
6 com.apple.Foundation 0x00007fff8f0af74e -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff8f0af6c6 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff8a4b08bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff8a4b3b75 thread_start + 13
Thread 4:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8e662df2 __select + 10
1 com.apple.CoreFoundation 0x00007fff889cacdb __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff8a4b08bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff8a4b3b75 thread_start + 13
Thread 5:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff8e66167a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8e660d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff889796fc __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff88981e64 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff88981676 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff8f060f9f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
6 com.apple.Foundation 0x00007fff8f060e8b -[NSRunLoop(NSRunLoop) run] + 62
7 com.apple.Foundation 0x00007fff8f0af74e -[NSThread main] + 68
8 com.apple.Foundation 0x00007fff8f0af6c6 __NSThread__main__ + 1575
9 libsystem_c.dylib 0x00007fff8a4b08bf _pthread_start + 335
10 libsystem_c.dylib 0x00007fff8a4b3b75 thread_start + 13
Thread 6:: CVDisplayLink
0 libsystem_kernel.dylib 0x00007fff8e662bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8a4b42a6 _pthread_cond_wait + 890
2 com.apple.CoreVideo 0x00007fff8927363f CVDisplayLink::waitUntil(unsigned long long) + 279
3 com.apple.CoreVideo 0x00007fff89272aa5 CVDisplayLink::runIOThread() + 559
4 com.apple.CoreVideo 0x00007fff8927285d _ZL13startIOThreadPv + 148
5 libsystem_c.dylib 0x00007fff8a4b08bf _pthread_start + 335
6 libsystem_c.dylib 0x00007fff8a4b3b75 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff8e662bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff8a4b4274 _pthread_cond_wait + 840
2 com.apple.Xcode.DevToolsCore 0x0000000104893b48 -[XCInvocationQueue _processInvocationsInThreadSlotNumber:] + 348
3 com.apple.Foundation 0x00007fff8f0af74e -[NSThread main] + 68
4 com.apple.Foundation 0x00007fff8f0af6c6 __NSThread__main__ + 1575
5 libsystem_c.dylib 0x00007fff8a4b08bf _pthread_start + 335
6 libsystem_c.dylib 0x00007fff8a4b3b75 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 10 Crashed:: Dispatch queue: IDEArchiveManager
0 libsystem_kernel.dylib 0x00007fff8e662ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8a4b27d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff8a4a3a7a abort + 143
3 com.apple.dt.IDEKit 0x000000010173560e +[IDEAssertionHandler _handleAssertionWithLogString:] + 506
4 com.apple.dt.IDEKit 0x0000000101736280 -[IDEAssertionHandler handleUncaughtException:] + 603
5 com.apple.dt.DVTFoundation 0x0000000100c084e9 __DVTDispatchAsync_block_invoke_0 + 57
6 libdispatch.dylib 0x00007fff8c2b48ba _dispatch_call_block_and_release + 18
7 libdispatch.dylib 0x00007fff8c2b610a _dispatch_queue_drain + 264
8 libdispatch.dylib 0x00007fff8c2b5f66 _dispatch_queue_invoke + 54
9 libdispatch.dylib 0x00007fff8c2b5760 _dispatch_worker_thread2 + 198
10 libsystem_c.dylib 0x00007fff8a4b23da _pthread_wqthread + 316
11 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 13:: Dispatch queue: Garbage Collection Work Queue
0 com.apple.CoreFoundation 0x00007fff88951e86 CFRelease + 662
1 com.apple.CoreFoundation 0x00007fff88959f43 __CFURLDeallocate + 35
2 com.apple.Foundation 0x00007fff8f1bdbb2 -[NSURL(NSURL) finalize] + 96
3 libobjc.A.dylib 0x00007fff8a77757c finalizeOneObject + 53
4 libauto.dylib 0x00007fff8402107e Auto::foreach_block_do(auto_zone_cursor*, void (*)(void*, void*), void*) + 94
5 libobjc.A.dylib 0x00007fff8a7774ac batchFinalize + 53
6 libobjc.A.dylib 0x00007fff8a7775fb batchFinalizeOnTwoThreads + 91
7 libauto.dylib 0x00007fff84021019 Auto::Zone::invalidate_garbage(unsigned long, void**) + 73
8 libauto.dylib 0x00007fff8400e7db auto_collect_internal(Auto::Zone*, unsigned int) + 459
9 libauto.dylib 0x00007fff8400a21a __auto_zone_collect_block_invoke_0 + 74
10 libdispatch.dylib 0x00007fff8c2b48ba _dispatch_call_block_and_release + 18
11 libdispatch.dylib 0x00007fff8c2b610a _dispatch_queue_drain + 264
12 libdispatch.dylib 0x00007fff8c2b5f66 _dispatch_queue_invoke + 54
13 libdispatch.dylib 0x00007fff8c2b5760 _dispatch_worker_thread2 + 198
14 libsystem_c.dylib 0x00007fff8a4b23da _pthread_wqthread + 316
15 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 17:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 18:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 19:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 20:
0 libsystem_kernel.dylib 0x00007fff8e663192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8a4b2594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8a4b3b85 start_wqthread + 13
Thread 21:
0 libsystem_kernel.dylib 0x00007fff8e66167a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8e660d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff889796fc __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff88981e64 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff88981676 CFRunLoopRunSpecific + 230
5 com.apple.DebugSymbols 0x00007fff84d9c2f2 _ZL20SpotlightQueryThreadPv + 434
6 libsystem_c.dylib 0x00007fff8a4b08bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff8a4b3b75 thread_start + 13
Thread 22:
0 libsystem_kernel.dylib 0x00007fff8e662e42 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff8a466dea nanosleep + 164
2 com.apple.CoreSymbolication 0x00007fff887233bb cleaner_thread_main(void*) + 42
3 libsystem_c.dylib 0x00007fff8a4b08bf _pthread_start + 335
4 libsystem_c.dylib 0x00007fff8a4b3b75 thread_start + 13
Is there any other solutions to try before I quit?
I need help, Thanks
Any solutions
You should report that to Apple. It looks like they've got an array that they think should be a dictionary (perhaps it's a bug in parsing the project file).