3 Replies
      Latest reply on Nov 5, 2019 5:21 AM by nifly-nc
      dacap Level 1 Level 1 (0 points)

        When a try to use the "Time Profiler" of Instruments Version 11.1 (11A1027) on macOS 10.15 Catalina, after attaching to a process and after a couple of seconds Instruments crashes. The diagnostic .crash file has this stacktrace for the crashed thread:

         

        Process:               Instruments [83778]
        Path:                  /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/MacOS/Instruments
        Identifier:            com.apple.dt.Instruments
        Version:               11.0 (64525.11)
        Build Info:            Instruments-64525011000000000~86
        Code Type:             X86-64 (Native)
        Parent Process:        ??? [1]
        Responsible:           Instruments [83778]
        User ID:               501
        
        
        Date/Time:             2019-10-16 13:48:00.382 -0300
        OS Version:            Mac OS X 10.15 (19A583)
        Report Version:        12
        Bridge OS Version:     4.0 (17P572)
        
        [...]
        
        Thread 8 Crashed:: Dispatch queue: symbolicator -> address queue
        0   com.apple.CoreSymbolicationDT 0x00000001067fc956 invocation function for block in foreach_object_in_archive(char const*, unsigned long long, char const*, void (CSCppFileMemory*, CSCppArchiveEntry const*, unsigned long long, bool*, bool*) block_pointer) + 34
        1   com.apple.CoreSymbolicationDT 0x00000001067fb1fe new_partial_file_memory(char const*, unsigned long long, unsigned int, unsigned long long (CSCppFileMemory*) block_pointer) + 94
        2   com.apple.CoreSymbolicationDT 0x00000001067fc4b5 iterate_symbol_owners_from_archive(char const*, unsigned long long, unsigned int, CSCppArchitecture const&, char const*, bool, void (CSCppSymbolOwner*) block_pointer) + 474
        3   com.apple.CoreSymbolicationDT 0x00000001067fb4f7 iterate_symbol_owners_from_memory(CSCppMemory*, char const*, unsigned int, unsigned long long, unsigned int, CSCppArchitecture const&, char const*, bool, void (CSCppSymbolOwner*) block_pointer) + 464
        4   com.apple.CoreSymbolicationDT 0x00000001067fbd10 iterate_symbol_owners_from_path(char const*, bool, unsigned int, CSCppArchitecture const&, bool, void (CSCppSymbolOwner*) block_pointer) + 441
        5   com.apple.CoreSymbolicationDT 0x00000001067ec0cb CSSymbolicatorCreateWithPathArchitectureFlagsAndNotification + 251
        6   com.apple.CoreSymbolicationDT 0x00000001067e485f void extract_debug_maps_from_header<SizeAndEndianness<Pointer64, LittleEndian> >(TExtendedMachOHeader<SizeAndEndianness<Pointer64, LittleEndian> >&, TRawSymbolOwnerData<SizeAndEndianness<Pointer64, LittleEndian>::SIZE>&, TNList<SizeAndEndianness<Pointer64, LittleEndian> > const*, unsigned int, TRange<SizeAndEndianness<Pointer64, LittleEndian>::SIZE>) + 542
        7   com.apple.CoreSymbolicationDT 0x0000000106818c32 TRawSymbolOwnerData<SizeAndEndianness<Pointer64, LittleEndian>::SIZE>* create_traw_symbol_owner_data_arch_specific<SizeAndEndianness<Pointer64, LittleEndian> >(CSCppSymbolOwner*, CSCppDsymData*) + 5456
        8   com.apple.CoreSymbolicationDT 0x00000001067d99d2 CSCppSymbolOwnerData* create_symbol_owner_data_arch_specific<SizeAndEndianness<Pointer64, LittleEndian> >(CSCppSymbolOwner*, CSCppDsymData*) + 480
        9   com.apple.CoreSymbolicationDT 0x00000001067d94cb create_symbol_owner_data2(CSCppSymbolOwner*, CSCppDsymData*) + 70
        10  com.apple.CoreSymbolicationDT 0x00000001067d916e CSCppSymbolOwnerCache::create_symbol_owner_data(CSCppSymbolOwner*, CSCppDsymData*) + 602
        11  com.apple.CoreSymbolicationDT 0x00000001067d8aed CSCppSymbolOwnerCache::data_for_symbol_owner(CSCppSymbolOwner*) + 45
        12  com.apple.CoreSymbolicationDT 0x00000001067d8a96 CSCppSymbolOwner::data() + 24
        13  com.apple.CoreSymbolicationDT 0x00000001067fb050 CSSymbolOwnerForEachStackFrameAtAddress + 50
        14  com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a9c204 -[PFTPersistentSymbols _iterateStackFramesForAddress:inSymbolOwner:atTime:] + 256
        15  com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a9c5ba -[PFTPersistentSymbols _shadowSymbolForAddress:inSymbolicator:atTime:] + 200
        16  com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a98bc5 __49-[PFTPersistentSymbols learnSymbolsForBacktrace:]_block_invoke_2 + 101
        17  com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105b31652 -[XRBacktraceTypeAdapter enumerateFramesInRange:options:block:] + 272
        18  com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a98afd __49-[PFTPersistentSymbols learnSymbolsForBacktrace:]_block_invoke + 111
        19  libdispatch.dylib              0x00007fff661714de _dispatch_client_callout + 8
        20  libdispatch.dylib              0x00007fff6617d576 _dispatch_lane_barrier_sync_invoke_and_complete + 60
        21  com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a98a6f -[PFTPersistentSymbols learnSymbolsForBacktrace:] + 112
        22  com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a7b045 __33-[XRCallstackFixupOracle invoke:]_block_invoke + 1363
        23  libdispatch.dylib              0x00007fff661714de _dispatch_client_callout + 8
        24  libdispatch.dylib              0x00007fff6617d8c2 _dispatch_sync_invoke_and_complete_recurse + 65
        25  libdispatch.dylib              0x00007fff6617d435 _dispatch_sync_f_slow + 195
        26  com.apple.dt.instruments.InstrumentsPlugIn 0x0000000105a7aab8 -[XRCallstackFixupOracle invoke:] + 144
        27  com.apple.dt.InstrumentsAnalysisCore 0x000000010535db4f -[XRAnalysisCoreObjectRegistry invokeOracleFunction:invocation:] + 63
        28  com.apple.dt.InstrumentsAnalysisCore 0x0000000105292791 XRCLIPSBlackboardEngine::_cpCallstackFixup(environmentData*, udfContext*, udfValue*) + 337
        29  com.apple.dt.InstrumentsAnalysisCore 0x0000000105350b75 EvaluateExpression + 437
        30  com.apple.dt.InstrumentsAnalysisCore 0x0000000105243ebe AssertCommand + 766
        31  com.apple.dt.InstrumentsAnalysisCore 0x0000000105350b75 EvaluateExpression + 437
        32  com.apple.dt.InstrumentsAnalysisCore 0x0000000105265c9b PrognFunction + 75
        33  com.apple.dt.InstrumentsAnalysisCore 0x0000000105350b75 EvaluateExpression + 437
        34  com.apple.dt.InstrumentsAnalysisCore 0x00000001053565ec EvaluateProcActions + 620
        35  com.apple.dt.InstrumentsAnalysisCore 0x0000000105375d21 Run + 1985
        36  com.apple.dt.InstrumentsAnalysisCore 0x00000001052a3e5a invocation function for block in XRCLIPS::run(long long) + 26
        37  com.apple.dt.InstrumentsAnalysisCore 0x00000001052a3483 _runInCLocale(void () block_pointer) + 51
        38  com.apple.dt.InstrumentsAnalysisCore 0x0000000105295cbe XRCLIPSBlackboardEngine::executeRules() + 238
        39  com.apple.dt.InstrumentsAnalysisCore 0x0000000105295518 XRCLIPSBlackboardEngine::modelEventStream(XRAnalysisCoreReadCursor*, signed char _Atomic*) + 968
        40  com.apple.dt.InstrumentsAnalysisCore 0x0000000105267b52 -[XRCLIPSModeler populateOutputTables:usingObserverations:parameters:yieldFlag:] + 50
        41  com.apple.dt.InstrumentsAnalysisCore 0x0000000105365b82 -[XRAnalysisCoreModelingExecutor executeStopOnItinerary:] + 3650
        42  com.apple.dt.instruments.DVTInstrumentsUtilities 0x00000001050578e6 -[XRMobileAgent(XRMobileAgentStop) hello] + 253
        43  com.apple.dt.instruments.DVTInstrumentsUtilities 0x0000000105053e73 __51-[XRFrameActivityManager _reevaluateArrivingAgent:]_block_invoke + 105
        44  com.apple.dt.instruments.DVTInstrumentsUtilities 0x000000010505ad57 xray::scheduler::ActivityManager::_processActivity(void*) + 115
        45  libdispatch.dylib              0x00007fff661714de _dispatch_client_callout + 8
        46  libdispatch.dylib              0x00007fff66173690 _dispatch_continuation_pop + 414
        47  libdispatch.dylib              0x00007fff66172d8e _dispatch_async_redirect_invoke + 703
        48  libdispatch.dylib              0x00007fff6617f7e5 _dispatch_root_queue_drain + 326
        49  libdispatch.dylib              0x00007fff6617ff25 _dispatch_worker_thread2 + 92
        50  libsystem_pthread.dylib        0x00007fff663ca71d _pthread_wqthread + 220
        51  libsystem_pthread.dylib        0x00007fff663ca5c3 start_wqthread + 15
        

         

        Somebody is having these issues on Catalina?

        • Re: Instruments crashes on macOS Catalina
          nifly-nc Level 1 Level 1 (0 points)

          I also have this issue with instruments with the e, I think it started after I installed Catalina...

           

          Thread 10 Crashed:: Dispatch queue: symbolicator -> address queue
          0   com.apple.CoreSymbolicationDT 0x0000000103752956 invocation function for block in foreach_object_in_archive(char const*, unsigned long long, char const*, void (CSCppFileMemory*, CSCppArchiveEntry const*, unsigned long long, bool*, bool*) block_pointer) + 34
          1   com.apple.CoreSymbolicationDT 0x00000001037511fe new_partial_file_memory(char const*, unsigned long long, unsigned int, unsigned long long (CSCppFileMemory*) block_pointer) + 94
          2   com.apple.CoreSymbolicationDT 0x00000001037524b5 iterate_symbol_owners_from_archive(char const*, unsigned long long, unsigned int, CSCppArchitecture const&, char const*, bool, void (CSCppSymbolOwner*) block_pointer) + 474
          3   com.apple.CoreSymbolicationDT 0x00000001037514f7 iterate_symbol_owners_from_memory(CSCppMemory*, char const*, unsigned int, unsigned long long, unsigned int, CSCppArchitecture const&, char const*, bool, void (CSCppSymbolOwner*) block_pointer) + 464
          4   com.apple.CoreSymbolicationDT 0x0000000103751d10 iterate_symbol_owners_from_path(char const*, bool, unsigned int, CSCppArchitecture const&, bool, void (CSCppSymbolOwner*) block_pointer) + 441
          5   com.apple.CoreSymbolicationDT 0x00000001037420cb CSSymbolicatorCreateWithPathArchitectureFlagsAndNotification + 251
          6   com.apple.CoreSymbolicationDT 0x000000010373a85f void extract_debug_maps_from_header<SizeAndEndianness<Pointer64, LittleEndian> >(TExtendedMachOHeader<SizeAndEndianness<Pointer64, LittleEndian> >&, TRawSymbolOwnerData<SizeAndEndianness<Pointer64, LittleEndian>::SIZE>&, TNList<SizeAndEndianness<Pointer64, LittleEndian> > const*, unsigned int, TRange<SizeAndEndianness<Pointer64, LittleEndian>::SIZE>) + 542
          7   com.apple.CoreSymbolicationDT 0x000000010376ec32 TRawSymbolOwnerData<SizeAndEndianness<Pointer64, LittleEndian>::SIZE>* create_traw_symbol_owner_data_arch_specific<SizeAndEndianness<Pointer64, LittleEndian> >(CSCppSymbolOwner*, CSCppDsymData*) + 5456
          8   com.apple.CoreSymbolicationDT 0x000000010372f9d2 CSCppSymbolOwnerData* create_symbol_owner_data_arch_specific<SizeAndEndianness<Pointer64, LittleEndian> >(CSCppSymbolOwner*, CSCppDsymData*) + 480
          9   com.apple.CoreSymbolicationDT 0x000000010372f4cb create_symbol_owner_data2(CSCppSymbolOwner*, CSCppDsymData*) + 70
          10  com.apple.CoreSymbolicationDT 0x000000010372f16e CSCppSymbolOwnerCache::create_symbol_owner_data(CSCppSymbolOwner*, CSCppDsymData*) + 602
          11  com.apple.CoreSymbolicationDT 0x000000010372eaed CSCppSymbolOwnerCache::data_for_symbol_owner(CSCppSymbolOwner*) + 45
          12  com.apple.CoreSymbolicationDT 0x000000010372ea96 CSCppSymbolOwner::data() + 24
          13  com.apple.CoreSymbolicationDT 0x0000000103751050 CSSymbolOwnerForEachStackFrameAtAddress + 50
          14  com.apple.dt.instruments.InstrumentsPlugIn 0x00000001029e4204 -[PFTPersistentSymbols _iterateStackFramesForAddress:inSymbolOwner:atTime:] + 256
          15  com.apple.dt.instruments.InstrumentsPlugIn 0x00000001029e45ba -[PFTPersistentSymbols _shadowSymbolForAddress:inSymbolicator:atTime:] + 200
          16  com.apple.dt.instruments.InstrumentsPlugIn 0x00000001029e0bc5 __49-[PFTPersistentSymbols learnSymbolsForBacktrace:]_block_invoke_2 + 101
          17  com.apple.dt.instruments.InstrumentsPlugIn 0x0000000102a79652 -[XRBacktraceTypeAdapter enumerateFramesInRange:options:block:] + 272
          18  com.apple.dt.instruments.InstrumentsPlugIn 0x00000001029e0afd __49-[PFTPersistentSymbols learnSymbolsForBacktrace:]_block_invoke + 111
          19  libdispatch.dylib             0x00007fff684d84de _dispatch_client_callout + 8
          20  libdispatch.dylib             0x00007fff684e4576 _dispatch_lane_barrier_sync_invoke_and_complete + 60
          21  com.apple.dt.instruments.InstrumentsPlugIn 0x00000001029e0a6f -[PFTPersistentSymbols learnSymbolsForBacktrace:] + 112
          22  com.apple.dt.instruments.InstrumentsPlugIn 0x00000001029c3045 __33-[XRCallstackFixupOracle invoke:]_block_invoke + 1363
          23  libdispatch.dylib             0x00007fff684d84de _dispatch_client_callout + 8
          24  libdispatch.dylib             0x00007fff684e4576 _dispatch_lane_barrier_sync_invoke_and_complete + 60
          25  com.apple.dt.instruments.InstrumentsPlugIn 0x00000001029c2ab8 -[XRCallstackFixupOracle invoke:] + 144
          26  com.apple.dt.InstrumentsAnalysisCore 0x000000010229fb4f -[XRAnalysisCoreObjectRegistry invokeOracleFunction:invocation:] + 63
          27  com.apple.dt.InstrumentsAnalysisCore 0x00000001021d4791 XRCLIPSBlackboardEngine::_cpCallstackFixup(environmentData*, udfContext*, udfValue*) + 337
          28  com.apple.dt.InstrumentsAnalysisCore 0x0000000102292b75 EvaluateExpression + 437
          29  com.apple.dt.InstrumentsAnalysisCore 0x0000000102185ebe AssertCommand + 766
          30  com.apple.dt.InstrumentsAnalysisCore 0x0000000102292b75 EvaluateExpression + 437
          31  com.apple.dt.InstrumentsAnalysisCore 0x00000001021a7c9b PrognFunction + 75
          32  com.apple.dt.InstrumentsAnalysisCore 0x0000000102292b75 EvaluateExpression + 437
          33  com.apple.dt.InstrumentsAnalysisCore 0x00000001022985ec EvaluateProcActions + 620
          34  com.apple.dt.InstrumentsAnalysisCore 0x00000001022b7d21 Run + 1985
          35  com.apple.dt.InstrumentsAnalysisCore 0x00000001021e5e5a invocation function for block in XRCLIPS::run(long long) + 26
          36  com.apple.dt.InstrumentsAnalysisCore 0x00000001021e5483 _runInCLocale(void () block_pointer) + 51
          37  com.apple.dt.InstrumentsAnalysisCore 0x00000001021d7cbe XRCLIPSBlackboardEngine::executeRules() + 238
          38  com.apple.dt.InstrumentsAnalysisCore 0x00000001021d7518 XRCLIPSBlackboardEngine::modelEventStream(XRAnalysisCoreReadCursor*, signed char _Atomic*) + 968
          39  com.apple.dt.InstrumentsAnalysisCore 0x00000001021a9b52 -[XRCLIPSModeler populateOutputTables:usingObserverations:parameters:yieldFlag:] + 50
          40  com.apple.dt.InstrumentsAnalysisCore 0x00000001022a7b82 -[XRAnalysisCoreModelingExecutor executeStopOnItinerary:] + 3650
          41  com.apple.dt.instruments.DVTInstrumentsUtilities 0x0000000101f938e6 -[XRMobileAgent(XRMobileAgentStop) hello] + 253
          42  com.apple.dt.instruments.DVTInstrumentsUtilities 0x0000000101f8fe73 __51-[XRFrameActivityManager _reevaluateArrivingAgent:]_block_invoke + 105
          43  com.apple.dt.instruments.DVTInstrumentsUtilities 0x0000000101f96d57 xray::scheduler::ActivityManager::_processActivity(void*) + 115
          44  libdispatch.dylib             0x00007fff684d84de _dispatch_client_callout + 8
          45  libdispatch.dylib             0x00007fff684da690 _dispatch_continuation_pop + 414
          46  libdispatch.dylib             0x00007fff684d9d8e _dispatch_async_redirect_invoke + 703
          47  libdispatch.dylib             0x00007fff684e67e5 _dispatch_root_queue_drain + 326
          48  libdispatch.dylib             0x00007fff684e6f25 _dispatch_worker_thread2 + 92
          49  libsystem_pthread.dylib       0x00007fff6873171d _pthread_wqthread + 220
          50  libsystem_pthread.dylib       0x00007fff687315c3 start_wqthread + 15
          
          Thread 10 crashed with X86 Thread State (64-bit):
            rax: 0x000000010f377fe0  rbx: 0x000000010f377fe0  rcx: 0x000000000000003c  rdx: 0x0000000000001fe0
            rdi: 0x00007ff066caae40  rsi: 0x0000000000000000  rbp: 0x000070000dc7c980  rsp: 0x000070000dc7c970
             r8: 0x0000000006a99c14   r9: 0x0000000006a99c16  r10: 0x00000001037b60f8  r11: 0x0000000000000206
            r12: 0x00007ff066cab5e0  r13: 0x000000000017efe0  r14: 0x000070000dc7ca08  r15: 0x000000000017efe0
            rip: 0x0000000103752956  rfl: 0x0000000000010202  cr2: 0x000000010f37801a
            
          Logical CPU:     2
          Error Code:      0x00000004 (no mapping for user data write)
          Trap Number:     14
          
          • Re: Instruments crashes on macOS Catalina
            cwoolf Apple Staff Apple Staff (40 points)

            We think that should be fixed in Xcode 11.2.  Let us know if you see this again after that version.