SDWebImage weird crash com.apple.root.user-initiated-qos - sdwebimage

We are experiencing a number of crashes that is proving to be hard to debug. Here is an extract from the crashlytics report;
# OS Version: 10.3.2 (14F89)
# Device: iPad Air
# RAM Free: 1.3%
# Disk Free: 23%
#8. Crashed: com.apple.root.user-initiated-qos
0 Nabo 0x10039ba54 -[SDWebImageCombinedOperation cancel] (SDWebImageManager.m:327)
1 Nabo 0x1003a03f8 -[UIView(WebCacheOperation) sd_cancelImageLoadOperationWithKey:] (UIView+WebCacheOperation.m:55)
2 Nabo 0x10039ea8c -[UIView(WebCache) sd_internalSetImageWithURL:placeholderImage:options:operationKey:setImageBlock:progress:completed:] (UIView+WebCache.m:39)
3 Nabo 0x10039e114 -[UIImageView(WebCache) sd_setImageWithURL:placeholderImage:options:progress:completed:] (UIImageView+WebCache.m:48)
4 Nabo 0x10039e078 -[UIImageView(WebCache) sd_setImageWithURL:placeholderImage:options:completed:] (UIImageView+WebCache.m:40)
5 Nabo 0x10006caa8 __31-[NMCachedImageView loadImage:]_block_invoke (NMCachedImageView.m:34)
6 libdispatch.dylib 0x18fde29e0 _dispatch_call_block_and_release + 24
7 libdispatch.dylib 0x18fde29a0 _dispatch_client_callout + 16
8 libdispatch.dylib 0x18fdf2bac _dispatch_root_queue_drain + 888
9 libdispatch.dylib 0x18fdf27d0 _dispatch_worker_thread3 + 124
10 libsystem_pthread.dylib 0x18ffeb100 _pthread_wqthread + 1096
11 libsystem_pthread.dylib 0x18ffeacac start_wqthread + 4
Any clues appreciated. I have noted there is low memory but this is a crash not an OOM issue. This is version 4.0.0 of SDWebImage using cocoapods.

Related

Bug when uploading app to real Apple Watch

I am trying to upload my independent watchOS App on my real Apple Watch series 5, but I am having a problem. I am receiving a issue that I telling me:
Unable to install "FirstTestWatch WatchKit App"
Domain: com.apple.dtdevicekit
Code: -402620395
--
App installation failed
Domain: com.apple.dtdevicekit
Code: -402620395
Failure Reason: A valid provisioning profile for this executable was not found.
User Info: {
DVTRadarComponentKey = 487927;
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001261406e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x0000000126140de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x000000012618056a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164
3 DVTFoundation 0x000000010d00bc22 DVTInvokeWithStrongOwnership + 73
4 DTDeviceKitBase 0x0000000126180301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589
5 IDEiOSSupportCore 0x0000000126008a25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523
6 DVTFoundation 0x000000010d13ce8a __DVT_CALLING_CLIENT_BLOCK__ + 7
7 DVTFoundation 0x000000010d13e562 __DVTDispatchAsync_block_invoke + 809
8 libdispatch.dylib 0x00007fff70480583 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff7048150e _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff70486ace _dispatch_lane_serial_drain + 597
11 libdispatch.dylib 0x00007fff70487452 _dispatch_lane_invoke + 363
12 libdispatch.dylib 0x00007fff70490a9e _dispatch_workloop_worker_thread + 598
13 libsystem_pthread.dylib 0x00007fff706db6fc _pthread_wqthread + 290
14 libsystem_pthread.dylib 0x00007fff706da827 start_wqthread + 15
);
}
--
I am trying to figure out the problem, but I am having difficulties. The Apple Watch is with watchOS 6.1.1, MAC BOOK - macOS Catalina 10.15.2 and Xcode 11.3. Thank you!
I solved this problem today after getting stuck for two days.
Download watchOSLogging.mobileconfig to the paired iPhone and install it.

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 ?

iphone app crash bad access exception DataDetectorsCore processToken

My iphone app is crashing on ios 7.0 iphone 5s on client device i can't figure out what is wrong with it, I am using crashlytics for crash reporting.
Crashlytics reporting crash due to bad access on thread #9 DataDetectorsCore processToken
Crashed: NSOperationQueue 0x17023e120
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000620a51e24
0 DataDetectorsCore processToken + 400
1 DataDetectorsCore _DDScannerHandleState + 344
2 DataDetectorsCore _DDScannerHandleState + 344
3 DataDetectorsCore _DDScannerHandleState + 400
4 DataDetectorsCore _DDScannerHandleState + 400
5 DataDetectorsCore _DDScannerHandleState + 400
6 DataDetectorsCore _DDScannerHandleState + 400
7 DataDetectorsCore DDScannerScanQuery + 456
8 DataDetectorsUI -[DDOperation main] + 240
9 Foundation -[__NSOperationInternal _start:] + 644
10 Foundation __NSOQSchedule_f + 76
11 libdispatch.dylib _dispatch_client_callout + 16
12 libdispatch.dylib _dispatch_async_redirect_invoke + 152
13 libdispatch.dylib _dispatch_client_callout + 16
14 libdispatch.dylib _dispatch_root_queue_drain + 400
15 libdispatch.dylib _dispatch_worker_thread2 + 76
16 libsystem_pthread.dylib _pthread_wqthread + 356
Full crash report:
http://crashes.to/s/e069d75fec9

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 4.5 quit unexpectedly ASSERTION FAILURE

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.