Posts

Post not yet marked as solved
4 Replies
3.1k Views
Recently upgraded my Macbook to Catalina OS v10.15.1 and have since been experiencing performance problems with the Simulator in Xcode (v11.2.1).To be precise, the simulator is working OK, but my Macbook fan starts running high immediately after launching the simulator, then the laptop starts to get very warm. This follows up with a Crash Report from process searchd (below). The process Launchd_sim is also taking lots of CPU processing according to Activity Monitor.Strangely, the simulator works fine but the Macbook fan is running abnormally high and is very hot. I did not have this problem prior to going to Catalina OS.When quitting the simulator, the fan slows to normal speed and the machine seems to cool down. This situation is repeatable. Anyone else seen this problem? Note also when using a physical iPhone device instead of the simulator, I do not get any crash nor any such similar symptoms.Simulator version is 11.2.1 (SimulatorApp-912.4 SimulatorKit-570.3 CoreSimulator-681.15).From Console's (partial) Crash Report:Process: searchd [11382]Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Search.framework/searchdIdentifier: searchdVersion: 2073.1Code Type: X86-64 (Native)Parent Process: launchd_sim [11219]Responsible: SimulatorTrampoline [1176]User ID: 501Date/Time: 2019-12-15 10:37:31.277 +0100OS Version: Mac OS X 10.15.1 (19B88)Report Version: 12Anonymous UUID: 19B5ACA8-D061-41E2-1CD0-65EBEB8D3499Sleep/Wake UUID: 44265181-901D-4D25-AF95-C778F4B5F151Time Awake Since Boot: 30000 secondsTime Since Wake: 1800 secondsSystem Integrity Protection: enabledCrashed Thread: 1 Dispatch queue: com.apple.metadata.spotlightindex.Flush scheduler for index at /Users/jeffs_itunes/Library/Developer/CoreSimulator/Devices/4B8DException Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x0000000200000010Exception Note: EXC_CORPSE_NOTIFYTermination Signal: Segmentation fault: 11Termination Reason: Namespace SIGNAL, Code 0xbTerminating Process: exc handler [11382]VM Regions Near 0x200000010: __LINKEDIT 000000010d769000-000000010d7a1000 [ 224K] r--/r-- SM=COW /usr/lib/dyld--> STACK GUARD 0000700006f23000-0000700006f24000 [ 4K] ---/rwx SM=NUL stack guard for thread 1Application Specific Information:CoreSimulator 681.15 - Device: iPhone 8 (4B8DA2C2-A685-4076-8B21-3FF303DDEFC5) - Runtime: iOS 13.2 (17B102) - DeviceType: iPhone 8Thread 0:: Dispatch queue: com.apple.main-thread0 libsystem_kernel.dylib 0x00007fff51b54166 mach_msg_trap + 101 libsystem_kernel.dylib 0x00007fff51b546cc mach_msg + 602 com.apple.CoreFoundation 0x00007fff23bb1aa5 __CFRunLoopServiceMachPort + 1973 com.apple.CoreFoundation 0x00007fff23bac7c7 __CFRunLoopRun + 16714 com.apple.CoreFoundation 0x00007fff23****16 CFRunLoopRunSpecific + 4385 com.apple.Foundation 0x00007fff2574b87f -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 2116 searchd 0x000000010169ed5a 0x101692000 + 525707 libdyld.dylib 0x00007fff51a1dc25 start + 1Thread 1 Crashed:: Dispatch queue: com.apple.metadata.spotlightindex.Flush scheduler for index at /Users/jeffs_itunes/Library/Developer/CoreSimulator/Devices/4B8D0 libsystem_platform.dylib 0x00007fff51bf6732 _platform_strlen + 181 libsystem_c.dylib 0x00007fff51ac73f2 strdup + 182 com.apple.spotlight.SpotlightDaemon 0x00007fff44086956 SDTransactionDone + 173 com.apple.spotlight.SpotlightDaemon 0x00007fff4405c964 syncFinished + 364 com.apple.mobilespotlight.index 0x00007fff3c8c4ed9 delayed_op_final + 155 com.apple.mobilespotlight.index 0x00007fff3c8bd05f flush_runLoop + 1056 com.apple.mobilespotlight.index 0x00007fff3c910547 work_fun + 6347 libdispatch.dylib 0x00007fff519eb265 _dispatch_block_async_invoke2 + 838 libdispatch.dylib 0x00007fff519de7b9 _dispatch_client_callout + 89 libdispatch.dylib 0x00007fff519e4526 _dispatch_lane_serial_drain + 70710 libdispatch.dylib 0x00007fff519e4f93 _dispatch_lane_invoke + 44311 libdispatch.dylib 0x00007fff519e4394 _dispatch_lane_serial_drain + 30512 libdispatch.dylib 0x00007fff519e4f93 _dispatch_lane_invoke + 44313 libdispatch.dylib 0x00007fff519e5e90 _dispatch_workloop_invoke + 99214 libdispatch.dylib 0x00007fff519eeff9 _dispatch_workloop_worker_thread + 62615 libsystem_pthread.dylib 0x00007fff51c0171b _pthread_wqthread + 29016 libsystem_pthread.dylib 0x00007fff51c0157b start_wqthread + 15Thread 2:: Dispatch queue: com.apple.searchd.createEncryptedRankingBackupQueue0 libsystem_kernel.dylib 0x00007fff51b56a16 __ulock_wait + 101 libdispatch.dylib 0x00007fff519defb4 _dlock_wait + 442 libdispatch.dylib 0x00007fff519df23f _dispatch_group_wait_slow + 433 searchd 0x00000001016adeb8 0x101692000 + 1143604 libdispatch.dylib 0x00007fff519dd848 _dispatch_call_block_and_release + 125 libdispatch.dylib 0x00007fff519de7b9 _dispatch_client_callout + 86 libdispatch.dylib 0x00007fff519e466d _dispatch_lane_serial_drain + 10347 libdispatch.dylib 0x00007fff519e4f5c _dispatch_lane_invoke + 3888 libdispatch.dylib 0x00007fff519eeff9 _dispatch_workloop_worker_thread + 6269 libsystem_pthread.dylib 0x00007fff51c0171b _pthread_wqthread + 29010 libsystem_pthread.dylib 0x00007fff51c0157b start_wqthread + 15Thread 3:: Dispatch queue: com.apple.searchd.application.localization.updates0 libxpc.dylib 0x00007fff51c3ebfd xpc_data_create + 11 libxpc.dylib 0x00007fff51c4189b xpc_dictionary_set_data + 272 libsystem_trace.dylib 0x00007fff51c1aff5 _os_activity_stream_entry_encode + 10023 libsystem_trace.dylib 0x00007fff51c1aa3b _os_activity_stream_reflect + 3124 libsystem_trace.dylib 0x00007fff51c26399 _os_log_impl_stream + 5645 libsystem_trace.dylib 0x00007fff51c2590f _os_log_impl_flatten_and_send + 63476 libsystem_trace.dylib 0x00007fff51c24035 _os_log + 1627 libsystem_trace.dylib 0x00007fff51c26923 _os_log_impl + 98 com.apple.CoreSpotlight 0x00007fff24f5c4b7 __initEntitlements_block_invoke + 4069 libdispatch.dylib 0x00007fff519de7b9 _dispatch_client_callout + 810 libdispatch.dylib 0x00007fff519df9e5 _dispatch_once_callout + 2011 com.apple.CoreSpotlight 0x00007fff24f5c95a hasInternalCSEntitlement + 4012 com.apple.CoreServices 0x00007fff24f20014 -[CSSearchableItem setExpirationDate:] + 4013 com.apple.CoreServices 0x00007fff24f1f0e9 -[CSSearchableItem initWithUniqueIdentifier:domainIdentifier:attributeSet:] + 39914 searchd 0x00000001016f17f7 0x101692000 + 39115915 searchd 0x00000001016f3720 0x101692000 + 39913616 libdispatch.dylib 0x00007fff519dd848 _dispatch_call_block_and_release + 1217 libdispatch.dylib 0x00007fff519de7b9 _dispatch_client_callout + 818 libdispatch.dylib 0x00007fff519e4526 _dispatch_lane_serial_drain + 70719 libdispatch.dylib 0x00007fff519e4f93 _dispatch_lane_invoke + 44320 libdispatch.dylib 0x00007fff519eeff9 _dispatch_workloop_worker_thread + 62621 libsystem_pthread.dylib 0x00007fff51c0171b _pthread_wqthread + 29022 libsystem_pthread.dylib 0x00007fff51c0157b start_wqthread + 15Thread 4:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 5:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 6:: Dispatch queue: PKPlugIn start (com.apple.FileProvider.FPSpotlightIndexer)0 libsystem_kernel.dylib 0x00007fff51b56a16 __ulock_wait + 101 libsystem_platform.dylib 0x00007fff51bf7c8b _os_unfair_lock_lock_slow + 1602 libxpc.dylib 0x00007fff51c46c06 _xpc_uncork_domain + 733 com.apple.pluginkit.framework 0x00007fff41ab43b0 0x7fff41ab1000 + 132324 libdispatch.dylib 0x00007fff519dd848 _dispatch_call_block_and_release + 125 libdispatch.dylib 0x00007fff519de7b9 _dispatch_client_callout + 86 libdispatch.dylib 0x00007fff519e4526 _dispatch_lane_serial_drain + 7077 libdispatch.dylib 0x00007fff519e4f5c _dispatch_lane_invoke + 3888 libdispatch.dylib 0x00007fff519eeff9 _dispatch_workloop_worker_thread + 6269 libsystem_pthread.dylib 0x00007fff51c0171b _pthread_wqthread + 29010 libsystem_pthread.dylib 0x00007fff51c0157b start_wqthread + 15Thread 7:: Dispatch queue: Set Attributes scheduler for spindle 00 libsystem_kernel.dylib 0x00007fff51b55c22 kevent_id + 101 libdispatch.dylib 0x00007fff519fae29 _dispatch_kq_poll + 2422 libdispatch.dylib 0x00007fff519faa2e _dispatch_kq_drain + 1463 libdispatch.dylib 0x00007fff519fa943 _dispatch_event_loop_drain + 3074 libdispatch.dylib 0x00007fff519e5d19 _dispatch_workloop_invoke + 6175 libdispatch.dylib 0x00007fff519eeff9 _dispatch_workloop_worker_thread + 6266 libsystem_pthread.dylib 0x00007fff51c0171b _pthread_wqthread + 2907 libsystem_pthread.dylib 0x00007fff51c0157b start_wqthread + 15Thread 8:0 libsystem_kernel.dylib 0x00007fff51b54166 mach_msg_trap + 101 libsystem_kernel.dylib 0x00007fff51b546cc mach_msg + 602 com.apple.mobilespotlight.index 0x00007fff3c9d4e0c _handleExceptions + 1143 libsystem_pthread.dylib 0x00007fff51c04d36 _pthread_start + 1254 libsystem_pthread.dylib 0x00007fff51c0158f thread_start + 15Thread 9:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 10:: Dispatch queue: com.apple.searchd.workq0 libsystem_kernel.dylib 0x00007fff51b54166 mach_msg_trap + 101 libsystem_kernel.dylib 0x00007fff51b546cc mach_msg + 602 libsystem_notify.dylib 0x00007fff51bf15ab notify_check + 2903 com.apple.CoreServices 0x00007fff24e1e5d4 _LSDatabaseNotificationCheck() + 1324 com.apple.CoreServices 0x00007fff24e1bf7d _LSDatabaseNeedsUpdate(_LSDatabase*) + 535 com.apple.CoreServices 0x00007fff24e1b19d _LSContextInitReturningError + 2936 com.apple.CoreServices 0x00007fff24e1b8a1 _LSContextInit + 497 com.apple.CoreServices 0x00007fff24df3b81 +[LSApplicationProxy applicationProxyForBundleType:identifier:isCompanion:URL:itemID:bundleUnit:] + 2018 com.apple.CoreServices 0x00007fff24df3f37 +[LSApplicationProxy applicationProxyForIdentifier:] + 329 searchd 0x00000001016dea37 0x101692000 + 31391110 libdispatch.dylib 0x00007fff519dd848 _dispatch_call_block_and_release + 1211 libdispatch.dylib 0x00007fff519de7b9 _dispatch_client_callout + 812 libdispatch.dylib 0x00007fff519e4526 _dispatch_lane_serial_drain + 70713 libdispatch.dylib 0x00007fff519e4f93 _dispatch_lane_invoke + 44314 libdispatch.dylib 0x00007fff519eeff9 _dispatch_workloop_worker_thread + 62615 libsystem_pthread.dylib 0x00007fff51c0171b _pthread_wqthread + 29016 libsystem_pthread.dylib 0x00007fff51c0157b start_wqthread + 15Thread 11:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 12:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 13:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 14:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 15:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 16:: Dispatch queue: PKPlugIn start (com.apple.eventkitui.spotlight)0 libsystem_kernel.dylib 0x00007fff51b54166 mach_msg_trap + 101 libsystem_kernel.dylib 0x00007fff51b546cc mach_msg + 602 libxpc.dylib 0x00007fff51c4ca35 _xpc_pipe_routine + 3483 libxpc.dylib 0x00007fff51c4cc04 xpc_pipe_routine_with_flags + 494 libxpc.dylib 0x00007fff51c35cc1 _xpc_interface_routine + 1695 libxpc.dylib 0x00007fff51c46b97 _xpc_bootstrap_services + 1156 libxpc.dylib 0x00007fff51c46ee3 _xpc_uncork_domain + 8067 com.apple.pluginkit.framework 0x00007fff41ab43b0 0x7fff41ab1000 + 132328 libdispatch.dylib 0x00007fff519dd848 _dispatch_call_block_and_release + 129 libdispatch.dylib 0x00007fff519de7b9 _dispatch_client_callout + 810 libdispatch.dylib 0x00007fff519e4526 _dispatch_lane_serial_drain + 70711 libdispatch.dylib 0x00007fff519e4f5c _dispatch_lane_invoke + 38812 libdispatch.dylib 0x00007fff519eeff9 _dispatch_workloop_worker_thread + 62613 libsystem_pthread.dylib 0x00007fff51c0171b _pthread_wqthread + 29014 libsystem_pthread.dylib 0x00007fff51c0157b start_wqthread + 15Thread 17:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 18:0 libsystem_pthread.dylib 0x00007fff51c0156c start_wqthread + 0Thread 1 crashed with X86 Thread State (64-bit): rax: 0x00000000519df1c0 rbx: 0x00007ff1f1540650 rcx: 0x0000000200000013 rdx: 0x0000000200000013 rdi: 0x0000000200000010 rsi: 0x0000000000000000 rbp: 0x0000700006fa3450 rsp: 0x0000700006fa3450 r8: 0x0000003000000000 r9: 0x0060000000000000 r10: 0xfffffff700000000 r11: 0x0000000700000000 r12: 0x00007ff1f15152c0 r13: 0x00007fff842cf120 r14: 0x0000000200000013 r15: 0x0000000200000002 rip: 0x00007fff51bf6732 rfl: 0x0000000000010202 cr2: 0x000000010a779a93Logical CPU: 0Error Code: 0x02000177Trap Number: 133(omitted binary images)xternal 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: 2345146 thread_create: 0 thread_set_state: 426VM Region Summary:ReadOnly portion of Libraries: Total=588.9M resident=0K(0%) swapped_out_or_unallocated=588.9M(100%)Writable regions: Total=144.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=144.6M(100%) VIRTUAL REGIONREGION TYPE SIZE COUNT (non-coalesced)=========== ======= =======Activity Tracing 256K 1Dispatch continuations 12.0M 12Kernel Alloc Once 8K 1MALLOC 110.8M 74MALLOC guard page 48K 12Memory Tag 241 16K 2Memory Tag 243 384K 2Memory Tag 244 3328K 7Memory Tag 250 96K 2STACK GUARD 56.1M 19Stack 17.1M 20VM_ALLOCATE 200K 1__DATA 9962K 356__DATA_CONST 39.5M 349__DATA_DIRTY 10K 10__FONT_DATA 4K 1__LINKEDIT 290.3M 4__OBJC_RO 42.7M 1__OBJC_RW 2128K 1__TEXT 298.6M 359__UNICODE 564K 1mapped file 134.7M 147shared memory 24K 3=========== ======= =======TOTAL 1.0G 1385
Posted Last updated
.